Sticky MAC addresses are addresses that are dynamically learned once and remain stick to the port, we can adjust the max number of sticky MAC addresses to a single interface. the use of this feature is in large networks usually where we cant afford to waste time doing manual mac addresses to port mapping. Let us apply this concept on packet tracer.
Let us set up a topology. Apply PCs with the IP addresses dynamically with the DHCP server set on the Server.
Let’s do DHCP server setup on server.
Assigning IP to PCs. through DHCP server
Now, let us apply Sticky Mac address to the following interface of switch which is currently attach to PC3. It is interface fa 0/4.
The following commands will apply this concept.
Go to enable mode. Apply command, show running-config
Now, we do not have MAC address of PC here.
For this, remove the interface from PC3 attach it to another PC as shown in the figure below.
Now Request for DHCP ip address
Now. we have mac address and our port is sticky as shown in figure below.
Let’s see the sticky MAC address and PC MAC address are same or not.
Now, reconnect to PC3 and request for IP address. It has failed and it has also shutdown the interface because MAC address does not match with the MAC address of the port.
Thanks, If you like this tutorial please share this article to your friends in FB, Twitter, and if you want the PT file, please click download.