Cisco PPPOE

De BlaxWiki
Aller à la navigationAller à la recherche
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname def2
!
no logging buffered
enable secret 5 $1$RZWI$pjzcHVwhltKJ3c32pda3/0
enable password 7 03105E1812
!
username Router password 7 104D054A0B430659
ip subnet-zero
no ip domain lookup
ip domain name def2
!
ip audit notify log
ip audit po max-events 100
vpdn enable
!
vpdn-group 1
 request-dialin
  protocol pppoe
!
!
!
!
!
interface Ethernet0
 ip address 192.168.0.1 255.255.255.0
 ip nat inside
 ip tcp adjust-mss 1452
 load-interval 30
 no cdp enable
 hold-queue 32 in
 hold-queue 100 out
!
interface Ethernet1
 no ip address
 ip tcp adjust-mss 1452
 load-interval 30
 pppoe enable
 pppoe-client dial-pool-number 1
 no cdp enable
!
interface Dialer0
 no ip address
 encapsulation ppp
 no cdp enable
 ppp authentication pap callin
!
interface Dialer1
 ip address negotiated
 ip mtu 1492
 ip nat outside
 encapsulation ppp
 ip tcp adjust-mss 1452
 dialer pool 1
 dialer remote-name redback
 dialer-group 1
 ppp authentication pap chap callin
 ppp chap hostname 0140280226@claranet.fr
 ppp chap password 7 0507033C2959191118
 ppp pap sent-username 0140280226@claranet.fr password 7 121500241A1E5B1C2B
 ppp ipcp dns request
 ppp ipcp wins request
!
ip nat inside source list 102 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
!
!
access-list 102 permit ip 192.168.0.0 0.0.0.255 any
dialer-list 1 protocol ip permit
!
line con 0
 exec-timeout 120 0
 no modem enable
 stopbits 1
line aux 0
 stopbits 1
line vty 0 4
 exec-timeout 120 0
 login local
 length 80
 transport input ssh
!
scheduler max-task-time 5000
end