Sticky MAC Addresses


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.

 1
Let us set up a topology. Apply PCs with the IP addresses dynamically with the DHCP server set on the Server.

2

DHCP server setup on server.
 3
Assigning IP to PCs.

 4

Now, let us apply Sticky Mac address to the following interface of switch which is currently attach to PC1. It is interface fa 0/3.
5

The following commands will apply this concept.
 6

Go to enable mode. Apply command,  show running-config.

7

Now, we do not have MAC address of PC here.
For this, remove the interface from PC1 attach it to another PC as shown in the figure below.

 8

Request for DHCP.

9

Now. we have mac address and our port is sticky as shown in figure below.

10

MAC address of PC.

12

Now, re connect to PC1 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.
13


Reactions:

6 comments:

  1. Great post . thanks for providing such important information about MAC Address

    ReplyDelete
  2. What's that sticky mac address it seems very interesting where can i get more information about it?

    Thanks
    Silvester Norman

    Changing MAC Address

    ReplyDelete
  3. How to Change a Computer's Mac Address in Windows

    https://youtu.be/hxaYX7dL6Ho

    ReplyDelete
    Replies
    1. Man Address can't be change ... it's a hardware address of any technology...

      Delete