Professional Documents
Culture Documents
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
end
hostname host-name
Command
Description
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
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.
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.
5.
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.
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.
1.
2.
Issue the command that will allow you to review the ARP table entry that was created as a result of
the ping above.
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
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
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
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
Copyright 19962013 Boson Software, LLC. All rights reserved. NetSim software and documentation are protected by copyright law.