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

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

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

  R1#

  03:01:23:RIP:received v2updatefrom 172.16.123.2 on Serial1

  03:01:23: 172.16.123.8/30 via 0.0.0.0 in 1 hops

  03:01:23: 172.18.2.0/28 via 0.0.0.0 in 1 hops

  03:01:23: 172.18.3.0/24 via 0.0.0.0 in 2 hops

  R1#conft

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

  R1(config)#router rip

  R1 (config-router)#passive-mterface default

  R1(config-router#^Z

  R1#

  Term_Server>2

  [Resuming connection 2 to R2 ... ]

  R2#cle ip route *

  R2#

  Term_Server>3

  [Resuming connection 3 to R3 ... ]

  R3#cle ip route *

  R3#

  Term_Server>1

  [Resuming connection 1 to R1... ]

  R1#sh ip route rip

  172.16.0.0/30 is subnetted,3 subnets

  R 172.16.123.8[120/1]via 172.16.123.2,00:00:09,Serial1

  [120/1]via 172.16.123.6,00:00:17,Serial0

  172.18.0.0/16 is variably subnetted,3 subnets,2 masks

  R 172.18.2.0/28[120/1] via 172.16.123.2,00:00:17,Serial0

  R 172.18.3.0/24[120/1] via 172.16.123.6,00:00:09,Serial1

  R1#

  Term_Server>2

  [Resuming connection 2 to R2...]

  R2#

  R2#sh ip route rip

  172.16.0.0/30 is subnetted,3 subnets

  R 172.16.123.4[120/1]via 172.16.123.10,00:00:24,Serial1

  172.18.0.0/16 is variably subnetted,2 subnets,2 masks

  R 172.18.3.0/24[120/1] via 172.16.123.10,00:00:24,Serial1

  R2#

  Term_Server>3

  [Resuming connection 3 to R3...]

  R3#sh ip route rip

  172.16.0.0/30 is subnetted,3 subnets

  R 172.16.123.0120/1] via 172.16.123.9,00:00:26,Serial1

  172.18.0.0/16 is variably subnetted,2 subnets,2 masks

  R 172.18.2.0/28[120/1] via 172.16.123.9,00:00:26,Serial1

责编:豆豆技术应用

正在加载评论...