cisco路由器宽带拨号pppoe

wKioL1PDeceDu0OrAAC2-3QmVNI107.png

(config) # vpdn enable

(config) # vpdn-group pppoe

(config-vpdn) #accept-dialin

(config-vpdn-acc-in) # protocol pppoe


(config) # inter f0/0

(config-if) # no ip address

(config-if) # pppoe enable

(config-if) # pppoe-client dial-pool-number 1

(config-if) # inter dialer 1

(config-if) # ip add negotiated

(config-if) # ip nat outside

(config-if) # encupsulation ppp

(config-if) # dialer pool 1

(config-if) # dialer-group 1

(config-if) # ppp authentication pap callin

(config-if) # ppp pap sent-username XXXXXX password 0 XXXXXX

(config-if) # exit


(config) # access-list 1 permit any

(config) # ip nat inside source list 1 interface dialer 1 overload

(config) # ip router 0.0.0.0 0.0.0.0 dialer 1


(config) # inter f0/1

(config) # ip nat inside

(config) #ip add X.X.X.X 255.255.255.0

(config) # no shut




你可能感兴趣的:(Cisco,路由器,pppoe,宽带拨号)