Saturday 19 January 2008

How to change MAC address through Linux

Changing MAC address

Every network card has a built in unique (ok not so unique in cheap cards) hardware address, it is the so called MAC address. I said that it is built in (sometime it has a sticker on the card showing it), but it can be changed!:)

In Linux the it's something like this:

ifconfig eth1 down hw ether 00:00:00:00:00:02
ifconfig eth1 up


N.B Please note you must be a root to do this!

No comments: