If you wish to change your MAC address in Linux, all you have to do is bring the interface down then use the hw ether switch:
ifconfig eth0 downifconfig eth0 hw ether 02:01:02:03:04:08ifconfig eth0 up
on 09/26/2009 – Made popular on 09/26/2009
I have a pretty standard Debian 5.0.2 system (2.6.26-2-amd64 kernel), with a 4-core Phenom processor. Everything has been working great for years, and suddenly during a reboot, I got an error message about statd failing.
# ip address show dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 04:01:05:ff:42:01 brd ff:ff:ff:ff:ff:ff
inet 10.2.2.2/24 brd 10.2.2.255 scope global eth0
inet 10.1.1.1/32 scope global eth0
inet6 fe80::601:5ff:feff:4201/64 scope link
valid_lft forever preferred_lf
I can't find answer about how linux processes incoming packets from different VLANs, that do not belong to a subnet assigned to a VLAN.
Imagine this situation. On Linux machine with the following configuration:
eth0.100 - assigned address from 192.168.100.0/24 subnet (eg. 192.168.100.2)
eth0.150 - assigned address from 192.168.150.0/24 subnet (eg.