In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. Overview of dynamic routing:
Dynamic routing is a concept opposite to static routing, which means that routers can automatically establish their own routing tables according to specific routing information exchanged between routers, and can automatically adjust according to changes in links and nodes. When a node or a link between nodes fails, or other available routes exist, dynamic routing can select the best available route and continue to forward messages.
II. Dynamic routing characteristics:
1. No manual maintenance by administrators is required, which reduces the workload of administrators.
2, occupy the network bandwidth.
3. Run routing protocols on routers so that routers can automatically adjust routing entries according to changes in network topology.
4. Network with large scale and complex topology.
Third, dynamic routing principle:
1. The router first thanks its own direct link information, and processes the collected routing information into a routing table according to a certain routing algorithm for the router to refer to when forwarding IP packets.
2. Routers exchange routing information in a timely manner. Because routing information exchanged between routers informs each other of network changes when the network changes, all routers are aware of network changes through information diffusion.
3. When the network changes, after collecting the latest routing information, the routing algorithm recalculates to obtain the latest routing table.
RIP-Distance-Vector Routing Protocol:
RIP is an interior gateway protocol, a dynamic routing protocol used for routing information transfer within autonomous systems. RIP is based on a distance vector algorithm that uses hop counts to measure the routing distance to a destination address. Routers in this protocol only care about the world around them, exchanging information only with their neighbors, and the range is limited to 15 hops (15 degrees). RIP is applied to the application layer of the OSI five-layer network model, updating routing information every 30 seconds, with port number UDP520.
5. RIP configuration:
Start the RIP process:
Router(config)#router rip
2. Announce the main network number:
Router(config-router)#network network-number
3. Check the routing table:
Router#show ip route
4. Check the configuration of routing protocol:
Router#show ip protocols
VI. Experimental analysis:
1. Experimental topology
Router R1: f0/0 interface: 192.168.10.1/24f0/1 Interface: 192.168.20.1/30 Router R2: f0/0 Interface: 192.168.20.2/30f0/1 Interface: 192.168.30.1/30 Router R3: f0/0 Interface: 192.168.30.2/30f0/1 Interface: 192.168.40.1/30 Client PC1: IP Address: 192.168.10.2/24 Client PC2: IP address: 192.168.40.2/24
2. Double-click the Open Router R1 icon to enter the configuration.
conf t Enter global mode int f0/0 Enter f0/0 interface ip add 192.168.10.1 255.255.255.0 Add IP and subnet mask no shut Open port service ex Exit port int f0/1 Enter f0/1 interface ip add 192.168.20.1 255.255.255.252 Add IP and subnet mask no shut Open port service ex exit port
3. Execute the "do show ip route" command to view the routing table. At this time, the routing table has recorded the information of network segments 10 and 20.
4. Double-click the Open Router R2 icon to enter the configuration.
conf t Enter global mode int f0/0 Enter f0/0 interface ip add 192.168.20.2 255.255.255.0 Add IP and subnet mask no shut Open port service ex Exit port int f0/1 Enter f0/1 interface ip add 192.168.30.1 255.255.255.252 Add IP and subnet mask no shut Open port service ex exit port do show ip route view the routing table
5. Double-click the Open Router R3 icon to enter the configuration.
conf t Enter global mode int f0/0 Enter f0/0 interface ip add 192.168.30.2 255.255.255.0 Add IP and subnet mask no shut Open port service ex Exit port int f0/1 Enter f0/1 interface ip add 192.168.40.1 255.255.255.252 Add IP and subnet mask no shut Open port service ex exit port do show ip route view the routing table
6. Double-click the icon of client PC1 to enter configuration.
ip 192.168.10.2 192.168.10.1 Set IP and subnet mask
7. Double-click the icon of client PC2 to enter configuration.
ip 192.168.40.2 192.168.40.1 Set IP and subnet mask
Go back to router R1 to continue configuration.
router rip Enter RIP routing protocol network 192.168.10.0 Announces its own direct network segment 192.168.20.0 Announce its own direct connection segment version 2 Enable routing protocol version 2 no auto-summary Turn off route auto-aggregation ex exit
Go back to router R2 to continue configuration.
router rip Enter RIP routing protocol network 192.168.20.0 Announces its own direct network segment 192.168.30.0 Announce its own direct connection segment version 2 Enable routing protocol version 2 no auto-summary Turn off route auto-aggregation ex exit
10. Go back to router R3 to continue configuration.
router rip Enter RIP routing protocol network 192.168.30.0 Announces its own direct network segment 192.168.40.0 Announce its own direct connection segment version 2 Enable routing protocol version 2 no auto-summary Turn off route auto-aggregation ex exit
11. Run the "do show ip route" command in R1 to view the information about network segments 30 and 40 in the routing table forwarded by router R2 that router R1 has automatically learned.
12. Run the "do show ip route" command in R2 to view the network segments 10 and 40 in the routing tables forwarded by routers R1 and R3 that router R2 has automatically learned.
13. Run the "do show ip route" command in R3 to view the information about network segments 10 and 20 in the routing table forwarded by router R2 that router R2 has automatically learned.
14. Use the ping command in client PC1 to test interoperability with client PC2.
15. Use the ping command in client PC2 to test interoperability with client PC1.
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
© 2024 shulou.com SLNews company. All rights reserved.