最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

CISCO路由器连接ADSL之PPPoE配置

来源:动视网 责编:小采 时间:2020-11-09 08:22:27
文档

CISCO路由器连接ADSL之PPPoE配置

CISCO路由器连接ADSL之PPPoE配置:CISCO 路由器 连接 ADSL之PPPoE 配置 Cisco 路由器 连接 ADSL modem的PPPoE 配置 : hostname bjsite ! ip subnet-zero no ip domain-lookup ! vpdn enable no vpdn logging ! vpdn-group 1 request-dia
推荐度:
导读CISCO路由器连接ADSL之PPPoE配置:CISCO 路由器 连接 ADSL之PPPoE 配置 Cisco 路由器 连接 ADSL modem的PPPoE 配置 : hostname bjsite ! ip subnet-zero no ip domain-lookup ! vpdn enable no vpdn logging ! vpdn-group 1 request-dia


CISCO 路由器 连接 ADSL之PPPoE 配置 Cisco 路由器 连接 ADSL modem的PPPoE 配置 : hostname bjsite ! ip subnet-zero no ip domain-lookup ! vpdn enable no vpdn logging ! vpdn-group 1 request-dialin protocol pppoe ! interface Ethernet0/0 ip addre


CISCO路由器连接ADSL之PPPoE配置

Cisco路由器连接ADSL modem的PPPoE配置:

hostname bjsite

!

ip subnet-zero

no ip domain-lookup

!

vpdn enable

no vpdn logging

!

vpdn-group 1

request-dialin

protocol pppoe

!

interface Ethernet0/0

ip address 192.168.0.1 255.255.255.0

ip nat inside

no ip mroute-cache

!

!

!

!

interface Ethernet0/1

no ip address

pppoe enable

pppoe-client dial-pool-number 1

! www.2cto.com

interface Dialer1

ip address negotiated

ip nat outside

ip mtu 1492

encapsulation ppp

no ip mroute-cache

dialer pool 1

dialer-group 1

ppp authentication pap

ppp pap sent-username dg48907653@163.gd password xxxxxxxx

!

ip classless

no ip http server

!

dialer-list 1 protocol ip permit

ip nat inside source list 1 interface Dialer1 overload

ip route 0.0.0.0 0.0.0.0 dialer1

access-list 1 permit 192.168.0.0 0.0.0.255

!

line con 0

exec-timeout 0 0

transport input none

line vty 0 4

login

!

end

Cisco路由器连接ADSL WIC卡之PPPoE配置:

vpdn-group pppoe

request-dialin

!--- we are the PPPoE client requesting to establish

!--- a session with the aggregation unit (6400 NRP).

protocol pppoe

!

www.2cto.com

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

www.2cto.com

!

!--- 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

www.2cto.com

!--- 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

文档

CISCO路由器连接ADSL之PPPoE配置

CISCO路由器连接ADSL之PPPoE配置:CISCO 路由器 连接 ADSL之PPPoE 配置 Cisco 路由器 连接 ADSL modem的PPPoE 配置 : hostname bjsite ! ip subnet-zero no ip domain-lookup ! vpdn enable no vpdn logging ! vpdn-group 1 request-dia
推荐度:
标签: 设置 连接 路由器
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top