Fist we will configure IP addresses as per the Topology:
Router 1
#
<R1>system-view
Enter system view, return user view with Ctrl+Z.
#
[R1]interface GigabitEthernet 0/0/0
[R1-GigabitEthernet0/0/0]description ** R1->R2 **
[R1-GigabitEthernet0/0/0]ip address 10.1.12.1 24
[R1-GigabitEthernet0/0/0]undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
#
[R1]interface GigabitEthernet 0/0/1
[R1-GigabitEthernet0/0/1]description ** LAN-A **
[R1-GigabitEthernet0/0/1]ip address 192.168.1.1 24
[R1-GigabitEthernet0/0/1]undo shutdown
Info: Interface GigabitEthernet0/0/1 is not shutdown.
#
VERIFICATION
<R1>display ip interface brief | include up
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 1
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 10.1.12.1/24 up up
GigabitEthernet0/0/1 192.168.1.1/24 up up
NULL0 unassigned up up(s)
<R1>
Router 2
#
<R2>system-view
Enter system view, return user view with Ctrl+Z.
#
[R2]interface GigabitEthernet 0/0/0
[R2-GigabitEthernet0/0/0]description ** R2->R1 **
[R2-GigabitEthernet0/0/0]ip address 10.1.12.2 24
[R2-GigabitEthernet0/0/0]undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
#
[R2]interface GigabitEthernet 0/0/1
[R2-GigabitEthernet0/0/1]description ** R2->R1 **
[R2-GigabitEthernet0/0/1]ip address 10.1.23.2 24
[R2-GigabitEthernet0/0/1]undo shutdown
Info: Interface GigabitEthernet0/0/1 is not shutdown.
#
[R2]interface GigabitEthernet 0/0/2
[R2-GigabitEthernet0/0/2]description ** LAN-B **
[R2-GigabitEthernet0/0/2]ip address 192.168.2.1 24
[R2-GigabitEthernet0/0/2]undo shutdown
Info: Interface GigabitEthernet0/0/1 is not shutdown.
VERIFICATION
<R2>display ip interface brief | include up
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 0
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 10.1.12.2/24 up up
GigabitEthernet0/0/1 10.1.23.2/24 up up
GigabitEthernet0/0/2 192.168.2.1/24 up up
NULL0 unassigned up up(s)
ROUTER 3
#
<R3>system-view
Enter system view, return user view with Ctrl+Z.
#
[R3]interface GigabitEthernet 0/0/1
[R3-GigabitEthernet0/0/1]description ** R3->R2 **
[R3-GigabitEthernet0/0/1]ip address 10.1.23.3 24
[R3-GigabitEthernet0/0/1]undo shutdown
Info: Interface GigabitEthernet0/0/1 is not shutdown.
#
[R3]interface GigabitEthernet 0/0/0
[R3-GigabitEthernet0/0/0]description ** LAN-C **
[R3-GigabitEthernet0/0/0]ip address 192.168.3.1 24
[R3-GigabitEthernet0/0/0]undo shutdown
Info: Interface GigabitEthernet0/0/0 is not shutdown.
#
VERIFICATION
<R3>display ip interface brief | include up
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 1
Interface IP Address/Mask Physical Protocol GigabitEthernet0/0/0 192.168.3.1/24 up up
GigabitEthernet0/0/1 10.1.23.3/24 up up
NULL0 unassigned up up(s)
<R3>
As IP addresses are configured, lets start enabling RIP from R1.
ROUTER 1
<R1>system-view
Enter system view, return user view with Ctrl+Z.
#
[R1]rip 1
[R1-rip-1]network 10.0.0.0
[R1-rip-1]network 192.168.1.0
[R1-rip-1]
#
VERIFICATION
[R1]display rip
Public VPN-instance
RIP process : 1
RIP version : 2
Preference : 100
Checkzero : Enabled
Default-cost : 0
Summary : Enabled
Host-route : Enabled
Maximum number of balanced paths : 8
Update time : 30 sec Age time : 180 sec
Garbage-collect time : 120 sec
Graceful restart : Disabled
BFD : Disabled
Silent-interfaces : None
Default-route : Disabled
Verify-source : Enabled
Networks :
192.168.1.0 10.0.0.0
Configured peers : None
Number of routes in database : 3
Number of interfaces enabled : 2
Triggered updates sent : 0
Number of route changes : 0
Number of replies to queries : 0
Number of routes in ADV DB : 2
Total count for 1 process :
Number of routes in database : 3
Number of interfaces enabled : 2
Number of routes sendable in a periodic update : 6
Number of routes sent in last periodic update : 4
<R2>system-view
Enter system view, return user view with Ctrl+Z.
[R2]rip 1
[R2-rip-1]version 2
[R2-rip-1]network 10.0.0.0
[R2-rip-1]network 192.168.2.0
[R2-rip-1]
#
VERIFICATION
[R2]display rip
Public VPN-instance
RIP process : 1
RIP version : 2
Preference : 100
Checkzero : Enabled
Default-cost : 0
Summary : Enabled
Host-route : Enabled
Maximum number of balanced paths : 8
Update time : 30 sec Age time : 180 sec
Garbage-collect time : 120 sec
Graceful restart : Disabled
BFD : Disabled
Silent-interfaces : None
Default-route : Disabled
Verify-source : Enabled
Networks :
192.168.2.0 10.0.0.0
Configured peers : None
Number of routes in database : 5
Number of interfaces enabled : 3
Triggered updates sent : 1
Number of route changes : 1
Number of replies to queries : 0
Number of routes in ADV DB : 4
Total count for 1 process :
Number of routes in database : 5
Number of interfaces enabled : 3
Number of routes sendable in a periodic update : 15
Number of routes sent in last periodic update : 11
ROUTER 3
<R3>system-view
Enter system view, return user view with Ctrl+Z.
[R3]rip 1
[R3-rip-1]version 2
[R3-rip-1]network 10.0.0.0
[R3-rip-1]network 192.168.3.0
[R3-rip-1]
VERIFICATION
[R3]display rip
Public VPN-instance
RIP process : 1
RIP version : 2
Preference : 100
Checkzero : Enabled
Default-cost : 0
Summary : Enabled
Host-route : Enabled
Maximum number of balanced paths : 8
Update time : 30 sec Age time : 180 sec
Garbage-collect time : 120 sec
Graceful restart : Disabled
BFD : Disabled
Silent-interfaces : None
Default-route : Disabled
Verify-source : Enabled
Networks :
192.168.3.0 10.0.0.0
Configured peers : None
Number of routes in database : 6
Number of interfaces enabled : 2
Triggered updates sent : 0
Number of route changes : 3
Number of replies to queries : 0
Number of routes in ADV DB : 5
Total count for 1 process :
Number of routes in database : 6
Number of interfaces enabled : 2
Number of routes sendable in a periodic update : 12
Number of routes sent in last periodic update : 7
As RIP is configured on all three routers now we can confirm by looking at their routing table.
ROUTING TABLE VERIFICATION
R1
<R1>display ip routing-table
Route Flags: R - relay, D - download to fib
--------------------------------------------------------------------
Routing Tables: Public
Destinations : 13 Routes : 13
Destination/Mask Proto Pre Cost Flags NextHop Interface
10.1.12.0/24 Direct 0 0 D 10.1.12.1 GigabitEthernet0/0/0
10.1.12.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/0
10.1.12.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/0
10.1.23.0/24 RIP 100 1 D 10.1.12.2 GigabitEthernet0/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
192.168.1.0/24 Direct 0 0 D 192.168.1.1 GigabitEthernet0/0/1
192.168.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/1
192.168.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/1
192.168.2.0/24 RIP 100 1 D 10.1.12.2 GigabitEthernet0/0/0
192.168.3.0/24 RIP 100 2 D 10.1.12.2 GigabitEthernet0/0/0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
R2
[R2]display ip routing-table
Route Flags: R - relay, D - download to fib
--------------------------------------------------------------------
Routing Tables: Public
Destinations : 15 Routes : 15
Destination/Mask Proto Pre Cost Flags NextHop Interface
10.1.12.0/24 Direct 0 0 D 10.1.12.2 GigabitEthernet0/0/0
10.1.12.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/0
10.1.12.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/0
10.1.23.0/24 Direct 0 0 D 10.1.23.2 GigabitEthernet0/0/1
10.1.23.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/1
10.1.23.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/1
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
192.168.1.0/24 RIP 100 1 D 10.1.12.1 GigabitEthernet0/0/0
192.168.2.0/24 Direct 0 0 D 192.168.2.1 GigabitEthernet0/0/2
192.168.2.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/2
192.168.2.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/2
192.168.3.0/24 RIP 100 1 D 10.1.23.3 GigabitEthernet0/0/1
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
R3
[R3]display ip routing-table
Route Flags: R - relay, D - download to fib
--------------------------------------------------------------------
Routing Tables: Public
Destinations : 13 Routes : 13
Destination/Mask Proto Pre Cost Flags NextHop Interface
10.1.12.0/24 RIP 100 1 D 10.1.23.2 GigabitEthernet0/0/1
10.1.23.0/24 Direct 0 0 D 10.1.23.3 GigabitEthernet0/0/1
10.1.23.3/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/1
10.1.23.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/1
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
192.168.1.0/24 RIP 100 2 D 10.1.23.2 GigabitEthernet0/0/1
192.168.2.0/24 RIP 100 1 D 10.1.23.2 GigabitEthernet0/0/1
192.168.3.0/24 Direct 0 0 D 192.168.3.1 GigabitEthernet0/0/0
192.168.3.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/0
192.168.3.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet0/0/0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
There is some variation related to RIP metric which we can manipulate only if we have multiple links. Which we will discuss in later tutorial.