veth won't be configured in libvirt managed LXC container



Hi,

currently it is impossible to get useful network configuration for LXC 
containers on boot. (At least if they're managed via libvirt; I have no
idea if anything is different with native LXC tooling). They're supposed
to obtain their configuration via DHCP, but instead connection is assumed.
Firstly because there's an IPv6 local link address that (I think) gets
assigned when libvirt ups the interface and secondly because it's a 
software link.

Why do we assume connection on all software links? Virtual ethernet devices
are supposed to behave much like ordinary ethernet devices; they have 
carrier detection, etc.

I'm following up with the patches that resolve the problem for me, but 
I'm not quite sure about the special case for veth. 

Thoughts?

Thank you,
Lubo



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]