Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I install Juju, system creates my strange network interface and runs services on it, but I need to install Juju on eth0 interface. How Can I do that?

share|improve this question

I'm assuming that you're running a local install of Juju that runs its instances on LXC containers. By default, Juju on LXC uses the LXC bridge (lxcbr0), but we have the option of configuring LXC to use a bridge that also has eth0 interface on it.

I assume that your LAN exists within the subnet, and your eth0 interface has IP address of

You will need to set up bridging:

1) Edit /etc/network/interfaces

auto br0
iface br0 inet static
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0

2) Configure LXC to use your newly created bridge interface. Edit /etc/lxc/lxc.conf:

3) Change the LXC network configuration. Edit /etc/default/lxc:


Restart LXC and networking and your Juju instances should be accessible by other machines on the network.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.