|
|
DSL router configuration
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Ali
!
boot-start-marker
boot-end-marker
!
no logging console
enable password cisco
!
aaa new-model
!
!
!
aaa session-id common
!
!
dot11 syslog
!
ip dhcp pool LAN
network 192.168.1.0 255.255.255.0
default-router 192.168.1.254
dns-server 212.76.68.200 212.76.68.201
!
ip cef
!
ip name-server 212.76.68.200
ip name-server 212.76.68.201
!
!
username ali password 1234
!
!
archive
log config
hidekeys
!
!
!
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 0/35
pppoe-client dial-pool-number 1
!
dsl operating-mode auto
!
interface FastEthernet0
no keepalive
!
interface FastEthernet1
no keepalive
!
interface FastEthernet2
no keepalive
!
interface FastEthernet3
!
interface Vlan1
ip address 192.168.1.254 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Dialer1
ip address negotiated
ip mtu 1442
ip nat outside
ip virtual-reassembly
encapsulation ppp
ip tcp adjust-mss 1394
dialer pool 1
dialer remote-name redback
dialer-group 1
ppp authentication pap chap callin
ppp chap hostname [email protected]
ppp chap password 7 123
ppp pap sent-username [email protected] password 7 123
ppp ipcp dns request
ppp ipcp wins request
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer1
!
no ip http server
no ip http secure-server
ip nat inside source list 102 interface Dialer1 overload
!
access-list 102 permit ip 192.168.1.0 0.0.0.255 any
!
control-plane
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
!
scheduler max-task-time 5000
end