商讯信箱
用户名: @
密  码:   注册|忘记密码
登录
个人用户经销商
信箱 E杂志
您的位置:首页 > 网络专区 > 正文

路由安装解析:H3C网络排错—RIP路由协议(4)

作者:http://www.chinaunix.net ssffzz1  2008-05-09

  概述:

  RIP 协议,是一个距离矢量路由协议,采用跳数作为到达目的网络的度量标识,最大跳数为16 跳,即大于等于16 跳网络即为不可达。目前有RIP V1 和RIP V2 两个版本。由于最大跳数的限制,以及协议的其他原因,RIP 协议不适合用于大型网络。

  路由安装疑难:

  路由器未选择期望的路由:


  如图 5:路由器 A B 之间有2 条链路,一条速率为2M ,另一条为9.6k。A B 之间运行RIP路由协议,要求低速链路在主链路断开后作为备份。配置如下:

  A:
  interface Aux0
  async mode protocol
  link-protocol ppp
  ip address 10.0.0.5 255.255.255.252
  #
  interface Serial0/0
  baudrate 2048000
  link-protocol ppp
  ip address 10.0.0.1 255.255.255.252
  #
  interface LoopBack0
  ip address 172.16.0.1 255.255.0.0
  #
  rip
  network 0.0.0.0

  B:
  interface Aux0
  async mode protocol
  link-protocol ppp
  ip address 10.0.0.6 255.255.255.252
  #
  interface Serial0/0
  clock DTECLK1
  link-protocol ppp
  ip address 10.0.0.2 255.255.255.252
  #
  interface LoopBack0
  ip address 192.168.0.1 255.255.255.0
  #
  rip
  network 0.0.0.0

  故障:发现两端都没有吧低速链路作为备份,而是作为了负载均衡链路。

  [A-rip]dis rip routing
  RIP routing table: public net
  A = Active I = Inactive G = Garbage collection
  C = Change T = Trigger RIP
  Destination/Mask Cost NextHop Age SourceGateway Att
  192.168.0.0/24 1 10.0.0.2 19s 10.0.0.2 A
  10.0.0.6 19s 10.0.0.6 A
  [B]dis rip routing
  RIP routing table: public net
  A = Active I = Inactive G = Garbage collection
  C = Change T = Trigger RIP
  Destination/Mask Cost NextHop Age SourceGateway Att
  172.16.0.0/16 1 10.0.0.1 28s 10.0.0.1 A
  10.0.0.5 28s 10.0.0.5 A

 

1 2
【内容导航】
第1页: 故障描述 第2页: 故障分析
©版权所有。未经许可,不得转载。
[责任编辑:单静]