5.1.3.6 Lab - Viewing Network Device MAC Addresses
5.1.3.6 Lab - Viewing Network Device MAC Addresses
A
Addressing
g Table
Device
Interface
IP Ad
ddress
Subnet Mas
sk
Default Gateway
R1
G0/1
G
192.168
8.1.1
25
55.255.255.0
0
N/A
S1
VLAN
V
1
N/A
N /A
N/A
PC
C-A
NIC
N
192.168
8.1.3
25
55.255.255.0
0
192.168.1.1
O
Objectives
Part 1: Se
et Up the Top
pology and Initialize Dev
vices
Set up
p equipment to
t match the network topology.
Part 2: Co
onfigure Dev
vices and Ve
erify Connecttivity
Config
gure basic infformation on R1.
Verify
y network connectivity.
Analy
yze MAC addrress for PC-A
A.
Analy
yze MAC addrresses for rou
uter R1.
Displa
ay the MAC address
a
table on switch S1.
B
Backgroun
nd / Scenarrio
Every dev
vice on an Eth
hernet LAN is
s identified by a Layer-2 MA
AC address. T
This address is burned intto the
NIC. This lab will explo
ore and analyz
ze the compo
onents that m ake up a MAC
C address, an
nd how you ccan find
this inform
mation on variious networking devices, such
s
as a routter, switch, an
nd PC.
You will cable the equipment as sho
own in the top
pology. You w
will then config
gure the route
er and PC to match the
addressin
ng table. You will verify you
ur configuratio
ons by testing
g for network connectivity.
After the devices
d
have been configu
ured and netw
work connectivvity has been
n verified, you
u will use vario
ous
command
ds to retrieve information frrom the devices to answer questions ab
bout your netw
work equipme
ent.
Note: The
e routers used
d with CCNA hands-on lab
bs are Cisco 1
1941 Integrate
ed Services R
Routers (ISRss) with
Cisco IOS
S Release 15..2(4)M3 (univ
versalk9 image). The switch
hes used are
e Cisco Catalyyst 2960s with
h Cisco
IOS Relea
ase 15.0(2) (lanbasek9 ima
age). Other ro
outers, switch
hes, and Ciscco IOS version
ns can be use
ed.
Page 1 of 7
Required Resources
1 Router (Cisco 1941 with Cisco IOS Release 15.2(4)M3 universal image or comparable)
1 Switch (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or comparable)
Console cables to configure the Cisco IOS devices via the console ports
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 2 of 7
L
Lab Viewing Network Device
D
MAC Addresses
A
S
Step 3: Verify network
k connectiv
vity.
a. Ping the
t default ga
ateway addres
ss of R1 from
m PC-A.
Were the pings suc
ccessful?
P
Part 3: Display,
D
Describe,
D
and Ana
alyze Ethe
ernet MA
AC Addres
sses
Every dev
vice on an Eth
hernet LAN ha
as a Media Access
A
Contro
ol (MAC) addrress that is bu
urned into the
e Network
Interface Card
C
(NIC). Ethernet
E
MAC
C addresses are
a 48-bits lon
ng. They are d
displayed using six sets off
hexadecim
mal digits usu
ually separate
ed by dashes, colons, or pe
eriods. The fo
ollowing exam
mple shows th
he same
MAC address using the
e three differe
ent notation methods:
m
8-00
00-05-9A-3C-78
00:05:9A:3C:
0
78:00
0005.9A3C
C.7800
Note: MA
AC addresses are also calle
ed physical ad
ddresses, ha rdware addre
esses, or Ethe
ernet hardwarre
addresses
s.
In Part 3, you will issue
e commands to display the
e MAC addressses on a PC
C, router, and switch, and yyou will
he properties of each one.
analyze th
S
Step 1: An
nalyze the MAC
M
address for the PC
C-A NIC.
Before yo
ou analyze the
e MAC addres
ss on PC-A, look at an exa
ample from a different PC NIC. You can
n issue
the ipcon
nfig /all comm
mand to view the
t MAC address of your N
NICs. An example screen output is show
wn
below. Wh
hen using the
e ipconfig /all command, notice
n
that MA
AC addressess are referred
d to as physiccal
addresses
s. Reading the MAC addre
ess from left to
o right, the firrst six hex dig
gits refer to the vendor
(manufactturer) of this device.
d
These
e first six hex digits (3 byte
es) are also kn
nown as the o
organizationa
ally unique
identifier (OUI).
(
This 3--byte code is assigned to the vendor byy the IEEE org
ganization. To
o find the
manufactu
urer, you can use a tool su
uch as www.m
macvendorloo
okup.com or g
go to the IEEE
E web site to find the
registered
d OUI vendor codes. The IEEE web site
e address for OUI informattion is
http://stan
ndards.ieee.org/develop/re
egauth/oui/pub
blic.html. The
e last six digitss are the NIC serial numbe
er
assigned by the manuffacturer.
a. Using
g the output frrom the ipcon
nfig /all comm
mand, answerr the following
g questions.
Page 3 of 7
b. Another way to display the MAC addresses on the router is to use the show arp command. Use the
show arp command to display MAC address information. This command maps the Layer 2 address to its
corresponding Layer 3 address. A sample is shown below. Use output generated by your router to
answer the questions.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 4 of 7
Address
192.168.1.1
192.168.1.3
Age (min)
0
Hardware Addr
30f7.0da3.1821
c80a.a9fa.de0d
Type
ARPA
ARPA
Interface
GigabitEthernet0/1
GigabitEthernet0/1
Why do you think there is no information showing for the switch with the show arp command?
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 5 of 7
Did the switch display the MAC address of PC-A? If you answered yes, what port was it on?
Did the switch display the MAC address of R1? If you answered yes, what port was it on?
Reflection
1. Can you have broadcasts at the Layer 2 level? If so, what would the MAC address be?
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 6 of 7
Ethernet Interface #1
Ethernet Interface #2
Serial Interface #1
Serial Interface #2
1800
1900
2801
2811
2900
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device.
The table does not include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be
used in Cisco IOS commands to represent the interface.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 7 of 7