0% found this document useful (0 votes)
45 views8 pages

Networkplus Training Center: Hcia Lab

The document provides instructions for configuring RIPv1 and RIPv2 on routers AR1 and AR2. It includes 4 steps: 1) configuring RIPv2 on AR1 and AR2, 2) verifying RIP routes have been learned, 3) configuring simple authentication between AR1 and AR2, and 4) adjusting the RIP metric. The objective is to enable RIP routing between the routers and PCs on their networks.

Uploaded by

ahmed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views8 pages

Networkplus Training Center: Hcia Lab

The document provides instructions for configuring RIPv1 and RIPv2 on routers AR1 and AR2. It includes 4 steps: 1) configuring RIPv2 on AR1 and AR2, 2) verifying RIP routes have been learned, 3) configuring simple authentication between AR1 and AR2, and 4) adjusting the RIP metric. The objective is to enable RIP routing between the routers and PCs on their networks.

Uploaded by

ahmed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

NetworkPlus Training Center

HCIA Lab
Version 1.0

By: Ismail Ibrahim


Routing Information Protocol
(RIP)
Lab# 3
Configuration of RIPv1 & RIPv2.
Objective
As a result of this lab section, you should achieve the
following
Objectives
• Configuration of RIPv1 & RIPv2.
• Configuration of RIP Authentication
• Enable RIP for a specified network and interface.
• Adjust RIP metric.
Tasks
Step 1 Configuring RIPv2 on AR1 & AR2.
Topology:

AR1 configuration.

<Huawei> system-view

[Huawei]sysname AR1

[AR1]interface s1/0/0

[AR1]ip address 15.0.0.1 8

[AR1]quit

[AR1]interface g0/0/0

[AR1]ip add 10.0.0.1 8

[AR1]quit

[AR1]rip

[AR1-rip-1]version 2

[AR1-rip-1]network 10.0.0.0

[AR1-rip-1]network 15.0.0.0
AR2 configuration.

<Huawei> system-view

[Huawei]sysname AR2

[AR2]interface s1/0/0

[AR2]ip address 15.0.0.2 255.0.0.0

[AR2]quit

[AR2]interface g0/0/0

[AR2]ip add 20.0.0.1 255.0.0.0

[AR2]quit

[AR2]rip

[AR2-rip-1]version 2

[AR2-rip-1]network 20.0.0.0

[AR2-rip-1]network 15.0.0.0
Step 2 Verify RIP routes.
View the routing tables of AR1, AR2, and Make sure that these routers have learned
the RIP routes.

[AR1]display ip routing-table

Route Flags: R - relay, D - download to fib

------------------------------------------------------------------------------

Routing Tables: Public

Destinations : 12 Routes : 12

Destination/Mask Proto Pre Cost Flags NextHop Interface

15.255.255.255/32 Direct 0 0 D 127.0.0.1 Serial1/0/0

20.0.0.0/8 RIP 100 1 D 15.0.0.2 Serial1/0/0

127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0

127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0

127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0

255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0

From PC1 (10.0.0.2) ping PC2 (20.0.0.2)

C:\>ping 20.0.0.2

Pinging 20.0.0.2 with 32 bytes of data:

Reply from 20.0.0.2: bytes=32 time=2ms TTL=255

Reply from 20.0.0.2: bytes=32 time<1ms TTL=255

Reply from 20.0.0.2: bytes=32 time<1ms TTL=255

Reply from 20.0.0.2: bytes=32 time<1ms TTL=255

Step 3 Configuring simple authentication password between AR1/AR2.


AR1 configuration.

[AR1]interface s1/0/0

[AR1-Serial1/0/0]rip authentication-mode simple huawei


AR2 configuration.

[AR2]interface s1/0/0

[AR2-Serial1/0/0]rip authentication-mode simple huawei

After the configuration is complete, verify that the routes are not
affected.
Step 3 Disable RIP updates on interface g0/0/0 on both AR1/AR2.

[AR1]rip

[AR1-rip-1]silent-interface g0/0/0

Step 4 Adjusting RIP metric.

Topology:

Enable RIP on all routers and advertise the direct connected networks.
On AR1 check the routing table and how he reaches 20.0.0.0/8 network.
[AR1]display ip routing-table

Route Flags: R - relay, D - download to fib

------------------------------------------------------------------------------

Routing Tables: Public

Destinations : 18 Routes : 19

Destination/Mask Proto Pre Cost Flags NextHop Interface

15.0.0.0/8 Direct 0 0 D 15.0.0.1 Serial1/0/0

20.0.0.0/8 RIP 100 2 D 15.0.0.2 Serial1/0/0

25.0.0.0/8 Direct 0 0 D 25.0.0.1 GigabitEthernet

...more...

Adjust the metric on AR2 by adding two additional hop count using metricout
command on serial 1/0/0.

[AR2]interface s1/0/0

[AR2-Serial1/0/0]rip metricout 2

Check AR1 routing table again and see what’s changed.

[AR1]display ip routing-table

Route Flags: R - relay, D - download to fib

------------------------------------------------------------------------------

Routing Tables: Public

Destinations : 18 Routes : 19

Destination/Mask Proto Pre Cost Flags NextHop Interface

15.0.0.0/8 Direct 0 0 D 15.0.0.1 Serial1/0/0

20.0.0.0/8 RIP 100 3 D 25.0.0.2 GigabitEthernet

25.0.0.0/8 Direct 0 0 D 25.0.0.1 GigabitEthernet

...more...

Ping should work between PC1 and PC2.

You might also like