<div dir="ltr">My guess is that the gateway configuration should probably be specified on the software network bridge that hosts the network for all the containers. -- m.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sat, Jul 27, 2013 at 7:04 AM, Kevin LaTona <span dir="ltr"><<a href="mailto:lists@studiosola.com" target="_blank">lists@studiosola.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hi Saurabh,<div><br></div><div>I have tried that and it has not seemed to matter yet in this setup.</div><div><br></div><div>I have been told that the container's /etc/network/interfaces calls should set it, but for whatever reason in this case it is not.</div>
<div><br></div><div>For now at least I am using a "route add default gw 192.168.0.1" in the container's startup script and that is solving the issue.</div><div><br></div><div>As even placing the route call in the container's /etc/network/interface stanza has not had an effect yet.</div>
<div><br></div><div><br></div><div>I am curios if people on other OS platforms are having the same issues, as from what I have seen on the web this is not a new problem.</div><div><br></div><div>Or if this issue has more to with how Ubuntu 12.04.2 and LXC are currently interacting with each other.</div>
<div><br></div><div>I still don't know and there are still many variables to tie down to know why for sure.</div><div><br></div><div>Thanks for your suggestion.</div><span class="HOEnZb"><font color="#888888"><div><br>
</div><div>-Kevin</div></font></span><div><div class="h5"><div><br></div><div><br></div><div><br></div><div><div>On Jul 27, 2013, at 1:26 AM, Saurabh Deochake <<a href="mailto:saurabh.d04@gmail.com" target="_blank">saurabh.d04@gmail.com</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr">Hi Kevin,<br><br>Did you try adding lxc.network.ipv4.gateway=<IP_address> in the configuration file of the container?<br><br><div>The address is in format  x.y.z.t/m,  eg.  <a href="http://192.168.0.1/24" target="_blank">192.168.0.1/24</a>.</div>

<div><br></div><div>Regards,<br>Saurabh Deochake.<br>[NTT DATA]</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 27, 2013 at 3:45 AM, Kevin LaTona <span dir="ltr"><<a href="mailto:lists@studiosola.com" target="_blank">lists@studiosola.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On Jul 26, 2013, at 3:11 PM, Luis M. Ibarra <<a href="mailto:michael.ibarra@gmail.com" target="_blank">michael.ibarra@gmail.com</a>> wrote:<br>
<br>
> can you post your container config?<br>
<br>
<br>
lxc.utsname = vm1<br>
<br>
lxc.network.type=veth<br>
lxc.network.link=br0<br>
 <a href="http://lxc.network.name/" target="_blank">lxc.network.name</a> = br0<br>
<br>
lxc.network.hwaddr = 00:16:3e:2a:53:c1<br>
lxc.network.ipv4 = <a href="http://192.168.0.30/24" target="_blank">192.168.0.30/24</a><br>
lxc.network.flags=up<br>
<br>
lxc.devttydir = lxc<br>
lxc.tty = 4<br>
lxc.pts = 1024<br>
lxc.rootfs = /var/lib/lxc/vm1/rootfs<br>
lxc.mount  = /var/lib/lxc/vm1/fstab<br>
lxc.arch = amd64<br>
lxc.cap.drop = sys_module mac_admin<br>
lxc.pivotdir = lxc_putold<br>
<br>
# uncomment the next line to run the container unconfined:<br>
#lxc.aa_profile = unconfined<br>
<br>
lxc.cgroup.devices.deny = a<br>
<br>
# Allow any mknod (but not using the node)<br>
lxc.cgroup.devices.allow = c *:* m<br>
lxc.cgroup.devices.allow = b *:* m<br>
<br>
# /dev/null and zero<br>
lxc.cgroup.devices.allow = c 1:3 rwm<br>
lxc.cgroup.devices.allow = c 1:5 rwm<br>
<br>
# consoles<br>
lxc.cgroup.devices.allow = c 5:1 rwm<br>
lxc.cgroup.devices.allow = c 5:0 rwm<br>
<br>
#lxc.cgroup.devices.allow = c 4:0 rwm<br>
#lxc.cgroup.devices.allow = c 4:1 rwm<br>
<br>
# /dev/{,u}random<br>
lxc.cgroup.devices.allow = c 1:9 rwm<br>
lxc.cgroup.devices.allow = c 1:8 rwm<br>
lxc.cgroup.devices.allow = c 136:* rwm<br>
lxc.cgroup.devices.allow = c 5:2 rwm<br>
<br>
# rtc<br>
lxc.cgroup.devices.allow = c 254:0 rwm<br>
<br>
#fuse<br>
lxc.cgroup.devices.allow = c 10:229 rwm<br>
<br>
#tun<br>
lxc.cgroup.devices.allow = c 10:200 rwm<br>
<br>
#full<br>
lxc.cgroup.devices.allow = c 1:7 rwm<br>
<br>
#hpet<br>
lxc.cgroup.devices.allow = c 10:228 rwm<br>
<br>
#kvm<br>
lxc.cgroup.devices.allow = c 10:232 rwm<br>
<div><div><br>
<br>
------------------------------------------------------------------------------<br>
See everything from the browser to the database with AppDynamics<br>
Get end-to-end visibility with application monitoring from AppDynamics<br>
Isolate bottlenecks and diagnose root cause in seconds.<br>
Start your free trial of AppDynamics Pro today!<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk</a><br>
_______________________________________________<br>
Lxc-users mailing list<br>
<a href="mailto:Lxc-users@lists.sourceforge.net" target="_blank">Lxc-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/lxc-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a><br>
</div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div><br>------------------------------------------------------------------------------<br>
See everything from the browser to the database with AppDynamics<br>
Get end-to-end visibility with application monitoring from AppDynamics<br>
Isolate bottlenecks and diagnose root cause in seconds.<br>
Start your free trial of AppDynamics Pro today!<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk</a><br>_______________________________________________<br>

Lxc-users mailing list<br>
<a href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/lxc-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a><br>
<br></blockquote></div><br></div>