PPPoE配置实例(单以太端口260

PPPoE配置实例(单以太端口2600路由器接ADSL Modem)

version 12.2

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname Zgcessc.com

!

!

ip subnet-zero

!

!

!

vpdn enable

!

vpdn-group pppoe

request-dialin

protocol pppoe

!

!

!

voice call carrier capacity active

!

!

!

!

!

!

!

!

!

mta receive maximum-recipients 0

!

!

!

!

interface FastEthernet0/0

ip address 192.168.0.1 255.255.255.0

ip nat inside

duplex auto

speed auto

pppoe enable

pppoe-client dial-pool-number 1

!

interface Serial0/0

no ip address

shutdown

no fair-queue

!

interface Dialer1

mtu 1492

bandwidth 1024

ip address negotiated

ip nat outside

encapsulation ppp

no ip mroute-cache

dialer pool 1

dialer-group 1

no cdp enable

ppp authentication pap callin

ppp pap sent-username adsl_user password 0 adsl_pwd

!

ip nat inside source list 1 interface Dialer1 overload

ip classless

ip route 0.0.0.0 0.0.0.0 Dialer1 permanent

no ip http server

ip pim bidir-enable

!

!

access-list 1 permit any

dialer-list 1 protocol ip permit

!

call rsvp-sync

!

!

mgcp profile default

!

dial-peer cor custom

!

!

!

!

line con 0

line aux 0

line vty 0 4

login

!

!

end