zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Linux change MAC-Address

May 30, 2012 by Igor Drobot Leave a Comment

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

/etc/init.d/networking stop

1
ifconfig eth0 hw ether 02:01:02:03:04:08

ifconfig eth0 hw ether 02:01:02:03:04:08

1
/etc/init.d/networking start

/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.

Filed Under: Linux, Ubuntu, Virtualization Tagged With: firewall, hetzner, ifconfig, MAC Address, Mac OS X

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok