Lab 23: Configuring Default Static Routes

Lab Objective:

The objective of this lab exercise is for you to learn and understand how to configure default static routes on Cisco IOS routers. By default, no default routes exist on Cisco IOS routers.

Lab Purpose:

Static default route configuration is a fundamental skill. Default routes are used to forward traffic to destinations where the router does not have a specific route to its routing table. They can also be used to forward all external traffic (such as Internet traffic) to an Internet Service Provider, for example. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to configure static default routes.

Certification Level:

This lab is suitable for both CCENT and CCNA certification exam preparation.

Lab Difficulty:

This lab has a difficulty rating of 6/10.

Readiness Assessment:

When you are ready for your certification exam, you should complete this lab in no more than 10 minutes.

Lab Topology:

Please use the following topology to complete this lab exercise:

Task 1:

Configure the hostnames on routers R1 and R2 as illustrated in the topology.

Task 2:

Configure a back-to-back Serial connection between R1 and R2. Configure the DCE interface Serial0/0 in R1 to provide clocking to R2 at a clock speed of 256 Kbps. Ignore this if you are using GNS3.

Task 3:

Configure IP addresses 192.168.254.1/30 and 192.168.254.2/30 on R1 and R2 Serial0/0 interfaces, respectively. Configure the Loopback interfaces on R1 with the IP addresses illustrated in the topology.

Task 4:

Configure a static default route from R2 pointing to R1. Ping each Loopback interface configured on R1 from R2 to verify your static route configuration.

Configuration and Verification

Task 1:

For reference information on configuring hostnames, please refer to earlier labs.

Task 2:

For reference information on configuring DCE interfaces, please refer to earlier labs.

Task 3:

R1#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R1(config)#int s0/0 
R1(config-if)#ip add 192.168.254.1 255.255.255.252 
R1(config-if)#exit 
R1(config)#interface loop100 
R1(config-if)#ip address 172.18.0.1 255.255.254.0 
R1(config-if)#exit 
R1(config)#interface loop101 
R1(config-if)#ip add 10.100.100.1 255.255.255.192 
R1(config-if)#exit 
R1(config)#int loop102 
R1(config-if)#ip address 192.168.30.1 255.255.255.248 
R1(config-if)#^Z 
R1# 

R2#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R2(config)#int s0/0 
R2(config-if)#ip add 192.168.254.2 255.255.255.252 
R2(config-if)#end 
R2# 

R1#ping 192.168.254.2

Type escape sequence to abort. 
Sending 5, 100-byte ICMP Echos to 192.168.254.2, timeout is 2 seconds: 
!!!!! 
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms

Task 4:

R2#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R2(config)#ip route 0.0.0.0 0.0.0.0 serial0/0 192.168.254.1 
R2(config)#end 
R2# 

R2#show ip route 
Codes: 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 

Gateway of last resort is 192.168.254.1 to network 0.0.0.0 

        192.168.254.0/30 is subnetted, 1 subnets 
C       192.168.254.0 is directly connected, Serial0/0 
        150.1.0.0/24 is subnetted, 1 subnets 
C       150.1.1.0 is directly connected, FastEthernet0/0 
S*   0.0.0.0/0 [1/0] via 192.168.254.1, Serial0/0 

R2#ping 172.18.0.1 

Type escape sequence to abort. 
Sending 5, 100-byte ICMP Echos to 172.18.0.1, timeout is 2 seconds: 
!!!!! 
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/12/32 ms

R2#ping 10.100.100.1 

Type escape sequence to abort. 
Sending 5, 100-byte ICMP Echos to 10.100.100.1, timeout is 2 seconds: 
!!!!! 
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms 

R2#ping 192.168.30.1 

Type escape sequence to abort. 
Sending 5, 100-byte ICMP Echos to 192.168.30.1, timeout is 2 seconds: 
!!!!! 
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/7/8 ms

Related Articles

Leave a Reply

avatar