[Lxc-users] Still can not get macvlan to work.
daniel.lezcano at free.fr
Mon Feb 8 09:38:20 UTC 2010
Michael H. Warfield wrote:
> I mentioned this in an earlier posting that I was using the veth method
> with bridges because I could NOT get macvlan to work. Problem is that
> the containers will come up and will talk on the network but the host
> can not talk to any of the guest containers. Ping doesn't work and
> connections don't work. Not IPv4 or IPv6. I can connect to containers
> from other systems (both IPv4 and IPv6) but not from the system that's
> hosting them. Someone suggested that the problem was an old bug that
> they thought was fixed in more recent kernels. But wasn't more
It's not a bug, it was just not implemented yet.
> I just recently moved several of my test containers from my Fedora 11
> engine to a newer 64 bit Fedora 12 system. In the process, I thought,
> what the heck, lets give macvlan another shot, so I reconfigured a
> couple of the containers from veth to macvlan. Same problem. Latest
> kernel from Fedora and same problem.
> The Fedora 11 kernel: kernel-188.8.131.52-105.2.4.fc11.i586
> The Fedora 12 kernel: kernel-184.108.40.206-174.2.3.fc12.x86_64
> Anyone with thoughts or suggestions on what to try next?
The macvlan mode you are talking about is the macvlan bridge mode. This
mode is explained in the lxc.conf (5) man.
It was recently merged upstream and should be available for the 2.6.33
If you want to enable this mode in lxc, you have to specify:
This mode will allow several macvlan to communicate if they have the
same lower-dev (eg eth0).
But this mode does not allow macvlan<->eth0 communication, you have to
create a macvlan in the host.
More information about the lxc-users