设为首页收藏本站language 语言切换
查看: 930|回复: 0
收起左侧

ADSL 非固定IP 配置

[复制链接]
发表于 2013-12-5 12:01:56 | 显示全部楼层 |阅读模式
这个配置比起原来的有固定ip 地址的配置要难很多,要考虑到方方面面的东西,在这里,大家可以少走弯
路了:
vpdn enable
no vpdn logging
!
vpdn-group pppoe
更多资源请关注鸿鹄论坛:http://bbs.hh010.com
request-dialin
protocol pppoe
!
interface Ethernet0
no shut
ip address <ip address> <subnet mask>
ip adjust-mss 1452
ip nat inside
no ip directed-broadcast
!
interface ATM0
no shut
no ip address
no ip directed-broadcast
no atm ilmi-keepalive
bundle-enable
!
interface ATM0.1 point-to-point
no ip directed-broadcast
pvc <vpi/vci>
pppoe-client dial-pool-number 1
!
!
interface Dialer1
ip address negotiated
mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
ppp chap hostname <username>
ppp chap password <password>
ppp pap sent-username <username> password <password>
!
ip nat inside source list 1 interface Dialer1 overload
!
ip classless
ip route 0.0.0.0 0.0.0.0 dialer1
access-list 1 permit <ip address of ethernet0> 0.0.255.255




                               
登录/注册后可看大图
该贴已经同步到 huangjun6920的微博
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-2 16:08 , Processed in 0.056818 second(s), 12 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表