Professional Documents
Culture Documents
The Mac Address: by Ahmed El Hefny
The Mac Address: by Ahmed El Hefny
The Mac Address: by Ahmed El Hefny
com/c/TECHVORTEXX 09/04/2021
136
BY AHMED EL HEFNY
136
137
138
• OUI are assigned per manufacturer, which means you can from the mac
address know what is the type of this device (Apple, Dell, Lenovo, HP)
• BIA is assigned per NIC (Wired or Wireless, it is like serial for produced
devices by manufacturer.
139
139
140
BY AHMED EL HEFNY
140
141
141
U\L BIT
? ? ? ? ? ? U/L ?
142
142
143
143
I/G BIT
? ? ? ? ? ? U/L ?
I/G
Unicast MAC
Multicast MAC
144
144
MAC ADDRESSES
ORGANIZATION
IEEE Registration
145
146
BY AHMED EL HEFNY
146
147
LAST NOTE
(MAC, DHCP, APIPA, IPV6)
• Before having IP address, in case we are using what is known as
Dynamic Host configuration protocol or DHCP to dynamically allocate IP
address in network, MAC address of client (Requester) is used by DHCP
server in unicast communication on layer 2 level to offer IP address.
• In case no DHCP server in network, clients try to generate random IP
addresses to their selves, this IP addresses cannot be randomly choses
as it could be duplicated, client machines machine apply algorithms to
generate IPv4 or IPv6 Link local address based on client MAC address
• As MAC address is unique, then the created address should be
somehow unique as well (in most cases) – consider 2^24 if all machines
was for same vendor and 2^16 for client addresses in APIPA process. 148
148
LAST NOTE
(THINK MORE)
• How to know you machine MAC address? (CMD/getmac) or run/ncpa.cpl
• How to write MAC address ( xx:xx or xx-xx or xxxx. )
• Can MAC address by changed? Yes, via tools or registry or NIC
properties, Android offer ability to change MAC address for privacy.
• Is there a possibility to find duplicated MAC addresses inside same
network? (10Mb/s cards)
• is there a problem when two duplicate MAC found?
• MAC address understanding is important for security people, as we
understood from the context, devices in same LAN can reach each other
using MAC address, what could happen if someone faked up his MAC
address instead of valuable server? Do you remember Net-cut program?
149
149
LAST NOTE
(MAC ADDRESS EUI-64)
• The IEEE created the EUI-64 (extended unique identifier) standard for 64-bit
MAC addresses.
• The OUI is still 24 bits, but the BIA or serial address or device identifier
became 40 bits.
• This allow for more devices under the same vendor OUI (2^40)
• Soon in IPv6 section, you will understand that IPv6 auto-config address is
derived from MAC address with EUI-64 format, and it do a little enhancement
to convert EUI-48 to EUI-64
• As far I know, switching based on EUI-64 MAC address does not yet exist as
for 2021.
• Predications suggest MAC addresses based on EUI-48 may be exhausted by
year 2080, recycling old MACs may increase the life span of EUI-48. 150
150
151
BY AHMED EL HEFNY
151
LAB TIME
WHAT WILL WE DO?
• SOHO -> Small Office/Home offices
• SMB -> Small medium business
• Packet tracer layer 1 and layer 2 devices
• Adding devices to packet tracer
• Physical medium types and how to connect devices
• The role of server in packet tracer, how to setup quick DHCP using
packet tracer
• The Hub operation in broadcast, and how switch is smart
• Using simulation mode and packet capturing to inspect frame
• And so on.. 152
152
LAB TIME!
• Use packet tracer to create basic network using switch and 3 PCs
• Add server assign static IP address to it (10.0.0.1) and enable DHCP
service on it ( distribute range 10.0.0.100-10.0.0.200)
• Make sure the 3 PCs are acquiring DHCP IP address not static
153
153
LAB TIME!
154
154
LAST NOTE ~
• Ping (Packet internet groper) is simple network reachability test, it use
ICMP echo
• There is a service called DHCP, it distribute network information such as
what is called IP address
• Unicast is working on the switch, when PC0 tried to ping PC1, the ping
request reached the intended receiver.
• Through the switching part, we will learn how to deal with Cisco switches
mac address table, how to show entries, add static entries, and find
endpoints in network using mac address table search.
• Apply in packet tracer, explore it, simulation mode is great!!!
• In Packet tracer, crossover cable is needed to connected similar devices
-> still apply the old school “no Auto-MDIX” 155
155