路由器配成桥的实例

王朝other·作者佚名  2008-05-31
宽屏版  字体: |||超大  

Router 1

Current configuration:

!

version 11.2

service udp-small-servers

service tcp-small-servers

!

hostname Router1

no ip routing

!

enable passWord foo

!

username Router2 password bar

username Router3 password bar

isdn switch-type basic-5ess

!

interface Ethernet0

ip address 10.1.1.1 255.255.255.0

media-type 10BaseT

bridge-group 1

!

interface BRI0

no ip address

no ip mroute-cache

encapsulation ppp

no ip route-cache

dialer pool-member 1

ppp authentication chap

!

interface Dialer0

no ip address

no ip mroute-cache

encapsulation ppp

no ip route-cache

dialer remote-name Router2

dialer string 5552323

dialer pool 1

dialer-group 2

no fair-queue

no cdp enable

ppp authentication chap

bridge-group 1

!

interface Dialer1

no ip address

no ip mroute-cache

encapsulation ppp

no ip route-cache

dialer remote-name Router3

dialer string 5553434

dialer pool 1

dialer-group 2

no cdp enable

ppp authentication chap

bridge-group 1

!

dialer-list 2 protocol bridge permit

bridge 1 protocol ieee

end

Router 2

Current configuration:

!

version 11.2

service udp-small-servers

service tcp-small-servers

!

hostname Router2

no ip routing

!

enable password foo

!

username Router1 password bar

isdn switch-type basic-5ess

!

interface Ethernet0

ip address 10.1.1.2 255.255.255.0

no ip route-cache

bridge-group 1

!

interface BRI0

no ip address

encapsulation ppp

no ip route-cache

dialer pool-member 1

!

interface Dialer0

no ip address

encapsulation ppp

no ip route-cache

dialer remote-name Router1

dialer string 5551212

dialer pool 1

dialer-group 2

no fair-queue

no cdp enable

ppp authentication chap

bridge-group 1

!

dialer-list 2 protocol bridge permit

bridge 1 protocol ieee

!

end

Router 3

Current configuration:

!

version 11.2

service udp-small-servers

service tcp-small-servers

!

hostname Router3

no ip routing

!

username Router1 password bar

isdn switch-type basic-5ess

!

interface Ethernet0

ip address 10.1.1.3 255.255.255.0

no ip route-cache

bridge-group 1

!

interface BRI0

no ip address

encapsulation ppp

no ip route-cache

dialer pool-member 1

ppp authentication chap

!

interface Dialer0

no ip address

encapsulation ppp

no ip route-cache

dialer remote-name Router1

dialer string 5551212

dialer pool 1

dialer-group 2

no cdp enable

ppp authentication chap

bridge-group 1

!

dialer-list 2 protocol bridge permit

bridge 1 protocol ieee

!

end

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有