使用RIP协议处理不连续的子网和VLSM

http://tech.ddvip.com   2007年09月11日    社区交流 收藏本文

内容摘要:在本实验中演示使用RIP协议处理不连续的子网和VLSM的情况。

  R1#conft

  Enter configuration commands, one per line. End with CNTL/Z.

  R1(config)#router rip

  R1(config-router)passive-interface ?

  Ethernet IEEE 802.3

  Null Null interface

  SerialSerial

  defaultSuppres s routing updates. on all interfaces

  R1 (config-router)passive-interface e0

  R1(config-router)#passive-interface s0

  R1(config-router#^Z

  R1#debugiprip

  RIP protocol debugging is on

  R1#

  03:00:54: RIP: received v2updatefrom 172.16.123.2 on Serial0

  03:00:54: 172.16.123.8/30 via 0.0.0.0 in 1 hops

  03:00:54: 172.18.2.0/28 via 0.0.0.0 in 1 hops

  03:00:54: 172.18.3.0/24 via 0.0.0.0 in 2 hops

  R1#

  3:00:56:RIP:sending v2 flashupdateto 224.0.0.9 via Serial1(172.16.123.5)

  03:00:56: RIP: build flashupdateentries

  03:00:56: 172.18.2.0/28 via 0.0.0.0, metric 2, tag 0

  R1#

  03:01:12:RIP:received v2updatefrom 172.16.123.6 on Serial1

  03:01:12: 172.16.123.8/30 via0.0.0.0 in 1 hops

  03:01:12: 172.18.2.0/28 via 0.0.0.0 in 2 hops

  03:01:12: 172.18.3.0/24 via 0.0.0.0 in 1 hops

  R1#

  03:01:17:RIP:sending v2 flashupdateto 224.0.0.9 via Serial1(172.16.123.5)

  03:01:17: RIP: buildupdateentries

  03:01:17: 172.16.123.0/30 via 0.0.0.0, metric 1, tag 0

  03:01:17: 172.18.1.0/28 via 0.0.0.0,. metric 1,tag 0

  03:01:17: 172.18.2.0/28 via 0.0.0.0, metric 2, tag 0

责编:豆豆技术应用

正在加载评论...