vpdn enable
no vpdn logging
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
interface fastEthernet0/0
ip address 10.10.1.254 255.255.255.0
ip nat inside
no ip mroute-cache!
interface fastEthernet0/1
no ip address
pppoe enable
pppoe-client dial-pool-number 1
interface Dialer1
ip address negotiated
ip nat outside
ip mtu 1492
encapsulation ppp
no ip mroute-cache
dialer pool 1
dialer-group 1
ppp authentication pap
ppp pap sent-username 账号 password 密码
!
ip classless
no ip http server
dialer-list 1 protocol ip permit
ip nat inside source list 1 interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 dialer1
access-list 1 permit 10.10.0.0 0.0.0.255
发表评论