Monday, January 07, 2008

ADSL over Ethernet (Modem bridge and Router dial)

* ADSL over Ethernet. The ADSL modem will be acting as bridge, and the router CE will make a call via its Ethernet port. Have a try !!!!

RouterX#sh run
Building configuration...

Current configuration : 1480 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname RouterX
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$OGqn$WnmL8LrQMH6gRxNzTiqTk1
enable password cisco
!
no aaa new-model
!
resource policy
!
no network-clock-participate slot 1
no network-clock-participate wic 0
ip subnet-zero
ip cef
!
!
no ip dhcp use vrf connected
!
!
no ip ips deny-action ips-interface
vpdn enable
vpdn ip udp ignore checksum
!
vpdn-group 1
request-dialin
protocol pppoe

!
!
no ftp-server write-enable
!
!
!
!
!
no crypto isakmp ccm
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1

!
!
interface Dialer1
ip address negotiated
ip mtu 1492
encapsulation ppp
no ip mroute-cache
dialer pool 1
dialer-group 1
ppp authentication chap callin
ppp chap hostname abc@test.com.my
ppp chap password 0 abc
ppp pap sent-username abc@test.com.my password 0 abc

!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
no ip http server
no ip http secure-server
!
access-list 1 permit any
dialer-list 1 protocol ip permit

!
!
control-plane
!
!
!
!
end

Sunday, January 06, 2008

ADSL backup


version 12.3
!
hostname ADSL BACKUP
!
ip subnet-zero
!
vpdn enable
!
vpdn-group pppoe
!
interface FastEthernet0/0
description LAN NETWORK
ip address 172.16.10.1 255.255.255.0
ip nat inside
ip tcp adjust-mss 1452
duplex auto
speed auto
!
interface Serial0/0/0
description WAN – PRIMARY LINK
ip address 58.139.38.58 255.255.255.252
encapsulation ppp
clockrate 2000000
!
interface ATM0/1/0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0/1/0.1 point-to-point
pvc 0/40
encapsulation aal5snap
pppoe-client dial-pool-number 1
!
!
interface Dialer1
description WAN – ADSL BACKUP LINK
ip address negotiated
encapsulation ppp
dialer pool 1
dialer persistent
dialer-group 1
no cdp enable
ppp authentication pap callin
ppp pap sent-username backup1@dsl password dsltest
ppp multilink

!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0/0
ip route 0.0.0.0 0.0.0.0 Dialer1 230
ip nat inside source list 1 interface Dialer1 overload
!
!
end