[] H3C H3C configuration of dynamic routing simulator test (RIP protocol)

H3C version HCL_V2.1.0_Setup
VirtualBox version of VirtualBox-4.2.4-81684-Win
(version to be matched to function properly H3C)

First, the purpose of the experiment

1. Understand the Principle of dynamic routing
2 master dynamic routing RIP configuration

Second, the experimental principle

RIP is an interior gateway protocol IGP protocol was first widely used, is a distributed routing protocol based on distance vector, used in the "routers directly connected" pass each route entry as the number of hops measurement standards. Low bandwidth, configuration and management requirements, the maximum hop count of 15, mainly suitable for smaller networks. By level of segmentation, triggered updates, such as the maximum number of hops suppression time technology prevent loops.

Third, the experimental topology

Here Insert Picture Description

Fourth, the experimental procedures

  1. Establishing a physical connection
    is connected following the experimental topology, all devices configured to the initial state
router port Ip port
RTA G0/0 192.168.1.1/24
G0/1 192.168.2.1/24
RTB G0/0 192.168.2.2/24
G0/1 192.168.3.1/24
RTC G0/0 192.168.3.2/24
G0/1 192.168.4.1/24
SWA G1 / 0/1 192.168.4.2/24
G1 / 0/2 192.168.5.1/24

RTA router configuration

[H3C]int g0/0
[H3C-GigabitEthernet0/0]ip add 192.168.1.1 24
[H3C-GigabitEthernet0/0]int g0/1
[H3C-GigabitEthernet0/1]ip add 192.168.2.1 24
[H3C-GigabitEthernet0/1]rip
[H3C-rip-1]network 192.168.1.0
[H3C-rip-1]network 192.168.2.0

[H3C]display ip routing-table

Destinations : 19       Routes : 19

Destination/Mask   Proto   Pre Cost        NextHop         Interface
……
192.168.1.0/24     Direct  0   0           192.168.1.1     GE0/0
192.168.2.0/24     Direct  0   0           192.168.2.1     GE0/1
192.168.3.0/24     RIP     100 1           192.168.2.2     GE0/1
192.168.4.0/24     RIP     100 2           192.168.2.2     GE0/1
192.168.5.0/24     RIP     100 3           192.168.2.2     GE0/1
……

RTB router configuration

[H3C]int g0/0
[H3C-GigabitEthernet0/0]ip add 192.168.2.2 24
[H3C-GigabitEthernet0/0]int g0/1
[H3C-GigabitEthernet0/1]ip add 192.168.3.1 24
[H3C-GigabitEthernet0/1]rip
[H3C-rip-1]network 192.168.2.0
[H3C-rip-1]network 192.168.3.0

[H3C]display ip routing-table

Destinations : 19       Routes : 19

Destination/Mask   Proto   Pre Cost        NextHop         Interface
……
192.168.1.0/24     RIP     100 1           192.168.2.1     GE0/0
192.168.2.0/24     Direct  0   0           192.168.2.2     GE0/0
192.168.3.0/24     Direct  0   0           192.168.3.1     GE0/1
192.168.4.0/24     RIP     100 1           192.168.3.2     GE0/1
192.168.5.0/24     RIP     100 2           192.168.3.2     GE0/1
……

RTC router configuration

[H3C]int g0/0
[H3C-GigabitEthernet0/0]ip add 192.168.3.2 24
[H3C-GigabitEthernet0/0]int g0/1
[H3C-GigabitEthernet0/1]ip add 192.168.4.1 24
[H3C-GigabitEthernet0/1]rip
[H3C-rip-1]network 192.168.3.0
[H3C-rip-1]network 192.168.4.0

[H3C]display ip routing-table

Destinations : 19       Routes : 19

Destination/Mask   Proto   Pre Cost        NextHop         Interface
……
192.168.1.0/24     RIP     100 2           192.168.3.1     GE0/0
192.168.2.0/24     RIP     100 1           192.168.3.1     GE0/0
192.168.3.0/24     Direct  0   0           192.168.3.2     GE0/0
192.168.4.0/24     Direct  0   0           192.168.4.1     GE0/1
192.168.5.0/24     RIP     100 1           192.168.4.2     GE0/1
……

SWA router configuration

[H3C]vlan 10
[H3C-vlan10]port g1/0/1
[H3C-vlan10]int vlan 10
[H3C-Vlan-interface10]ip add 192.168.4.2 24
[H3C-Vlan-interface10]vlan 20
[H3C-vlan20]port g1/0/2
[H3C-vlan20]int vlan 20
[H3C-Vlan-interface20]ip add 192.168.5.1 24
[H3C-Vlan-interface20]int g1/0/1
[H3C-GigabitEthernet1/0/1]port link-type access
[H3C-GigabitEthernet1/0/1]port access vlan 10
[H3C-GigabitEthernet1/0/1]int g1/0/2
[H3C-GigabitEthernet1/0/2]port link-type access
[H3C-GigabitEthernet1/0/2]port access vlan 20
[H3C-GigabitEthernet1/0/2]rip
[H3C-rip-1]network 192.168.4.0
[H3C-rip-1]network 192.168.5.0

[H3C-rip-1]display ip routing-table

Destinations : 19       Routes : 19

Destination/Mask   Proto   Pre Cost        NextHop         Interface
……
192.168.1.0/24     RIP     100 3           192.168.4.1     Vlan10
192.168.2.0/24     RIP     100 2           192.168.4.1     Vlan10
192.168.3.0/24     RIP     100 1           192.168.4.1     Vlan10
192.168.4.0/24     Direct  0   0           192.168.4.2     Vlan10
192.168.5.0/24     Direct  0   0           192.168.5.1     Vlan20
……
PC ip
PC1 192.168.1.88
PC2 192.168.5.88
<H3C>ping 192.168.5.88
Ping 192.168.5.88 (192.168.5.88): 56 data bytes, press CTRL_C to break
56 bytes from 192.168.5.88: icmp_seq=0 ttl=251 time=12.000 ms
56 bytes from 192.168.5.88: icmp_seq=1 ttl=251 time=8.000 ms
56 bytes from 192.168.5.88: icmp_seq=2 ttl=251 time=7.000 ms
56 bytes from 192.168.5.88: icmp_seq=3 ttl=251 time=6.000 ms
56 bytes from 192.168.5.88: icmp_seq=4 ttl=251 time=7.000 ms
<H3C>ping 192.168.1.88
Ping 192.168.1.88 (192.168.1.88): 56 data bytes, press CTRL_C to break
56 bytes from 192.168.1.88: icmp_seq=0 ttl=251 time=8.000 ms
56 bytes from 192.168.1.88: icmp_seq=1 ttl=251 time=5.000 ms
56 bytes from 192.168.1.88: icmp_seq=2 ttl=251 time=8.000 ms
56 bytes from 192.168.1.88: icmp_seq=3 ttl=251 time=8.000 ms
56 bytes from 192.168.1.88: icmp_seq=4 ttl=251 time=8.000 ms

Fifth, experimental summary

  1. Network interfaces to configure the router to participate in the RIP which
      the interface can transmit and receive RIP packet
      network interface is located out of the RIP will be advertised
      subnet mask of the network is based on IP address to the default classification of the subnet , so do not write the subnet mask
  2. View RIP routing protocol learned [H3C]display ip routing-table protocol rip
    <Active>: active representatives are using
    <Inactive>:, do not go inside into the routing table is not active, on behalf of no use
  3. Display configuration of RIP [H3C-rip-1]display this
Published 43 original articles · won praise 30 · views 5927

Guess you like

Origin blog.csdn.net/qq_42049496/article/details/103410558