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

Static Routing Lab for Routers Setup

The document outlines a lab exercise focused on configuring static routes between routers to enable communication between devices in different subnets. It includes a detailed topology diagram, command summaries, IP address assignments, and step-by-step tasks for configuring routers and verifying connectivity. The lab aims to teach users how to establish static routes and troubleshoot connectivity issues in a simulated network environment.

Uploaded by

jartchannel2004
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)
10 views7 pages

Static Routing Lab for Routers Setup

The document outlines a lab exercise focused on configuring static routes between routers to enable communication between devices in different subnets. It includes a detailed topology diagram, command summaries, IP address assignments, and step-by-step tasks for configuring routers and verifying connectivity. The lab aims to teach users how to establish static routes and troubleshoot connectivity issues in a simulated network environment.

Uploaded by

jartchannel2004
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

Lab ID: 9.9K614A053.SAI1.

Stand-Alone Lab: Static Routes I


Objective
Learn to add static routes to routers so that devices in different subnets can communicate.

Lab Topology
The topology diagram below represents the NetMap in the Simulator.
Fa0/0 Fa0/0 S0/1 S0/0

Router2 Router1 Router5


Fa0/1
S0/0 Fa0/0

Fa0/0 S0/0 Fa0/1

Router3 Router4 Switch2


Fa0/0

Fa0/1
Fa0/2

Switch1

PC1

Command Summary
Command Description
clock rate clock-rate sets the clock rate for a Data Communications Equipment
(DCE) interface
configure terminal enters global configuration mode from privileged EXEC mode
enable enters privileged EXEC mode
end ends and exits configuration mode
exit exits one level in the menu structure
hostname host-name sets the device name
interface type number changes from global configuration mode to interface
configuration mode
ip address ip-address subnet-mask assigns an IP address to an interface
ip route destination-prefix destination- establishes a static route
prefix-mask {ip-address | interface-type
[ip-address]}
no shutdown enables an interface

1 Boson NetSim Lab Manual


Command Description
ping ip-address sends an Internet Control Message Protocol (ICMP) echo
request to the specified address
show ip route displays the IP routing table
show running-config displays the active configuration file

The IP addresses and subnet masks used in this lab are shown in the table below:

IP Addresses
Device Interface IP Address Subnet Mask
Router1 FastEthernet 0/0 [Link] [Link]
Serial 0/0 [Link] [Link]
Router2 FastEthernet 0/0 [Link] [Link]
Router4 Serial 0/0 [Link] [Link]

Lab Tasks
Task 1: Configure the Router
This task involves configuring the three routers so that adjacent devices located in the same subnets can
communicate.
1. Configure Router1 with the appropriate host name, IP addresses, and subnet masks; refer to the IP
Addresses table. Enable the interfaces. Configure a clock rate of 64 Kbps on the Serial 0/0 interface.
A clock rate must be configured on Router1 because it is the DCE end of the link to Router4.

2. Configure Router2 with the appropriate host name, IP address, and subnet mask; refer to the IP
Addresses table. Enable the interface.

3. Configure Router4 with the appropriate host name, IP address, and subnet mask; refer to the IP
Addresses table. Enable the interface.

4. On Router1, verify that you can ping the directly connected neighbors ([Link] and [Link]).

5. On Router4, attempt to ping the FastEthernet 0/0 interface on Router2 ([Link]). The ping should
not be successful.

6. On Router2, attempt to ping the Serial 0/0 interface on Router4 ([Link]). The ping should not be
successful.

2 Boson NetSim Lab Manual


7. Why do the pings from Router4 to Router2 and from Router2 to Router4 fail? _________________
______________________________________________________________________________

Task 2: Configure and Verify Static Routes


This task involves establishing static routes on each router to any location that is not directly connected.
Router1 is directly connected to both Router2 and Router4, so it will not need any static routes. You will
verify the configuration using ping and show commands.
1. On Router2, configure a static IP route to the [Link] subnet. You should use the IP address of
Router1’s FastEthernet 0/0 interface as the gateway because any traffic destined to the [Link]
subnet can get there through Router1. Static routes are configured using the destination network
address, destination subnet mask, and IP address of the closest port of the forwarding router.

2. On Router2, attempt to ping Router1’s FastEthernet 0/0 interface ([Link]), Router1’s Serial 0/0
interface ([Link]), and Router4’s Serial 0/0 interface ([Link]). Why is the ping to Router4’s
Serial 0/0 interface unsuccessful? ___________________________________________________
______________________________________________________________________________

3. On Router4, configure a static IP route to the [Link] subnet. You should use the IP address of
Router1’s Serial 0/0 interface as the gateway because any traffic destined to the [Link] subnet can
get there through Router1.

4. On Router4, attempt to ping Router1’s FastEthernet 0/0 interface ([Link]), Router1’s Serial 0/0
interface ([Link]), and Router2’s FastEthernet 0/0 interface ([Link]). Are all pings successful?
______________________________________________________________________________

5. On Router4, view the routing table and verify that a route exists to the [Link] subnet.

6. On Router2, view the routing table and verify that a route exists to the [Link] subnet.

3 Boson NetSim Lab Manual


Lab Solutions
Task 1: Configure the Routers
1. Issue the following commands to configure Router1 with the appropriate host name, IP addresses,
and subnet masks, to enable the interfaces, and to configure a clock rate on Router1’s Serial 0/0
interface:

Router>enable
Router#configure terminal
Router(config)#hostname Router1
Router1(config)#interface fastethernet 0/0
Router1(config-if)#ip address [Link] [Link]
Router1(config-if)#no shutdown
Router1(config-if)#interface serial 0/0
Router1(config-if)#ip address [Link] [Link]
Router1(config-if)#clock rate 64000
Router1(config-if)#no shutdown

2. Issue the following commands to configure Router2 with the appropriate host name, IP address, and
subnet mask, to enable the interface:

Router>enable
Router#configure terminal
Router(config)#hostname Router2
Router2(config)#interface fastethernet 0/0
Router2(config-if)#ip address [Link] [Link]
Router2(config-if)#no shutdown

3. Issue the following commands to configure Router4 with the appropriate host name, IP address, and
subnet mask, to enable the interface:

Router>enable
Router#configure terminal
Router(config)#hostname Router4
Router4(config)#interface serial 0/0
Router4(config-if)#ip address [Link] [Link]
Router4(config-if)#no shutdown

4. Pings from Router1 to Router2’s FastEthernet 0/0 interface ([Link]) and Router4’s Serial 0/0
interface ([Link]) should be successful. If the pings fail, verify that you correctly configured the
interfaces.

Router1(config-if)#end
Router1#ping [Link]
Router1#ping [Link]

4 Boson NetSim Lab Manual


5. A ping from Router4 to Router2’s FastEthernet 0/0 interface should not be successful.

Router4(config-if)#end
Router4#ping [Link]

6. A ping from Router2 to Router4’s Serial 0/0 interface should not be successful.

Router2(config-if)#end
Router2#ping [Link]

7. The pings from Router4 to Router2 and from Router2 to Router4 fail because neither device knows
about the other device’s subnet; neither device has a route to the neighbor that is not directly
connected.

Task 2: Configure and Verify Static Routes


This task involves establishing static routes on each router to any location that is not directly connected.
Router1 is directly connected to both Router2 and Router4, so it will not need any static routes. You will
verify the configuration using ping and show commands.
1. On Router2, issue the following commands to configure a static IP route to the [Link] subnet.
You should use the IP address of Router1’s FastEthernet 0/0 interface as the gateway because any
traffic destined to the [Link] subnet can get there through Router1. Static routes are configured
using the destination network address, destination subnet mask, and IP address of the closest port
of the forwarding router, as shown in the ip route command syntax displayed below:

Router2#configure terminal
Router2(config)#ip route [Link] [Link] [Link]

2. The ping from Router2 to Router4’s Serial 0/0 interface ([Link]) is unsuccessful because once
the packet reaches Router4, Router4 will try to send the packet back to the source address. When
the packet reaches Router4, the source address is in the [Link] subnet, and Router4 does
not know how to get to that subnet. Pings to Router1’s FastEthernet 0/0 interface ([Link]) and
Router1’s Serial 0/0 interface ([Link]) are successful.

Router2(config)#end
Router2#ping [Link]
Router2#ping [Link]
Router2#ping [Link]

3. On Router4, issue the following commands to configure a static IP route to the [Link] subnet.
You should use the IP address of Router1’s Serial 0/0 interface as the gateway because any traffic
destined to the [Link] subnet can get there through Router1.

Router4#configure terminal
Router4(config)#ip route [Link] [Link] [Link]

5 Boson NetSim Lab Manual


4. Yes, all pings from Router4 to Router1’s Serial 0/0 interface ([Link]), Router1’s FastEthernet 0/0
interface ([Link]), and Router2’s FastEthernet 0/0 interface ([Link]) are successful.

Router4(config)#end
Router4#ping [Link]
Router4#ping [Link]
Router4#ping [Link]

5. Sample output from the show ip route command on Router4 shows that a route exists to the
[Link] subnet:

Router4#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B – BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E – EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route

Gateway of last resort is not set

[Link]/24 is subnetted, 1 subnets


C [Link] is directly connected, Serial0/0
[Link]/24 is subnetted, 1 subnets
S [Link] [1/0] via [Link]

6. Sample output from the show ip route command on Router2 shows that a route exists to the
[Link] subnet:

Router2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B – BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
E1 - OSPF external type 1, E2 - OSPF external type 2, E – EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route

Gateway of last resort is not set

[Link]/24 is subnetted, 1 subnets


C [Link] is directly connected, FastEthernet0/0
[Link]/24 is subnetted, 1 subnets
S [Link] [1/0] via [Link]

6 Boson NetSim Lab Manual


Sample Configuration Script
Router2
Router2#show running-config
Building configuration...
Current configuration : 700 bytes
!
Version 12.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router2
!
ip subnet-zero
!
ip cef
no ip domain-lookup
!
interface Serial0/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial0/1
no ip address
no ip directed-broadcast
shutdown
!
interface FastEthernet0/0
ip address [Link] [Link]
no ip directed-broadcast
!
interface FastEthernet0/1
no ip address
no ip directed-broadcast
shutdown
!
ip classless
no ip http server
!
ip route [Link] [Link] [Link]
!
line con 0
line aux 0
line vty 0 4
!
no scheduler allocate
end

Copyright © 1996–2014 Boson Software, LLC. All rights reserved. NetSim software and documentation are protected by copyright law.

7 Boson NetSim Lab Manual

You might also like