当前位置:Gxlcms > mysql > Cisco2600接入adsl的两种方式配置

Cisco2600接入adsl的两种方式配置

时间:2021-07-01 10:21:17 帮助过:29人阅读

一.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-en

  一.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

人气教程排行