1

网络协议-PPPoE拨号

来源:网络 作者:柠栀 0

网络协议-PPPoE拨号

4.5PPPoE拨号

【Router】

!

适用版本vrp1.74

[Router]

dialer-rule 1 ip permit

!

[Router]

acl 1 match-order auto

[Router-acl101]

rule normal permit source 192.168.1.0 0.0.0.255

[Router-acl101]

rule normal deny source any

!

[Router]

interface Ethernet0

[Router-Ethernet0]

tcp mss 1024

[Router-Ethernet0]

ip address 192.168.1.1 255.255.255.0

!

[Router]

interface Ethernet1

[Router-Ethernet1]

pppoe-client dial-bundle-number 1

!

[Router]

interface Dialer1

[Router-Dialer1]

link-protocol ppp

[Router-Dialer1]

tcp mss 1024

[Router-Dialer1]

ppp pap local-user adsl passWord simple test

[Router-Dialer1]

ip address ppp-negotiate

[Router-Dialer1]

dialer bundle 1

[Router-Dialer1]

dialer number 169

[Router-Dialer1]

nat outbound 1 interface

!

quit

[Router]

ip route-static 0.0.0.0 0.0.0.0 Dialer 1 preference 60

!

『注重』

通常路由器做Adsl拨号,会结合nat功能,为内网提供上internet服务

;;附件网络协议-pppoe拨号.doc