[lxc-devel] lxc.network.type = macvlan

Daniel Lezcano dlezcano at fr.ibm.com
Wed Oct 13 05:17:35 UTC 2010


On 10/12/2010 10:29 PM, jorge espada wrote:
> Hi, I have a lxc container  running on debian lenny (kernel 2.6.32) with the
> following conf:
>
> lxc.network.type = macvlan
> lxc.network.flags = up
> lxc.network.link = vlan310
> lxc.network.name = vlan310
> lxc.network.macvlan.mode = vepa
> lxc.network.hwaddr = 06:00:0a:1f:00:46
> lxc.network.ipv4 = 10.31.0.70/24
>
> # network2
> lxc.network.type = macvlan
> lxc.network.flags = up
> lxc.network.link = vlan400
> lxc.network.name = vlan400
> lxc.network.macvlan.mode = vepa
> lxc.network.hwaddr = 06:00:0a:28:00:46
> lxc.network.ipv4 = 10.40.0.70/23
>
>
> is the macvlan mode vepa supported for that kernel or I need a newer one?

You need a 2.6.33 kernel version.

> Because I have weird problems with that conf, some times I can ping the
> container from another host but some times not...is random

I am not sure it is related. What happens when you can't ping the host ?
What is the error ? ICMP "no route to host" ? or just the packet are lost ?




More information about the lxc-devel mailing list