How to change the MAC address in Linux???????

First you must check your ip address MAC address using ifconfig command.You must open a terminal in linux and type following command:

#ifconfig

now check your ip address and mac address.Now if you want to change your mac address then type following command:
#ifconfig eth0 down hw ether [mac address]
Example:
#ifconfig eth0 down hw ether 00:00:00:ff:00:00
#ifconfig eth0 up

Now apply if config command you see that your mac address has been changed.

Comments

  1. Kichui to bujhlamna..tobe ekta suggestion dite pari je font size ta arektu boro korle porte sundor dakhabe..:-)

    ReplyDelete
  2. I got something from this but I think it will be better if u can explain the command.
    like:-
    1. why r we using interface "eth0 down" in place of "eth0 up" when we r trying to change the mac??
    2. wat is the use of "hw ether"??

    ReplyDelete

Post a Comment

Popular posts from this blog

Few tips for Linux User related to MAN page

SEND Mail Using JAVA Mail API