【2600路由器连接Wic-1ADSL PPPoA配置实例】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 10.92.1.182 255.255.255.0
ip nat inside
!--- DSL interface.
!
interface ATM0
no ip address
no atm ilmi-keepalive
bundle-enable
dsl operating-mode auto
hold-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 (1492PPPoE 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 of authentication to use.
!--- To change from PPP CHAP to PPP PAP,
!--- replace the following three lines:
!--- ppp authentication chap callin
!--- ppp chap hostname
!--- ppp chap password
!--- with the following two lines:
!--- ppp authentication pap callin
!--- ppp pap sent-username password
!--- For NAT we are going to overload on the Dialer1
!--- interface and add a default route out
!--- since dialer ip address can change.
ip nat inside source list 1 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 dialer1
no ip http server
!
access-list 1 permit 10.92.1.0 0.0.0.255
推荐阅读
- 路由器-路由器以及VPN Client之间的VPN:
- 路由器和路由器之间的VPN配置:
- Cisco路由器及交换机安全加固
- 一 路由器安全配置速查表
- DDoS Cisco路由器上防止分布式拒绝服务攻击的一些建议
- CISCO路由器10M接口做Trunk
- 二 路由器安全配置速查表
- 三 路由器安全配置速查表
- CISCO学习问题之Cisco 路由器中有关ip helper-address的问题
- 发现路由器转发故障的BFD