0x0 拓扑图

  • 要求
    1. 所有路由表运行RIP协议
    2. 所有的PC机可以互通

0x1 指令配置

  • AR1
    interface GigabitEthernet0/0/0
     ip address 192.168.40.1 255.255.255.0 
    interface GigabitEthernet0/0/1
     ip address 192.168.1.1 255.255.255.252 
    interface GigabitEthernet0/0/2
     ip address 192.168.1.10 255.255.255.252 
    rip 1
     version 2
     network 192.168.40.0
     network 192.168.1.0
    
  • AR2
    interface GigabitEthernet0/0/0
     ip address 192.168.30.1 255.255.255.0 
    interface GigabitEthernet0/0/1
     ip address 192.168.1.6 255.255.255.252 
    interface GigabitEthernet0/0/2
     ip address 192.168.1.9 255.255.255.252 
    rip 1
     version 2
     network 192.168.30.0
     network 192.168.1.0
    
  • AR3
    interface GigabitEthernet0/0/0
     ip address 192.168.1.2 255.255.255.252 
    interface GigabitEthernet0/0/1
     ip address 192.168.1.5 255.255.255.252 
    interface GigabitEthernet0/0/2
     ip address 192.168.10.1 255.255.255.0 
    interface GigabitEthernet4/0/0
     ip address 192.168.20.1 255.255.255.0 
    rip 1
     version 2
     network 192.168.10.0
     network 192.168.20.0
     network 192.168.1.0
    

0x2 连通性验证

  • PC3->PC1
  • PC4->PC2

  • 验证ENSP自带的RIP采用什么防环机制,关闭AR3的G0/0/2接口,在AR3的G0/0/0
  • 抓包结果
  • AR1路由表