[Lxc-users] LXC Container: Network Configuration

C Anthony Risinger anthony at xtfx.me
Wed Nov 30 06:35:06 UTC 2011


On Wed, Nov 30, 2011 at 12:16 AM, C Anthony Risinger <anthony at xtfx.me> wrote:
> i'm not a networking guru, but i've inlined a few comments.  i also
> don't use debian/ubuntu so i'm unsure the correct way to solve them
>
> ... my guess is you
> don't really want to enslave any physical devices to the bridge (br0).
>  simply allow the bridge to act as a virtual "switch" and let routing
> do the rest :-)

beh, i got a little long-winded and forgot the best part!  if this
guess is correct (you want your 4 existing networks/cards to remain as
is, and add LXC guests to the mix), try removing:

bridge_ports eth1

... from the `br0` config -- this alone might be enough to fix -- you
may still need to:

ip link set br0 up

... to force the bridge to an UP state.  `ifup br0` probably works
too.  but honestly, if you remove `bridge_ports`, i think everything
might Just Work.

-- 

C Anthony




More information about the lxc-users mailing list