扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
一.WIC-ADSL 卡接线路
vpdn enable
no vpdn logging
!
vpdn-group pppoe
request-dialin
protocol pppoe
!
inter f0/0
ip add 192.168.0.1 255.255.255.0
ip nat inside
ip tcp adjust-mss 1450
!
inter ATM0
no ip address
no atm ilmi-keepalive
bundle-enable
dsl operating-mode auto
hold-queue 224 in
interface ATM0.1 POINT-TO-POINT
pvc 8/35 此处的pvc值8/35要根据具体情况而定,咨询电信
pppoe-client dial-pool-number 1
!
inter dialer1
ip address negotiated
ip nat outside
encap ppp
dialer pool 1
ppp authen pap callin
ppp pap sent xxxx pass xxxx 用户名密码
!
ip nat inside source list 1 interface dialer1 overload
ip calssess
ip route 0.0.0.0 0.0.0.0 dialer1
no ip http server
!
access-list 1 permit 192.168.0.0 0.0.0.255
二.或者利用另外一个以太网口 接到 ADSL MODEM再接线路
hostname xxxx
ip name-server x.x.x.x dns的地址
vpdn enable
vpdn-group pppoe
request-dialin
protocol pppoe
inter f 0/0
ip add 192.168.0.1 255.255.255.0
ip nat inside
inter f 0/1
no ip address
pppoe enable
pppoe-client dial-pool-number 1
inter dialer 1
mut 1492
ip address negotiated
ip nat outside
encap ppp
no ip mroute-cache
dialer pool 1
dialer-group 1
no cdp enable
ppp authen pap callin
ppp pap sent xxx pass xxx 用户名密码
ip nat inside source list 1 inter dialer 1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 dialer1 permanent
no ip http server
ip pim bidir-enable
access-list 1 permit any
dialer-list 1 protocol ip permit
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者