100% found this document useful (1 vote)
1K views11 pages

CCNA 200-301 - Lab-4 Static Routing v1.0

The document describes configuring static routing on three routers - R1, R2, and R3. Static routes are configured pointing the routers to their respective next hop interfaces. Ping tests are run to verify connectivity between networks configured on each router. Cloud-PC, PC-2, and PC-3 are able to ping each other, demonstrating the static routes are functioning properly to provide network reachability as configured.
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
100% found this document useful (1 vote)
1K views11 pages

CCNA 200-301 - Lab-4 Static Routing v1.0

The document describes configuring static routing on three routers - R1, R2, and R3. Static routes are configured pointing the routers to their respective next hop interfaces. Ping tests are run to verify connectivity between networks configured on each router. Cloud-PC, PC-2, and PC-3 are able to ping each other, demonstrating the static routes are functioning properly to provide network reachability as configured.
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

CCNA - 200-301 Static Routing

Static Routing

info@[Link]
Task
1. Configure routers with IP address as shown in topology and configure enable
password as ccna and device access password as cisco (Refer Lab-1)
2. Configure static routes (next-hop / exit interface) on routers to provide network
reachability.
3. Cloud-PC, PC-2 & PC-3 should ping each other.
Note: Cloud-PC is a cloud which bridge the R1 router with loopback adapter on real PC.

Static routing on R1 Router

R1#config t
R1(config)#ip route [Link] [Link] [Link]
R1(config)#ip route [Link] [Link] [Link]
R1(config)#ip route [Link] [Link] [Link]
R1(config)#exit
R1#

Static routing on R2 Router

R2#config t
R2(config)#ip route [Link] [Link] [Link]
R2(config)#ip route [Link] [Link] [Link]
R2(config)#exit
R2#
1 Page

[Link]
+91 8551802268
CCNA Labs by Ratan
Static routing on R3 Router

R3#config t
R3(config)#ip route [Link] [Link] [Link]
R3(config)#ip route [Link] [Link] [Link]
R3(config)#ip route [Link] [Link] [Link]
R3(config)#exit
R3#

✓ Verification & Testing:

R1#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
We Make Learning Simplified..

+ - replicated route, % - next hop override

Gateway of last resort is not set

[Link]/8 is variably subnetted, 2 subnets, 2 masks


C [Link]/24 is directly connected, Serial2/0
L [Link]/32 is directly connected, Serial2/0
[Link]/24 is subnetted, 1 subnets
S [Link] [1/0] via [Link]
[Link]/24 is variably subnetted, 2 subnets, 2 masks
C [Link]/24 is directly connected, FastEthernet0/0
L [Link]/32 is directly connected, FastEthernet0/0
S [Link]/24 [1/0] via [Link]
S [Link]/24 [1/0] via [Link]
R1#

R2#sh ip route static


Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override

Gateway of last resort is not set

S [Link]/24 [1/0] via [Link]


S [Link]/24 [1/0] via [Link]
2

R2#
Page

[Link]
+91 8551802268
CCNA - 200-301 Static Routing
R3#sh ip route static | begin Gateway
Gateway of last resort is not set

[Link]/24 is subnetted, 1 subnets


S [Link] [1/0] via [Link]
S [Link]/24 [1/0] via [Link]
S [Link]/24 [1/0] via [Link]
R3#

R1#sh protocols | exclude down


Global values:
Internet Protocol routing is enabled
FastEthernet0/0 is up, line protocol is up
Internet address is [Link]/24
Serial2/0 is up, line protocol is up
Internet address is [Link]/24

R2#sh protocols | exclude down


Global values:
Internet Protocol routing is enabled
FastEthernet0/0 is up, line protocol is up

info@[Link]
Internet address is [Link]/24
FastEthernet1/1 is up, line protocol is up
Internet address is [Link]/24
Serial2/0 is up, line protocol is up
Internet address is [Link]/24

R3#sh protocols | exclude down


Global values:
Internet Protocol routing is enabled
FastEthernet0/0 is up, line protocol is up
Internet address is [Link]/24
FastEthernet1/1 is up, line protocol is up
Internet address is [Link]/24

Ping PC2 & PC3 from R1

R1#ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/59/84 ms

R1#ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 76/84/112 ms
R1#
3 Page

[Link]
+91 8551802268
CCNA Labs by Ratan
Ping Cloud-PC & PC3 from R2

R2#ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/58/80 ms

R2#ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/55/60 ms
R2#

Ping Cloud-PC & PC2 from R3

R3#ping [Link]
Type escape sequence to abort.
We Make Learning Simplified..

Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:


!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 68/84/104 ms

R3#ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 76/78/80 ms
R3#

Ping PC2 & PC3 from Cloud-PC

C:\Users\Ratan>ping [Link]

Pinging [Link] with 32 bytes of data:


Reply from [Link]: bytes=32 time=3039ms TTL=62
Reply from [Link]: bytes=32 time=34ms TTL=62
Reply from [Link]: bytes=32 time=36ms TTL=62
Reply from [Link]: bytes=32 time=39ms TTL=62

Ping statistics for [Link]:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 34ms, Maximum = 3039ms, Average = 787ms

C:\Users\Ratan>ping [Link]

Pinging [Link] with 32 bytes of data:


Reply from [Link]: bytes=32 time=3050ms TTL=61
4

Reply from [Link]: bytes=32 time=56ms TTL=61


Page

Reply from [Link]: bytes=32 time=60ms TTL=61

[Link]
+91 8551802268
CCNA - 200-301 Static Routing
Reply from [Link]: bytes=32 time=60ms TTL=61

Ping statistics for [Link]:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 56ms, Maximum = 3050ms, Average = 806ms

Ping Cloud-PC & PC3 from PC2

PC2> ping [Link]


84 bytes from [Link] icmp_seq=1 ttl=126 time=43.200 ms
84 bytes from [Link] icmp_seq=2 ttl=126 time=42.535 ms
84 bytes from [Link] icmp_seq=3 ttl=126 time=34.526 ms
84 bytes from [Link] icmp_seq=4 ttl=126 time=36.341 ms
84 bytes from [Link] icmp_seq=5 ttl=126 time=42.530 ms

PC2> ping [Link]


84 bytes from [Link] icmp_seq=1 ttl=62 time=36.183 ms
84 bytes from [Link] icmp_seq=2 ttl=62 time=43.534 ms
84 bytes from [Link] icmp_seq=3 ttl=62 time=36.352 ms
84 bytes from [Link] icmp_seq=4 ttl=62 time=39.167 ms

info@[Link]
84 bytes from [Link] icmp_seq=5 ttl=62 time=41.213 ms

Ping Cloud-PC & PC2 from PC3

PC3> ping [Link]


84 bytes from [Link] icmp_seq=1 ttl=125 time=64.098 ms
84 bytes from [Link] icmp_seq=2 ttl=125 time=63.022 ms
84 bytes from [Link] icmp_seq=3 ttl=125 time=55.364 ms
84 bytes from [Link] icmp_seq=4 ttl=125 time=56.361 ms
84 bytes from [Link] icmp_seq=5 ttl=125 time=65.387 ms

PC3> ping [Link]


84 bytes from [Link] icmp_seq=1 ttl=62 time=39.457 ms
84 bytes from [Link] icmp_seq=2 ttl=62 time=38.493 ms
84 bytes from [Link] icmp_seq=3 ttl=62 time=37.288 ms
84 bytes from [Link] icmp_seq=4 ttl=62 time=37.205 ms
84 bytes from [Link] icmp_seq=5 ttl=62 time=35.614 ms

Trace the path for PC2 & PC3 from Cloud-PC

C:\Users\Ratan>tracert [Link]

Tracing route to DESKTOP-CD66NV2 [[Link]]


over a maximum of 30 hops:

1 7 ms 9 ms 10 ms [Link]
2 32 ms 29 ms 30 ms [Link]
3 52 ms 52 ms 53 ms [Link]
4 3057 ms 62 ms 61 ms DESKTOP-CD66NV2 [[Link]]
5 Page

[Link]
+91 8551802268
CCNA Labs by Ratan
Trace complete.

C:\Users\Ratan>tracert [Link]

Tracing route to DESKTOP-CD66NV2 [[Link]]


over a maximum of 30 hops:

1 10 ms 10 ms 8 ms [Link]
2 31 ms 31 ms 30 ms [Link]
3 34 ms 40 ms 39 ms DESKTOP-CD66NV2 [[Link]]

Trace complete.

R1#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet [Link] - ca01.2088.0008 ARPA FastEthernet0/0
Internet [Link] 0 0200.4c4f.4f50 ARPA FastEthernet0/0
R1#
We Make Learning Simplified..

R2#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet [Link] - ca02.0c24.0008 ARPA FastEthernet0/0
Internet [Link] 7 ca03.1e00.0008 ARPA FastEthernet0/0
Internet [Link] - ca02.0c24.001d ARPA FastEthernet1/1
Internet [Link] 7 0050.7966.6801 ARPA FastEthernet1/1
R2#

R3#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet [Link] 7 ca02.0c24.0008 ARPA FastEthernet0/0
Internet [Link] - ca03.1e00.0008 ARPA FastEthernet0/0
Internet [Link] - ca03.1e00.001d ARPA FastEthernet1/1
Internet [Link] 7 0050.7966.6800 ARPA FastEthernet1/1
R3#

R1#sh ip route [Link]


Routing entry for [Link]/24
Known via "static", distance 1, metric 0
Routing Descriptor Blocks:
* [Link]
Route metric is 0, traffic share count is 1

R1#sh ip route [Link]


Routing entry for [Link]/24
Known via "static", distance 1, metric 0
Routing Descriptor Blocks:
* [Link]
Route metric is 0, traffic share count is 1
6

R2#sh ip route [Link]


Page

Routing entry for [Link]/24

[Link]
+91 8551802268
CCNA - 200-301 Static Routing
Known via "static", distance 1, metric 0
Routing Descriptor Blocks:
* [Link]
Route metric is 0, traffic share count is 1

R2#sh ip route [Link]


Routing entry for [Link]/24
Known via "static", distance 1, metric 0
Routing Descriptor Blocks:
* [Link]
Route metric is 0, traffic share count is 1

R3#sh ip route [Link]


Routing entry for [Link]/24
Known via "static", distance 1, metric 0
Routing Descriptor Blocks:
* [Link]
Route metric is 0, traffic share count is 1

R3#sh ip route [Link]


Routing entry for [Link]/24

info@[Link]
Known via "static", distance 1, metric 0
Routing Descriptor Blocks:
* [Link]
Route metric is 0, traffic share count is 1

PC2> sh arp
[Link] [Link] expires in 56 seconds

PC3> sh arp
[Link] [Link] expires in 112 seconds

C:\Users\Ratan>arp -a

Interface: [Link] --- 0x18


Internet Address Physical Address Type
[Link] ca-01-20-88-00-08 dynamic
[Link] ff-ff-ff-ff-ff-ff static
[Link] 01-00-5e-00-00-02 static
[Link] 01-00-5e-00-00-16 static
[Link] 01-00-5e-00-00-fb static
[Link] 01-00-5e-00-00-fc static
7 Page

[Link]
+91 8551802268
CCNA Labs by Ratan
Remove the previous configured static route and reconfigure the static route
with self-exit interface.

Static routing on R1 Router

R1#config t
R1(config)#no ip route [Link] [Link] [Link]
R1(config)#no ip route [Link] [Link] [Link]
R1(config)#no ip route [Link] [Link] [Link]
R1(config)#ip route [Link] [Link] s2/0
R1(config)#ip route [Link] [Link] s2/0
R1(config)#ip route [Link] [Link] s2/0
R1(config)#exit
R1#

Static routing on R2 Router

R2#config t
We Make Learning Simplified..

R2(config)#no ip route [Link] [Link] [Link]


R2(config)#no ip route [Link] [Link] [Link]
R2(config)#ip route [Link] [Link] s2/0
R2(config)#ip route [Link] [Link] fa0/0
R2(config)#exit
R2#

Static routing on R3 Router

R3#config t
R3(config)#no ip route [Link] [Link] [Link]
R3(config)#no ip route [Link] [Link] [Link]
R3(config)#no ip route [Link] [Link] [Link]
R3(config)#ip route [Link] [Link] fa0/0
R3(config)#ip route [Link] [Link] fa0/0
R3(config)#ip route [Link] [Link] fa0/0
R3(config)#exit
R3#

✓ Verification & Testing:

R1#sh ip route static | begin Gateway


Gateway of last resort is not set

[Link]/24 is subnetted, 1 subnets


S [Link] is directly connected, Serial2/0
S [Link]/24 is directly connected, Serial2/0
S [Link]/24 is directly connected, Serial2/0
R1#
8 Page

[Link]
+91 8551802268
CCNA - 200-301 Static Routing
R2#sh ip route static | begin Gateway
Gateway of last resort is not set

S [Link]/24 is directly connected, Serial2/0


S [Link]/24 is directly connected, FastEthernet0/0
R2#

R3#sh ip route static | begin Gateway


Gateway of last resort is not set

[Link]/24 is subnetted, 1 subnets


S [Link] is directly connected, FastEthernet0/0
S [Link]/24 is directly connected, FastEthernet0/0
S [Link]/24 is directly connected, FastEthernet0/0
R3#

Ping PC2 & PC3 from R1

R1#ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:

info@[Link]
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/59/84 ms

R1#ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 76/84/112 ms
R1#

Ping Cloud-PC & PC3 from R2

R2#ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/58/80 ms

R2#ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/55/60 ms
R2#
9 Page

[Link]
+91 8551802268
CCNA Labs by Ratan
Ping Cloud-PC & PC2 from R3

R3#ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 68/84/104 ms

R3#ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 76/78/80 ms
R3#
We Make Learning Simplified..
10Page

[Link]
+91 8551802268
CCNA - 200-301 Static Routing

Important Commands:
sh ip route
sh ip route static
sh ip route static | begin Gateway
sh protocols | exclude down
sh arp

info@[Link]
11 Page

[Link]
+91 8551802268

You might also like