You are on page 1of 6

Lab ID: 9.9K913A044.SAI1.

Stand-Alone Lab: Address Resolution Protocol


Objective
Ping between routers to test connectivity. View the entries stored in the Address Resolution Protocol (ARP)
table. Congure Router1 and Router2 with the appropriate settings.

Lab Topology
The lab topology displays information about the network devices in the lab.
Fa0/0

Router2

Fa0/0

Fa0/1

S0/1

Router1

Router5

S0/0

S0/0

Fa0/0

Router3

S0/0

Fa0/0

Fa0/1

Router4

Switch2

Fa0/0

Fa0/1
Fa0/2

Switch1
PC1

Command Summary
Command

Description

clear arp
congure terminal
enable

deletes all entries from the ARP table


enters global conguration mode from privileged EXEC mode
enters privileged EXEC mode

end
hostname host-name

ends and exits conguration mode


sets the device name

interface type number

changes from global conguration mode to interface


conguration mode

Boson NetSim Lab Manual

Command

Description

ip address ip-address subnet-mask

assigns an IP address to an interface

no shutdown
ping ip-address

enables an interface
sends an Internet Control Message Protocol (ICMP) echo
request to the specied address

show arp
show ip interface brief
show running-cong

displays the entries in the ARP table


displays a brief summary of interface status and conguration
displays the active conguration le

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

10.1.1.1

255.255.255.0

Router2

FastEthernet 0

10.1.1.2

255.255.255.0

Lab Tasks
Task 1: Congure the Routers
This task involves conguring Router1 and Router2 and viewing the ARP table. The ARP table contains
a list of IP addresses mapped to Media Access Control (MAC) addresses. When a host knows the IP
address of a remote destination but not the destination MAC address, it broadcasts an ARP request. When
a Cisco router receives an ARP request for a device located on a remote network, the router will reply to
the ARP request with the MAC address of the router interface that is local to the sending host, indicating
that the host should send the packet to the Cisco router. In effect, the router accepts responsibility for
delivering the data to the remote destination. The router then uses the information stored in its ARP table to
forward the data it receives to the correct destination.

1.

Congure Router1 with a host name of Router1.

2.

On Router1, view the ARP table. This command will display the current IP address-to-MAC address
mapping stored in Router1s ARP table.

3.

On Router1, congure the FastEthernet 0/0 interface with the appropriate IP address and subnet
mask; refer to the IP Addresses table. Enable the interface.

4.

On Router1, view the ARP table again.

5.

Congure Router2 with a host name of Router2.

6.

On Router2, congure the FastEthernet 0/0 interface with the appropriate IP address and subnet
mask; refer to the IP Addresses table. Enable the interface.

Boson NetSim Lab Manual

Task 2: Verify ARP Entries


This task veries that ARP updates can be sent between Router1 and Router2.
1.

On Router1, verify that the connection on the FastEthernet 0/0 interface is up.

2.

Ping Router2s FastEthernet 0/0 interface from Router1. The ping should be successful.

3.

View the ARP table on Router1, and notice the new entry.

Task 3: Clear the ARP Table


Perform the following steps on Router1:

1.

Issue the command that will clear the ARP table.

2.

Issue the command that will allow you to review the ARP table entry that was created as a result of
the ping above.

Boson NetSim Lab Manual

Lab Solutions
Task 1: Congure the Routers
This task involves conguring Router1 and Router2 and viewing the ARP table. The ARP table contains
a list of IP addresses mapped to Media Access Control (MAC) addresses. When a host knows the IP
address of a remote destination but not the destination MAC address, it broadcasts an ARP request. When
a Cisco router receives an ARP request for a device located on a remote network, the router will reply to
the ARP request with the MAC address of the router interface that is local to the sending host, indicating
that the host should send the packet to the Cisco router. In effect, the router accepts responsibility for
delivering the data to the remote destination. The router then uses the information stored in its ARP table to
forward the data it receives to the correct destination.
1.

Issue the following commands to congure Router1 with a host name of Router1:
Router>enable
Router#configure terminal
Router(config)#hostname Router1
Router1(config)#end

2.

On Router1, use the show arp command to view the ARP table. The show arp command will
display the current IP address-to-MAC address mapping stored in Router1s ARP table. Below is
sample output:
Router1#show arp
Protocol Address

3.

Age (min)

Hardware Addr

Type

Interface

On Router1, issue the following commands to congure the FastEthernet 0/0 interface with the
appropriate IP address and subnet mask and to enable the interface:
Router1#configure terminal
Router1(config)#interface fastethernet 0/0
Router1(config-if)#ip address 10.1.1.1 255.255.255.0
Router1(config-if)#no shutdown
Router1(config-if)#end

4.

On Router1, view the ARP table again. Below is sample output; the output you see under Hardware
Addr might be different:
Router1#show arp
Protocol Address
Internet 10.1.1.1

5.

Age (min)
-

Hardware Addr
000C.3962.6232

Type
ARPA

Interface
FastEthernet0/0

Issue the following commands to congure Router2 with a host name of Router2:
Router>enable
Router#configure terminal
Router(config)#hostname Router2

Boson NetSim Lab Manual

6.

On Router2, issue the following commands to congure the FastEthernet 0/0 interface with the
appropriate IP address and subnet mask and to enable the interface:
Router2(config)#interface fastethernet 0/0
Router2(config-if)#ip address 10.1.1.2 255.255.255.0
Router2(config-if)#no shutdown
Router2(config-if)#end

Task 2: Verify ARP Entries


This task veries that ARP updates can be sent between Router1 and Router2.
1.

On Router1, enter the show ip interface brief command to verify that the connection on the
FastEthernet 0 interface is up. Sample output is shown below:
Router1#show ip interface brief
Interface
IP-Address
OK?
Serial0/0
unassigned
YES
Serial0/1
unassigned
YES
FastEthernet0/0
10.1.1.1
YES
FastEthernet0/1
unassigned
YES

2.

Method
unset
unset
unset
unset

Status
administratively down
administratively down
up
administratively down

Protocol
down
down
up
down

Ping Router2s FastEthernet 0 interface from Router1. The ping should be successful.
Router1#ping 10.1.1.2

3.

View the ARP table on Router1, and notice the new entry. Below is sample output; the output you
see under Hardware Addr might be different:
Router1#show arp
Protocol Address
Internet 10.1.1.1
Internet 10.1.1.2

Age (min)
13

Hardware Addr
000C.3962.6232
000C.8499.1947

Type
ARPA
ARPA

Interface
FastEthernet0/0
FastEthernet0/0

Task 3: Clear the ARP Table


Perform the following steps on Router1:
1.

Issue the clear arp command to clear the ARP table.


Router1#clear arp

2.

Issue the show arp command. The ARP table entry that was created as a result of the ping above
should now be cleared. Below is sample output; the output you see under Hardware Addr might be
different.
Router1#show arp
Protocol Address
Internet 10.1.1.1

Age (min)
-

Hardware Addr
000C.3962.6232

Type
ARPA

Interface
FastEthernet0/0

Boson NetSim Lab Manual

Sample Conguration Script


Router1
Router1#show running-config
Building configuration...
Current configuration : 656 bytes
!
Version 12.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router1
!
ip subnet-zero
!
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 10.1.1.1 255.255.255.0
no ip directed-broadcast
!
interface FastEthernet0/1
no ip address
no ip directed-broadcast
shutdown
!
ip classless
no ip http server
!
line con 0
line aux 0
line vty 0 4
!
no scheduler allocate
end

Copyright 19962013 Boson Software, LLC. All rights reserved. NetSim software and documentation are protected by copyright law.

Boson NetSim Lab Manual

You might also like