Home  >  Article  >  Database  >  Cisco 2600接入adsl的两种方式配置

Cisco 2600接入adsl的两种方式配置

WBOY
WBOYOriginal
2016-06-07 15:06:171188browse

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn