Linux Network Tips and Tricks

root's picture

How to find out the original MAC address from a network adapter with manually modified MAC address:

root@core:~# ethtool -P eth3
Permanent address: 10:a2:bc:86:22:16

How to disable ipv6 for a specific network adapter:

root@core:~# echo 1 > /proc/sys/net/ipv6/conf/iscsi/disable_ipv6

How to manually change the network adapter MAC address:

root@core:~# ifconfig eth3 | grep HWaddr
eth3      Link encap:Ethernet  HWaddr c3:de:c3:65:g3:4t
root@core:~# [color=green]ifconfig eth3 hw ether 10:a2:bc:86:22:16[/color]
root@core:~# ifconfig eth3 | grep HWaddr
eth3      Link encap:Ethernet  HWaddr 10:a2:bc:86:22:16

Thou shalt not steal!

If you want to use this information on your own website, please remember: by doing copy/paste entirely it is always stealing and you should be ashamed of yourself! Have at least the decency to create your own text and comments and run the commands on your own servers and provide your output, not what I did!

Or at least link back to this website.

Recent content