In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
What this article shares with you is an example analysis of configuring RIP to achieve network-wide interconnection. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
Experiment name: Huawei configures RIP to realize interworking of the whole network
Purpose: to configure RIP to realize interworking of the whole network.
Lab Topology:
Experimental requirements: two PCs and four routers
The steps of the experiment:
Configure PC
Configure router interface IP
R1:
Sys
Enter system view, return user view with Ctrl+Z.
[Huawei] sysname R1
[R1] interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0] undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[R1-GigabitEthernet0/0/0] ip address 192.168.10.254 255.255.255.0
Jan 10 2018 17:30:36-08:00 R1% IFNET/4/LINK_STATE (l) [0]: The line protocol IP
On the interface GigabitEthernet0/0/0 has entered the UP state.
[R1-GigabitEthernet0/0/0] quit
[R1] interface GigabitEthernet 0/0/1
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[R1-GigabitEthernet0/0/1] ip address 192.168.12.1 255.255.255.0
Jan 10 2018 17:31:00-08:00 R1% IFNET/4/LINK_STATE [1]: The line protocol IP
On the interface GigabitEthernet0/0/1 has entered the UP state.
[R1-GigabitEthernet0/0/1] quit
R2:
Sys
Enter system view, return user view with Ctrl+Z.
[Huawei] sysname R2
[R2] interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0] undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[R2-GigabitEthernet0/0/0] ip address 192.168.12.2 255.255.255.0
Jan 10 2018 17:31:37-08:00 R2% IFNET/4/LINK_STATE (l) [0]: The line protocol IP
On the interface GigabitEthernet0/0/0 has entered the UP state.
[R2-GigabitEthernet0/0/0] quit
[R2] interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1] undo shutdown
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[R2-GigabitEthernet0/0/1] ip address 192.168.23.2 255.255.255.0
Jan 10 2018 17:32:00-08:00 R2% IFNET/4/LINK_STATE [1]: The line protocol IP
On the interface GigabitEthernet0/0/1 has entered the UP state.
[R2-GigabitEthernet0/0/1] quit
R3:
System-view
Enter system view, return user view with Ctrl+Z.
[Huawei] sysname R3
[R3] interface GigabitEthernet 0/0/0
[R3-GigabitEthernet0/0/0] undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[R3-GigabitEthernet0/0/0] ip address 192.168.23.3 255.255.255.0
Jan 10 2018 17:32:39-08:00 R3% IFNET/4/LINK_STATE (l) [0]: The line protocol IP
On the interface GigabitEthernet0/0/0 has entered the UP state.
[R3-GigabitEthernet0/0/0] quit
[R3] interface GigabitEthernet 0/0/1
[R3-GigabitEthernet0/0/1] undo shutdown
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[R3-GigabitEthernet0/0/1] ip address 192.168.34.3 255.255.255.0
Jan 10 2018 17:32:58-08:00 R3% IFNET/4/LINK_STATE (l) [1]: The line protocol IP
On the interface GigabitEthernet0/0/1 has entered the UP state.
[R3-GigabitEthernet0/0/1] quit
R4:
System-view
Enter system view, return user view with Ctrl+Z.
[Huawei] sysname R4
[R4] interface GigabitEthernet 0/0/0
[R4-GigabitEthernet0/0/0] undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
[R4-GigabitEthernet0/0/0] ip address 192.168.34.4 255.255.255.0
Jan 10 2018 17:33:27-08:00 R4% IFNET/4/LINK_STATE (l) [0]: The line protocol IP
On the interface GigabitEthernet0/0/0 has entered the UP state.
[R4-GigabitEthernet0/0/0] quit
[R4] interface GigabitEthernet 0/0/1
[R4-GigabitEthernet0/0/1] undo shutdown
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[R4-GigabitEthernet0/0/1] ip address 192.168.20.254 255.255.255.0
Jan 10 2018 17:33:45-08:00 R4% IFNET/4/LINK_STATE [1]: The line protocol IP
On the interface GigabitEthernet0/0/1 has entered the UP state.
[R4-GigabitEthernet0/0/1] quit
[R4]
Configure the rip protocol
R1:
[R1] rip
[R1-rip-1] version 2
[R1-rip-1] network 192.168.10.0
[R1-rip-1] network 192.168.12.0
[R1-rip-1] exit
R2:
[R2] rip
[R2-rip-1] version 2
[R2-rip-1] network 192.168.12.0
[R2-rip-1] network 192.168.23.0
[R2-rip-1] quit
R3:
[R3] rip
[R3-rip-1] version 2
[R3-rip-1] network 192.168.23.0
[R3-rip-1] network 192.168.34.0
[R3-rip-1] quit
R4:
[R4] rip
[R4-rip-1] version 2
[R4-rip-1] network 192.168.34.0
[R4-rip-1] network 192.168.20.0
[R4-rip-1] quit
Testing and verification:
a. Test connectivity:
b. View the routing table of rip id
Summary of the experiment:
Steps for Huawei to configure rip:
1. Enable RIP protocol
[Router] rip [id] / / if you do not write the following id, the default is 1
two。 Configure the router to use RIP version 2
[Router-rip-1] version 2 / / in Huawei, automatic summarization is turned off by default when RIPv2 is enabled
3. [Router-rip-1] network x.x.x.x
Attached:
Automatic summarization in Huawei simulator is automatically turned off after selecting RIP version 2, unlike Cisco.
The above is the example analysis of configuring RIP to realize the interconnection of the whole network. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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.