首页 > 学院 > 网络通信 > 正文

路由器配成桥的实例

2019-11-05 00:41:10
字体:
来源:转载
供稿:网友

  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


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表