RIPV2的实现(一)

RIPV2 实验报告
: 实验要求
1.    v2 vlsm ,设计正确的 ip 地址,不等长的子网掩码。
2.      设计三个路由器构成的 4 个子网接口。
3.    正确配置 RIPV2 ,实现网络互联让每一个路由器学习的完整的路由表。
: 实验的目标
1.    设计出每一个子网的 ip 地址。
2.    每个子网之间可一相互通信。
3.    每一个路由器之间相互学习到路由表。
: 实验拓扑结构图
  
: 实验过程
1.    ip 地址的设计
pc0 192.168.1.2/26
routera :
   fa0/0 192.168.1.1/26
   s1/0  192.168.1.117/29
routerb:
  fa0/0 192.168.1.67/27
  s1/0 192.168.1.126/30
 pc1 192.168.1.68/27
routerc :
   fa0/0 192.168.1.100/28
   s1/0 192.168.1.125/30
  pc2 192.168.1.102/28
2.    routera 的配置
接口 fa0/0 的配置
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host routera
routera(config)#int fa0/0
routera(config-if)#ip add 192.168.1.1 255.255.255.192
routera(config-if)#no shut
 
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
  检测 routera 是否与 pc0 之间的正常通信
routera#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 33/51/63 ms
接口 s1/0 的配置
Routera(confing)#int s1/0
routera(config-if)#clock rate 64000
routera(config-if)#ip add 192.168.1.117 255.255.255.248
routera(config-if)#no shut
 
%LINK-5-CHANGED: Interface Serial1/0, changed state to down
routera(config-if)#end
检测 routera routerb 之间的通信
routera#ping 192.168.1.118
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.118, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 31/31/32 ms
3.    routerb 的配置
接口 s1/1 的配置
 Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host routerb
routerb(config)#int s1/1
routerb(config-if)#ip add 192.168.1.118 255.255.255.248
routerb(config-if)#no shut
检测 routerb routera 之间是否能够正常的通信
routerb#ping 192.168.1.117
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.117, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 31/31/32 ms
  接口 fa0/0 的配置
routerb#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
routerb(config)#int fa0/0
routerb(config-if)#ip add 192.168.1.68 255.255.255.224
routerb(config-if)#no shut
 
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
routerb(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
检测 routerb pc1 是否正常通信
routerb#ping 192.168.1.69
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.69, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 31/50/63 ms
接口 s1/2 的配置
routerb#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
routerb(config)#int s1/2
routerb(config-if)#ip add 192.168.1.126 255.255.255.252
routerb(config-if)#no shut
检测 routerb routerc 之间的通信
routerb#ping 192.168.1.125
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.125, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 21/29/32 ms
4.    routerc 的配置
接口 s1/0 的配置
routerc#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
routerc(config)#int s1/0
routerc(config-if)#ip add 192.168.1.125 255.255.255.252
routerc(config-if)#no shut
routerc(config-if)#end
检测 routerc routerb 之间的通信
routerc#ping 192.168.1.126
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.126, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 15/28/47 ms
接口 fa0/0 的配置
routerc#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
routerc(config)#int fa0/0
routerc(config-if)#ip add 192.168.1.100 255.255.255.240
routerc(config-if)#no shut
 
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
routerc(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
检测 routerc pc2 的通信
routerc#ping 192.168.1.101
 
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.101, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 62/62/63 ms
检测 pc2 pc1 之间是否正常通信
PC>ping 192.168.1.69
 
Pinging 192.168.1.69 with 32 bytes of data:
 
Reply from 192.168.1.100: Destination host unreachable.
Reply from 192.168.1.100: Destination host unreachable.
Reply from 192.168.1.100: Destination host unreachable.
Reply from 192.168.1.100: Destination host unreachable.
 
Ping statistics for 192.168.1.69:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
检测 pc2 pc0 之间是否正常通信
PC>ping 192.168.1.101
 
Pinging 192.168.1.101 with 32 bytes of data:
 
Reply from 192.168.1.1: Destination host unreachable.
Reply from 192.168.1.1: Destination host unreachable.
Reply from 192.168.1.1: Destination host unreachable.
Reply from 192.168.1.1: Destination host unreachable.
 
Ping statistics for 192.168.1.101:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

你可能感兴趣的:(职场,休闲,RIPv2)