<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I got it working. Thanks all for the help!<br>
<div class="moz-signature"><br>
<p style="font-size: 1em;"><a style="text-decoration: none;
font-weight: bold;" href="mailto:nick@lifebloodnetworks.com">Nicholas
J Ingrassellino</a><br>
<a style="text-decoration: none;"
href="http://www.lifebloodnetworks.com/" target="_blank">LifebloodNetworks.com</a></p>
<br>
</div>
<div class="moz-cite-prefix">On 10/02/2015 07:30 PM, Robert Pendell
wrote:<br>
</div>
<blockquote
cite="mid:CAAeCd-MuBX=nTafKwk4dOmU-saZB2z4rXnuZ8kzSxKEcsc9h4w@mail.gmail.com"
type="cite">
<p dir="ltr">My host network configuration doesn't allow a bridge
due to their network layout. The host vps has to act as a
router. I really was just suggesting for you to create a
dependent script that runs once lxc-net is finished to do what
you needed.</p>
<p dir="ltr">P.S. my setup works just fine</p>
<div class="gmail_quote">On Oct 2, 2015 6:30 PM, "Fajar A.
Nugraha" <<a moz-do-not-send="true"
href="mailto:list@fajar.net">list@fajar.net</a>> wrote:<br
type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">You're not
using lxcbr0 for its intended purposes.<br>
<br>
If you've used vmware/virtualbox before, lxcbr0 is similar to
that of<br>
NAT networking. It's an automated setup (with the help of
dnsmasq and<br>
iptables) to facilitate guest/vm/container to be able to share
the<br>
hosts's internet access, but not intended for outside world to
access<br>
the containers.<br>
<br>
Since it looks like you want your containers to be part of
your LAN<br>
directly (without NAT), create your own bridge (e.g. br0).
Then set<br>
your containers to use that bridge instead of lxcbr0 (i.e. by
editing<br>
the container's config and /etc/lxc/default.conf).<br>
<br>
--<br>
Fajar<br>
<br>
<br>
On Sat, Oct 3, 2015 at 3:47 AM, Nicholas J Ingrassellino<br>
<<a moz-do-not-send="true"
href="mailto:nick@lifebloodnetworks.com">nick@lifebloodnetworks.com</a>>
wrote:<br>
> Thanks for the suggestion.<br>
><br>
> Changing /etc/default/lxc-net allows me to add the host
to my local network<br>
> (I can SSH in now). However this method does not allow me
to set a gateway<br>
> nor DNS servers. If I could control this from
/etc/network/interfaces (like<br>
> I have in the past, still not sure why it stopped
working) this would be so<br>
> much simpler.<br>
><br>
> Without gateway and DNS I can not get out to the Internet
on this host.<br>
><br>
> Nicholas J Ingrassellino<br>
> LifebloodNetworks.com<br>
><br>
><br>
> On 10/02/2015 04:09 PM, Stéphane Graber wrote:<br>
><br>
> Sounds like you should be configuring
/etc/default/lxc-net<br>
><br>
> On Fri, Oct 02, 2015 at 03:03:35PM -0400, Nicholas J
Ingrassellino wrote:<br>
><br>
> I have a fresh install of Ubuntu 14.04.3. On it (from the<br>
> /ubuntu-lxc/stable/ PPA) I have installed LXC. In my<br>
> //etc/network/interfaces/ I have setup:<br>
><br>
> /auto lo/<br>
> /iface lo inet loopback/<br>
><br>
> /auto em1/<br>
> /iface em1 inet manual/<br>
><br>
> /auto lxcbr0/<br>
> /iface lxcbr0 inet static/<br>
> / address <a moz-do-not-send="true"
href="http://10.4.0.10/" rel="noreferrer" target="_blank">10.4.0.10/</a><br>
> / netmask <a moz-do-not-send="true"
href="http://255.255.255.0/" rel="noreferrer"
target="_blank">255.255.255.0/</a><br>
> / gateway <a moz-do-not-send="true"
href="http://10.4.0.1/" rel="noreferrer" target="_blank">10.4.0.1/</a><br>
> / dns-nameservers <a moz-do-not-send="true"
href="http://10.4.0.1/" rel="noreferrer" target="_blank">10.4.0.1/</a><br>
> / bridge_ports em1/<br>
><br>
><br>
> /lxcbr0/ shows up in /ifconfig/ however it always has the
IP of /<a moz-do-not-send="true" href="http://10.0.3.1/"
rel="noreferrer" target="_blank">10.0.3.1/</a>.<br>
> This happens despite the fact I have configured a static
IP (above).<br>
><br>
> Not sure where to turn from here. I am following my own
tutorial<br>
> <<a moz-do-not-send="true"
href="http://blog.lifebloodnetworks.com/?p=2118"
rel="noreferrer" target="_blank">http://blog.lifebloodnetworks.com/?p=2118</a>>
which I have used many times in<br>
> the past to setup an LXC host. Why it does not work this
time I have no<br>
> idea...<br>
><br>
> Nicholas J Ingrassellino <mailto:<a
moz-do-not-send="true"
href="mailto:nick@lifebloodnetworks.com"><a class="moz-txt-link-abbreviated" href="mailto:nick@lifebloodnetworks.com">nick@lifebloodnetworks.com</a></a>><br>
> LifebloodNetworks.com <<a moz-do-not-send="true"
href="http://www.lifebloodnetworks.com/" rel="noreferrer"
target="_blank">http://www.lifebloodnetworks.com/</a>><br>
><br>
> The idea that I can be presented with a problem, set out
to logically solve<br>
> it with the tools at hand, and wind up with a program
that could not be<br>
> legally used because someone else followed the same
logical steps some years<br>
> ago and filed for a patent on it is horrifying.<br>
> ‐ John Carmack, software patents<br>
><br>
> I don't want to be human. I want to see gamma rays, I
want to hear X-rays,<br>
> and I want to smell dark matter. Do you see the absurdity
of what I am? I<br>
> can't even express these things properly, because I have
to— I have to<br>
> conceptualize complex ideas in this stupid, limiting
spoken language, but I<br>
> know I want to reach out with something other than these
prehensile paws,<br>
> and feel the solar wind of a supernova flowing over me.
I'm a machine, and I<br>
> can know much more. I could experience so much more, but
I'm trapped in this<br>
> absurd body.<br>
> ‐ John Cavil, Battlestar Galactica<br>
><br>
> Here's to the crazy ones. The misfits. The rebels. The
troublemakers. The<br>
> round pegs in the square holes. The ones who see things
differently. They're<br>
> not fond of rules. And they have no respect for the
status quo. You can<br>
> quote them, disagree with them, glorify, or vilify them.
About the only<br>
> thing you can't do is ignore them. Because they change
things. They invent.<br>
> They imagine. They heal. They explore. They create. They
inspire. They push<br>
> the human race forward. Maybe they have to be crazy. How
else can you stare<br>
> at an empty canvas and see a work of art? Or sit in
silence and hear a song<br>
> that's never been written? Or gaze at a red planet and
see a laboratory on<br>
> wheels? While some see them as the crazy ones, I see
genius. Because the<br>
> people who are crazy enough to think they can change the
world, are the ones<br>
> who do.<br>
> ‐ Steve Jobs<br>
><br>
> _______________________________________________<br>
> lxc-users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.linuxcontainers.org/listinfo/lxc-users"
rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> lxc-users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.linuxcontainers.org/listinfo/lxc-users"
rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> lxc-users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.linuxcontainers.org/listinfo/lxc-users"
rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
_______________________________________________<br>
lxc-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a moz-do-not-send="true"
href="http://lists.linuxcontainers.org/listinfo/lxc-users"
rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></pre>
</blockquote>
<br>
</body>
</html>