Networking with LXC guest under Ubuntu (Hetzner EQ4 server)

Discussion in 'Installation/Configuration' started by Seidr, Nov 17, 2010.

  1. Seidr

    Seidr New Member


    I've read the guide on how to get Xen to work on one of Hetzners DS servers (the EQ Xen tutorial does not match my situation), and was wondering if anyone had experience with doing the same, but with LXC.

    The tutorial I'm referring to is at

    It's the first paragraph that describes my situation perfectly.

    I have exactly that - one IP assigned to my server (eth0), and another couple of IPs assigned to virtual devices (eth0:0,eth0:1) that are on a different subnet from the main IP. This of course is causing all kinds of headaches with routing.

    I've got containers starting perfectly fine, but getting networking to work is proving to be an issue.

    I tried some time ago to use OpenVZ on the same server, with pretty much the same results. The bridged adapter setup fine, but I could never get access to the VM from the HOST or externally.

    If anyone has had any experience with using LXC under Hetzner hosting (I know, that's a pretty long shot), I'd really appreciate your input - or anyone elses input for that matter!

    Thanks :)
  2. falko

    falko Super Moderator ISPConfig Developer

    I've never used LXC...

    Open /etc/vz/vz.conf and set NEIGHBOUR_DEVS to all:

Share This Page