Changing MAC Address at an interface at Linux

Suppose we want to change MAC address of an interface eth0 . Here at first we have to remind three steps. These are:

1. Disable the interface with the following command.

ifdown eth0

2. Change the MAC address with the following command.

ifconfig eth0 hw ether 00:21:D3:C1:11:33

3. Enable the interface with the following command.

ifup eth0

Wish to get advices regarding this issue.

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: