Lab E: Configuring Local Name Resolution on Cisco IOS Devices

Lab Objective:

The objective of this lab exercise is for you to learn and understand how to configure name resolution on Cisco IOS devices.

Lab Purpose:

Configuring name resolution on Cisco IOS devices is a fundamental skill. Name resolution can be used to provide hostnames to Layer 3 address mapping instead of DNS services. It is typically used in small networks with a few internetwork devices. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to configure name resolution on Cisco IOS devices.

Certification Level:

This lab is suitable for CCNA certification exam preparation.

Lab Difficulty:

This lab has a difficulty rating of 5/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:

Lab E: Configuring Local Name Resolution on Cisco IOS Devices 1

Task 1:

Configure a hostname on your router. Task 2: Configure R1 to provide clocking to R3 at rate of 256 Kbps. Next, configure the IP addresses on R1 and R3 as illustrated in the network topology.

Task 3:

Configure R1 with a static default route pointing to R3. Next, configure the two Loopback interfaces on R2 as illustrated in the network topology.

Task 4:

Configure local host name resolution on R1 for R3 Loopback0 and Loopback1. Use the IP addresses of the Loopback interfaces and the hostnames R3-LOOP0 and R3-LOOP1, respectively, on R1.

Task 5:

Test your configurations by pinging R3-LOOP0 and R3-LOOP1. These hostnames should be resolved to the IP addresses of the Loopback0 and Loopback1 interfaces on R3, respectively.

Configuration and Verification

Task 1:

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

Task 2:

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

Task 3:

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

R3#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R3(config)#int lo0 
R3(config-if)#ip add 10.0.0.3 255.255.255.0 
R3(config-if)#exit 
R3(config)#int lo1 
R3(config-if)#ip add 10.1.1.3 255.255.255.0 
R3(config-if)#exit
R3(config)#end 
R3#

Task 4:

R1#conf t 
Enter configuration commands, one per line.  End with CTRL/Z. 
R1(config)#ip host R3-LOOP0 10.0.0.3 
R1(config)#ip host R3-LOOP1 10.1.1.3 
R1(config)#end 
R1# 
R1#show host 
Default domain is not set 
Name/address lookup uses domain service 
Name servers are 255.255.255.255 

Codes: UN - unknown, EX - expired, OK - OK, ?? – revalidate, 
       temp - temporary, perm – permanent, 
       NA - Not Applicable None - Not defined 

Host                      Port  Flags      Age Type   Address(es) 
R3-LOOP0                  None  (perm, OK)  0   IP    10.0.0.3 
R3-LOOP1                  None  (perm, OK)  0   IP    10.1.1.3

Task 5:

R1#ping R3-LOOP0 

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

R1#ping R3-LOOP1 

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

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x