- 6
- 0
- 约2.5千字
- 约 6页
- 2015-08-23 发布于河南
- 举报
hostname pooh ip host rund 95 ! ip subnet-zero no ip domain-lookup ! vpdn enable no vpdn logging ! vpdn-group 1 request-dialin protocol pppoe ! ! interface Ethernet0/0 ip address 2 ip nat inside no ip mroute-cache ! ! interface Ethernet0/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 cisco password cisco1 ! ip classless no ip http server ! dialer-list 1 protocol ip permit ip nat inside source list 1 interface Dialer1 overloadip route dialer1 access-list 1 permit 55 ! line con 0 exec-timeout 0 0 transport input none line vty 0 4 login password ww ! end
PPPoA配置实例 (2600路由器连接Wic-1ADSL)
vpdn enable no vpdn logging
!--- default.
! vpdn-group pppoe request-dialin
!--- we are the PPPoE client requesting to establish !--- a session with the aggregation unit (6400 NRP).
protocol pppoe !
!--- internal Ethernet network.
! interface FastEthernet0 ip address 82 ip nat inside
!--- DSL interface.
! interface ATM0 no ip address no atm ilmi-keepalivebundle-enabledsl operating-mode autohold-queue 224 in
!--- All defaults.
?
!--- PPPoE runs on top of AAL5SNAP, but the !--- encap aal5snap command is not used.
! interface ATM0.1 point-to-point pvc 1/1 pppoe-client dial-pool-number 1
!--- pvc 1/1 is an example value that must be changed !--- to match the value used by the ISP.
!
?
!--- The PPPoE client code ties into a dialer interface upon !--- which a virtual-access interface is cloned.
! interface Dialer1 ip address negotiated ip mtu 1492
!--- Ethernet MTU default = 1500 (1492 + PPPoE headers = 1500)
ip nat outside encapsulation ppp dialer pool 1
!--- Ties to atm interface.
ppp authentication chap callin ppp chap hostname ppp chap password !
!--- The ISP will instruct you regarding !--- the type o
原创力文档

文档评论(0)