1. There are three routers in the following network, and all routers run the RIP Protocol. Only three routers need to communicate with each other.
Configuration:
Joe(config)#routerrip Joe(config-router-rip)#network192.168.0.0/24 Joe(config-router-rip)#network192.168.1.0/24 Hamer (config) # routerrip Hamer (config-router-rip) # network192.168.1.0/24 Hamer (config-router-rip) # network133.81.1.0/24 Tom (config) # routerrip Tom (config-router-rip) # network192.168.1.0/24 Tom (config-router-rip) # network133.81.2.0/24 |
2. There are three routers in the following network. All routers run the RIP Protocol:
1) Port E0 of Ros receives route update packets from Hata and Bito.
2) the update packets sent by Ros in E0 are only sent to Bito.
Configuration:
The Ros configuration is as follows: Ros (config) # routerrip Ros (config-router-rip) # network192.168.1.0/24 Ros (config-router-rip) # network10.8.11.0/24 Ros (config-router-rip) # passive-interfaceeth0/0 Ros (config-router-rip) # neighbor192.168.1.35 The Bito configuration is as follows: Bito (config) # routerrip Bito (config-router-rip) # network192.168.1.0/24 Bito (config-router-rip) # network137.1.1.3/24 The Hata configuration is as follows: Hata (config) # routerrip Hata (config-router-rip) # network192.168.1.0/24 |
3. As shown in, there are three routers, Melu and Haha, which are running normally. Now you need to add a HOS router named Toba to connect Toba and Haha, the current running status of Melu and Haha cannot be damaged.
The protocols that Melu and Haha run are known to be:
1) there is no authentication configuration for r00001 running on Haha.
2) r00002 is running on Melu, with no authentication configuration.
Analysis:
The default value of HOS is that RIP sends version 1 and receives update packets of version 1 and version 2. In this way, we only need to run RIP on Toba and specify 192.168.0.1/24 as the range of the RIP active network, so that Toba can be connected to Haha. Since Melu runs r12002, you only need Toba to send r00002 packets.
Therefore, Toba can be configured as follows:
Toba (config) # routerrip
Toba (config-router-rip) # network192.168.0.0/24
Toba (config-router-rip) # network10.8.11.0/24
Toba (config-router-rip) # exit
Toba (config) # interfaceeth0/0
Toba (config-if-eth0/0) # ipripsendversion2
4. As shown in: There are two HOS routers. Now Wed and Hax must be connected and MD5 authentication is required.
Analysis:
When two routers are interconnected, the two routers must be configured with the same authentication method and key to exchange routes, it is worth noting that both parties must send Version 2
Hax(config)#keychainwan Hax(config-keychain)#key1 Hax(config-keychain-key)#key-stringwan Hax(config-keychain-key)#exit Hax(config-keychain)#exit Hax(config)#interfaceeth0/0 Hax(config-if-eth0/0)#ipripauthenticationkey-chainwan Hax(config-if-eth0/0)#ipripauthenticationmodemd5 Hax(config-if-eth0/0)#ipripsendversion2 Hax(config-if-eth0/0)#ipripreceiveversion2 |
5. Monitoring and maintaining RIP
Related Articles]
- Basic Principles of IP Protocol Configuration
- RIP Protocol Update route table
- RIP Route Protocol Configuration