Linux change MAC-Address

Tiny howto for changing the MAC-Address of your hardware network interface (NIC). If a special firewall accept packets only from a special MAC-Address, with this work around you will trick it out to accept packets from your NIC:

1
/etc/init.d/networking stop

1
ifconfig eth0 hw ether 02:01:02:03:04:08
1
/etc/init.d/networking start

This totorial was written as I tried to set up my new-VM with a new ordered IP-address on a Hetzner EQ-server line.

0 Responses to “Linux change MAC-Address”


  • No Comments

Leave a Reply