I'm testing the macvlan module for a while now on a Debain Etch server. I am using it for obtaining 4 dynamic ip-addresses from my ISP on one singel machine (on one nic).
Everything is working fine so far. I'm getting an IP-address for each of my four macvlan devices and I am able to use them. An issue drew my attention though when I restarted the network. The DHCPRELEASE packet reported, that the route to the dhcp server (that is located in a different subnet) is not known.
I have policy routing set up so this can't be the reason. After testing everything back and forth, I noticed that by typing "ifdown macvlan0" the dhclient releases the ip address for all macvlan interfaces at once instead of only macvlan0. This looks to me as if those interfaces are somehow coupled together. Issuing "ifdown -a", when time comes for macvlan1 to release it's ip-address this already happened when the ip of macvlan0 was released.
One funny thing is: I have on my productive machine and on a vmware the same kernel installed. On the vmware I don't have this issue. Could the network-device driver cause such a problem?
Anyone having an idea how to solve this?
Thank you David