Board index Linux FAQ's

Moderator: chandranjoy

How to change Mac address(virtually) on Linux box?

Postby chandranjoy » Wed Mar 17, 2010 7:46 pm

How to change Mac address(virtually) on Linux box?

Log into the system as root(Superuser)
# ssh root@IP(host)

shutdown the interface
# ifdown eth0

Then execute the following command
# ifconfig eth0 hw ether 00:05:6f:62:ea:b3

start the interface
# ifup eth0

Now your system will use the above given mac address as your h/w address of your NIC

That's it folks :)
chandranjoy
Site Admin
 
Posts: 283
Joined: Fri Oct 23, 2009 11:19 pm

Return to FAQ's

Who is online

Users browsing this forum: No registered users and 1 guest


cron