In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
RIP protocol can not adapt to the network environment
The RIP protocol is used in the network, but with the development of the network, it is expanded to the situation shown in figure 9.1. the continuous increase of equipment makes the RIP protocol unable to adapt to this network environment, resulting in the inability of users from R1 and R16 routers to access each other.
Figure 9.1 Corporate Network Topology Diagram
The maximum number of RIP protocols is 15. It can be known that if the source address to the destination address needs to be forwarded by the router more than 15, it will be blocked. From the debug information, you can see that the hop count of the network segment 192.168.200.0Unigram 24 that R1 received from the R16 router is 16, which indicates that it is unreachable, as follows:
* Mar 1 00 update from 09 update from 45.051: RIP: received v1 192.168.1.2 on FastEthernet0/0
* Mar 1 00 in 09 hops 45.051: 192.168.2.0
* Mar 1 00 in 09 hops 45.055: 192.168.3.0
* Mar 100 hops 09 hops 45.055: 192.168.200.0 in 16 hops (inaccessible)
There are two general solutions, as follows:
1. If the possibility of network expansion is small, you can configure a static route on the edge router to reduce the hop count of the RIP protocol.
Configure the static routing method on the edge router and change the configuration for R1 and R2 as shown in, R15 and R16 are similar.
R1 (config) # no router rip
R1 (config) # ip route 0.0.0.0 0.0.0.0 192.168.1.2
R2 (config) # router rip
R2 (config-router) # no network 192.168.1.0
R2 (config-router) # exit
R2 (config) # ip route 192.168.100.0 255.255.255.0 192.168.1.1
R2 (config) # router rip
R2 (config-router) # redistribute static metric 1
/ / introduce a static route into RIP protocol with a hop count of 1. This command will be explained in Chapter 14.
R2 (config-router) # exit
2. If the network develops rapidly and more devices will be added in the future, a better routing protocol (OSPF, etc.) can be used to replace the RIP protocol.
Change to OSPF protocol, R2 configuration is shown below, other router configurations are similar and only single-domain OSPF configuration is given here, while multi-domain design and configuration will be given in chapters 13 and 14.
R2 (config) # interface loopback 1
R2 (config-if) # ip address 2.2.2.2 255.255.255.255
R2 (config-if) # exit
/ / determine the Router-id for configuring OSPF
R2 (config) # no router rip
R2 (config) # router ospf 1
R2 (config-router) # network 192.168.1.0 0.0.0.255 area 0
R2 (config-router) # network 192.168.2.0 0.0.255 area 0
R2 (config-router) # router-id 2.2.2.2
R2 (config-router) # network 2.2.2.2 0.0.0.0 area 0
R2 (config-router) # exit
If the network is changed to OSPF protocol, the network rectification process involves more routers, the rectification time is longer, and the network outage time is longer; while using method 1, the network rectification involves fewer routers, and the rectification time is shorter.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
The nslookup command nslookup displays domain system domain information
© 2024 shulou.com SLNews company. All rights reserved.