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

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

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

  概述:

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

  路由安装疑难:

  缺失的路由条目-NBMA 网络未关闭水平分割:

  如图 4:中间的帧中继交换机用一台AR28 来模拟,相关配置如下:(此处FR-SWITCH 提供了2 种配置交换的方法,H3C 的路由器不支持FR svc,因此2 种配置方法大同小异。

  FR-SWITCH-1:
  fr switching
  #
  interface Serial0/0
  link-protocol fr
  fr interface-type dce
  fr dlci-switch 102 interface Serial2/0 dlci 201
  fr dlci-switch 103 interface Serial3/0 dlci 301
  ip address dhcp-alloc
  #
  interface Serial2/0
  link-protocol fr
  fr interface-type dce
  fr dlci-switch 201 interface Serial0/0 dlci 102
  #
  interface Serial3/0
  link-protocol fr
  fr interface-type dce
  fr dlci-switch 301 interface Serial0/0 dlci 103

  FR-SWITCH-2:
  fr switching
  #
  interface Serial0/0
  link-protocol fr
  fr interface-type dce
  fr dlci 102
  fr dlci 103
  ip address dhcp-alloc
  #
  interface Serial2/0
  link-protocol fr
  fr interface-type dce
  fr dlci 201
  #
  interface Serial3/0
  link-protocol fr
  fr interface-type dce
  fr dlci 301
  #
  fr switch r1-to-r2 interface Serial0/0 dlci 102 interface Serial2/0 dlci 201
  fr switch r1-to-r3 interface Serial0/0 dlci 103 interface Serial3/0 dlci 301
  #
  R1:
  interface Serial0/0
  clock DTECLK1
  link-protocol fr
  ip address 10.0.0.1 255.255.255.0
  #
  interface LoopBack0
  ip address 1.1.1.1 255.255.255.255
  #
  rip
  network 10.0.0.0
  network 1.0.0.0
  R2:
  interface Serial0/0
  clock DTECLK1
  link-protocol fr
  ip address 10.0.0.2 255.255.255.0
  #
  interface LoopBack0
  ip address 172.16.0.1 255.255.0.0
  #
  rip
  network 10.0.0.0
  network 172.16.0.0
  R3:
  interface Serial0/0
  clock DTECLK1
  link-protocol fr
  ip address 10.0.0.3 255.255.255.0
  #
  interface LoopBack0
  ip address 192.168.0.1 255.255.255.0
  #
  rip
  network 10.0.0.0
  network 192.168.0.0

  故障现象:R2 R3 分别缺失到对方网段的路由条目:

  [R2]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
  1.0.0.0/8 1 10.0.0.1 3s 10.0.0.1 A
  [R3]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
  1.0.0.0/8 1 10.0.0.1 18s 10.0.0.1 A

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