Clonning a MAC address of NIC at linux

To clone a MAC address of a NIC at Linux we can use the following commands.

1. We have to get down the interface in which we are going to clone. Here we are clonning on interface eth0.

#ifdown eth0

2. Now we will add the MAC address at the interface eth0 with the following command.

#ifconfig eth0 hw ether 00:05:5B:33:A3:15

3. Now bring the interface up.

#ifup eth0

If we want to use the MAC permanently we can add the three command at /etc/rc.local file .



  1. sihan said

    Nice One!

  2. sundori said

    sundor hoice 😛

RSS feed for comments on this post · TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: