Get the App
SLTechnology News&Howtos  ›  Servers  › 

An example Analysis of configuring RIP to realize interworking of the whole Network

Shulou Source: shulou.com Published: 2022-05-31 13:55:14 10月04日 Update

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.

Tags: Configuration experiment network-wide routing Huawei router instance case analysis analysis more steps knowledge article test different practical name that is work meeting topology Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia MySQL Shulou Tech Info vpn Huawei