0% found this document useful (0 votes)
10 views6 pages

Static Routing Lab Guide

The Static Routing Lab Guide provides instructions for a network administrator to learn and configure static routing using Ruijie routers. The lab includes setting up loopback ports, interconnecting routers, and configuring static routes to enable communication between devices. Key points include different methods for specifying outbound interfaces and the use of default routes to simplify configurations.

Uploaded by

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

Static Routing Lab Guide

The Static Routing Lab Guide provides instructions for a network administrator to learn and configure static routing using Ruijie routers. The lab includes setting up loopback ports, interconnecting routers, and configuring static routes to enable communication between devices. Key points include different methods for specifying outbound interfaces and the use of default routes to simplify configurations.

Uploaded by

Truong Van Hung
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Static Routing Lab Guide

1 Static Routing Lab Guide


1.1 Lab Introduction
1.1.1 Background
A customer purchases a batch of Ruijie routers. The customer's network administrator is a
new employee, who decides to get familiar with the principles and basic configurations of static
routing by using these devices.
As the customer's service manager, you need to instruct the network administrator to
complete the experiment according to the basic principles of static routing, and master the
basic principles and configurations of static routing.
1.1.2 Lab Purpose
(1) Master the technical principles of static routing.
(2) Master the application scenarios and configuration methods of static routing.
1.1.3 Lab Topology
Figure 1-1 Topology of the Static Routing Lab

1.1.4 Lab Requirements


(1) One loopback port needs to be configured for R1 and its address is [Link]/32. Four
loopback ports need to be configured for R3 and their addresses are [Link]/32,
[Link]/32, [Link]/32, and [Link]/32.
(2) The addresses for interconnecting R1 and R2 are [Link]/24 and [Link]/24 respectively,
and the addresses for interconnecting R2 and R3 are [Link]/24 and [Link]/24
respectively.
(3) Configure static routes to implement interconnection and interworking between loopback
ports of R1 and R3.
1.1.5 Configuration Ideas
(1) Complete basic IP address configuration, including configuring loopback port addresses and
interconnected port addresses.
(2) Configure static routes for devices one by one along the data flow direction.
1.1.6 Procedure
Complete basic IP address configuration.
R1:
Ruijie-R1(config)#inter loopback 1
Ruijie-R1(config-if-Loopback 1)#ip add [Link] 32
Ruijie-R1(config-if-Loopback 1)#inter g0/0
Ruijie-R1(config-if-GigabitEthernet 0/0)#no switchport
Ruijie-R1(config-if-GigabitEthernet 0/0)#ip add [Link] 24

1
Static Routing Lab Guide

R2:
Ruijie-R2(config)#inter g0/0
Ruijie-R2(config-if-GigabitEthernet 0/0)#no switchport
Ruijie-R2(config-if-GigabitEthernet 0/0)#ip add [Link] 24
Ruijie-R2(config-if-GigabitEthernet 0/0)#inter g0/1
Ruijie-R2(config-if-GigabitEthernet 0/1)#no switchport
Ruijie-R2(config-if-GigabitEthernet 0/1)#ip add [Link] 24

R3:
Ruijie-R3(config)#inter loo 1
Ruijie-R3(config-if-Loopback 1)#ip add [Link] 32
Ruijie-R3(config-if-Loopback 1)#inter loo 2
Ruijie-R3(config-if-Loopback 2)#ip add [Link] 32
Ruijie-R3(config-if-Loopback 2)#inter loo 3
Ruijie-R3(config-if-Loopback 3)#ip add [Link] 32
Ruijie-R3(config-if-Loopback 3)#inter loo 4
Ruijie-R3(config-if-Loopback 4)#ip add [Link] 32
Ruijie-R3(config)#interface g0/0
Ruijie-R3(config-if-GigabitEthernet 0/0)#no swit
Ruijie-R3(config-if-GigabitEthernet 0/0)#ip add [Link] 24

(1) Configure static routes for devices one by one.


a Configure static routes for the outbound direction of access data flow from [Link] to
192.168.X.1.
R1:
Ruijie-R1(config)# ip route [Link] [Link] GigabitEthernet 0/0
Ruijie-R1(config)# ip route [Link] [Link] [Link]
Ruijie-R1(config)# ip route [Link] [Link] GigabitEthernet 0/0 [Link]
Ruijie-R1(config)# ip route [Link] [Link] GigabitEthernet 0/0 [Link]

R2:
Ruijie-R2(config)#ip route [Link] [Link] g0/1 [Link]
Ruijie-R2(config)#ip route [Link] [Link] g0/1 [Link]
Ruijie-R2(config)#ip route [Link] [Link] g0/1 [Link]
Ruijie-R2(config)#ip route [Link] [Link] g0/1 [Link]

b Configure static routes for the inbound direction of access data flow from [Link] to
192.168.X.1.
R2:
Ruijie-R2(config)#ip route [Link] [Link] g0/0 [Link]

R3:
Ruijie-R3(config)#ip route [Link] [Link] g0/0 [Link]

2
Static Routing Lab Guide

1.1.7 Result Verification


(1) Check the routing tables of R1, R2, and R3. The four static routes on R1 are configured in
three ways. Therefore, pay attention to the routing table of R1 and find out the differences
between the static routes configured using the three ways.

3
Static Routing Lab Guide

(2) Test the connectivity between loopback ports on R1 and R3 separately.

4
Static Routing Lab Guide

1.2 Key Points of the Lab


(1) When static routes are configured, the outbound interface/next hop can be specified in three
ways:
ip route [Link] [Link] Next-hop
ip route [Link] [Link] Out-interface
ip route [Link] [Link] Next-hop Out-interface
Routing entries displayed in the routing table vary with the configuration method. See the
figures below.
If only the next-hop address is configured, a static route is displayed in the routing table,
the administrative distance is 1, the cost value is 0, and no information about the outbound
interface is displayed. If a data packet matches the route, the device performs the next step
and finds out the outbound interface for sending out the packet. The method of finding out the
outbound interface is to query the local routing table and identify the outbound interface
corresponding to the next-hop address. In this experiment, [Link] matches the route
[Link]/24, so the outbound interface is G0/0. This method is called "route iterative query".
If only a local outbound interface is configured, "directly connected" is displayed in the
routing table. After configuration, the device displays the following message, advising you to
specify a next-hop IP address when the outbound interface is a non-point-to-point link.

[Suggestion] Configure both the local outbound interface and next-hop address. The route
will be displayed as a static route in the routing table, and both the local outbound interface
and next-hop address will be displayed.
(2) Default routes are a special type of static routes. In this experiment, the four static routes
configured on R1 have the same outbound interface and next-hop address. One default
route can be configured to replace the four static routes.
Ruijie-R1(config)#ip route [Link] [Link] g0/0 [Link]

5
Static Routing Lab Guide

You might also like