[lxc-users] lxcbr0 Always

Nicholas J Ingrassellino nick at lifebloodnetworks.com
Fri Oct 2 20:47:21 UTC 2015

Thanks for the suggestion.

Changing /etc/default/lxc-net allows me to add the host to my local 
network (I can SSH in now). However this method does not allow me to set 
a gateway nor DNS servers. If I could control this from 
/etc/network/interfaces (like I have in the past, still not sure why it 
stopped working) this would be so much simpler.

Without gateway and DNS I can not get out to the Internet on this host.

Nicholas J Ingrassellino <mailto:nick at lifebloodnetworks.com>
LifebloodNetworks.com <http://www.lifebloodnetworks.com/>

On 10/02/2015 04:09 PM, Stéphane Graber wrote:
> Sounds like you should be configuring /etc/default/lxc-net
> On Fri, Oct 02, 2015 at 03:03:35PM -0400, Nicholas J Ingrassellino wrote:
>> I have a fresh install of Ubuntu 14.04.3. On it (from the
>> /ubuntu-lxc/stable/ PPA) I have installed LXC. In my
>> //etc/network/interfaces/ I have setup:
>>     /auto lo/
>>     /iface lo inet loopback/
>>     /auto em1/
>>     /iface em1 inet manual/
>>     /auto lxcbr0/
>>     /iface lxcbr0 inet static/
>>     /    address
>>     /    netmask
>>     /    gateway
>>     /    dns-nameservers
>>     /    bridge_ports em1/
>> /lxcbr0/ shows up in /ifconfig/ however it always has the IP of /
>> This happens despite the fact I have configured a static IP (above).
>> Not sure where to turn from here. I am following my own tutorial
>> <http://blog.lifebloodnetworks.com/?p=2118> which I have used many times in
>> the past to setup an LXC host. Why it does not work this time I have no
>> idea...
>> Nicholas J Ingrassellino <mailto:nick at lifebloodnetworks.com>
>> LifebloodNetworks.com <http://www.lifebloodnetworks.com/>
>> The idea that I can be presented with a problem, set out to logically solve
>> it with the tools at hand, and wind up with a program that could not be
>> legally used because someone else followed the same logical steps some years
>> ago and filed for a patent on it is horrifying.
>> ‐ John Carmack, software patents
>> I don't want to be human. I want to see gamma rays, I want to hear X-rays,
>> and I want to smell dark matter. Do you see the absurdity of what I am? I
>> can't even express these things properly, because I have to— I have to
>> conceptualize complex ideas in this stupid, limiting spoken language, but I
>> know I want to reach out with something other than these prehensile paws,
>> and feel the solar wind of a supernova flowing over me. I'm a machine, and I
>> can know much more. I could experience so much more, but I'm trapped in this
>> absurd body.
>> ‐ John Cavil, Battlestar Galactica
>> Here's to the crazy ones. The misfits. The rebels. The troublemakers. The
>> round pegs in the square holes. The ones who see things differently. They're
>> not fond of rules. And they have no respect for the status quo. You can
>> quote them, disagree with them, glorify, or vilify them. About the only
>> thing you can't do is ignore them. Because they change things. They invent.
>> They imagine. They heal. They explore. They create. They inspire. They push
>> the human race forward. Maybe they have to be crazy. How else can you stare
>> at an empty canvas and see a work of art? Or sit in silence and hear a song
>> that's never been written? Or gaze at a red planet and see a laboratory on
>> wheels? While some see them as the crazy ones, I see genius. Because the
>> people who are crazy enough to think they can change the world, are the ones
>> who do.
>> ‐ Steve Jobs
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20151002/b01acd84/attachment.html>

More information about the lxc-users mailing list