Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - CentOS7

159 bytes added, 15:46, 4 May 2015
no edit summary
== Part 2: How do I collect the MAC (Hardware) addresses of computers on my network? ==
{| width="40%" align="right" cellpadding="10"|- valign="top"|{{Admon/note | Use your CentOS Host Obtaining Remote MAC Addresses| Complete The term '''MAC''' address stands for '''Media Access Control''' address, which provides a unique ID to prevent confusion among computer systems within a network. While we use '''32bit IP addresse'''s to communicate over an internet, on the local ethernet network packets are delivered to a '''48bit hardware address''' (sometimes called a MAC address). The '''ARP''' protocol resolves 32bit IP addresses to 48bit MAC addresses by using a broadcast and caching the results. We can examine the ARP cache to get the MAC addresses of other computers on our local network.<br /><br />Being able to determine remote MAC address information is useful from troubleshooting networking programs to using '''WOL''' (Wake up on Lan) to automatically boot remote workstations via the network. In this investigation on your CentOS host, you will learn how to obtain MAC address information for various network cards.}}|}
{{Admon/note | Obtaining Remote MAC Addresses| The term '''MAC''' address stands for '''Media Access Control''' address, which provides a unique ID to prevent confusion among computer systems within a network. While we use '''32bit IP addresse'''s to communicate over an internet, # Perform this section on the local ethernet network packets are delivered to a your '''48bit hardware addressc7host''' (sometimes called a MAC address)machine. The '''ARP''' protocol resolves 32bit IP addresses to 48bit MAC addresses by using a broadcast and caching # On the results. We can examine the ARP cache to get the MAC addresses of other computers on our local network.<br /><br />Being able to determine remote MAC address information is useful from troubleshooting networking programs to using centos host '''WOLping''' (Wake up on Lan) to automatically boot remote workstations via the network. In this investigation, you will learn how to obtain MAC address information for various network cards.}} # On the centos host <code>ping</code> each of your VM's# Examine the contents of the ARP cache by using the command : <b><code><span style="color:#3366CC;font-size:1.2em;">arp</span></code></b># Check the contents of the cache again by using the command : <b><code><span style="color:#3366CC;font-size:1.2em;">arp -n</span></code></b># What was the difference in output? For what other command did the option '''-n ''' have a similar effect?
'''Answer Part 2 observations / questions in your lab log book.'''
13,420
edits