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 (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 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
- (74篇文章)ADSL应用
- (226篇文章)ADSL共享篇
- (250篇文章)如何用ADSL上网——单机ADSL上网安
- (1251篇文章)DSL协议
- (253篇文章)ADSL应用指南
- (140篇文章)ADSL路由问题
- (1361篇文章)ADSL应用面面俱到
- (14715篇文章)路由安全配置
- (1930篇文章)Adsl共享上网
- (1251篇文章)教你使用ADSL
- 04-23感受真实的虚拟机—Virtual Server王者归来
- 04-23认识各大网络银行及实战使用
- 04-23微软即将发布新一代iSCSI initiator
- 04-23入门基础-VC网络编程入门
- 03-13小窍门:简单个性化我的电脑
- 03-13如何让电脑硬盘运行更快
- 03-13诺基亚将猛攻研发 称未来手机终将取代电脑
- 03-13给别人电脑永远设置个别人删不掉的管理员用户
- 03-13帝国时代3-普鲁士快攻电脑小心得 aoe
- 03-13“守财奴”如何升级电脑?
