zeldor.biz

Linux, programming and more

Copyright © 2023
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

[Read more…]

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

NIC PROMISC mode

June 6, 2011 by Igor Drobot Leave a Comment

It was a little bit strange situation, I found my outer interface in a PROMISC mode.
“ip a” or “ifconfig” output shows that my eth0 interface was in the PROMISC mode, but I don’t understand, why?

1
2
eth0: <broadcast,multicast,promisc,up,lower_up> mtu 1500 ...
</broadcast,multicast,promisc,up,lower_up>

eth0: <broadcast,multicast,promisc,up,lower_up> mtu 1500 ... </broadcast,multicast,promisc,up,lower_up>

I don’t used tcpdump or similar tools in this moment.
After I spend some time to my favorite search engine, I found how to disable manually this mode:

1
ifconfig eth0 -promisc

ifconfig eth0 -promisc

Filed Under: Linux Tagged With: Debian, ifconfig, PROMISC mode, promiscuous mode