Networking notes

January 26, 2009 by V-Teq · 2 Comments
Filed under: Linux Notes 

How to change MAC (hardware) address of NIC (network interface card)

$ ifconfig eth0 down
$ ifconfig eth0 hw ether 00:ab:cd:ef:12:34 # new MAC address
$ ifconfig eth0 up
$ ifconfig eth0 | grep HWaddr # check new MAC address

Comments

2 Responses to “Networking notes”
  1. Haaja says:

    Být tebou, zkusil bych používat misto “ifconfig/route”, příkaz “ip” z balíčku iproute2.

    Umí daleko více než starý ifconfig, který se uvadí už od příchodu 2.6. jádra jako obsolete.

  2. V-Teq says:

    [1] Haaja > For sure, I’ll take a look at “iproute2″ package. And then I’ll write down some notes about it also.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!