[ 永远的UNIX::UNIX技术资料的宝库 ]

首页 > 网管技术 > 路由技术 > 正文
 

路由器配成桥的实例

来源:cisco.com (2006-07-07 11:06:38)

 

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

(http://www.fanqiang.com)



 
 相关文章

 

★  感谢所有的作者为我们学习技术知识提供了一条捷径  ★
www.fanqiang.com