中国青基会
RSS
热门关键字:  None  linux+moodle安装  mac  rhel5  199
当前位置 : Nixsky>网管技术>路由>列表

路由器配成桥的实例

来源: 作者: 时间:2007-03-26 点击:
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
最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册