Hello Luis,
Your host routing table specifically identifies the DGW as 192.168.5.1 (the
last line)

why would you think you could "go anywhere" without a  DGW?

Tony
On Jul 25, 2013 7:08 AM, "Luis M. Ibarra" <michael.iba...@gmail.com> wrote:

> Hi everybody,
>
> I run over this issue. I have an lxc host with this routing table:
>
> #route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.5.0     0.0.0.0         255.255.255.0   U     0      0        0 br0
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
> eth1
> 0.0.0.0         192.168.5.1     0.0.0.0         UG    0      0        0 br0
>
> and
> #cat /proc/sys/net/ipv4/ip_forward
> 1
>
>
> and an lxc guest with:
> # route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags    Metric   Ref
> Use Iface
> 192.168.5.0     0.0.0.0         255.255.255.0      U           0
> 0        0      eth0
> 169.254.0.0     0.0.0.0         255.255.0.0          U           1002
> 0        0      eth0
> 0.0.0.0       192.168.5.154     0.0.0.0                UG
> 0        0        0      eth0
>
> with this configuration packets can't go anywhere. If I change the default
> gw of the lxc guest to 192.158.5.1 at least I get all the network
> 192.158.5.0.
>
> My question, why am I missing to get this working?
>
>
>
>
> --
> Luis M. Ibarra
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-users mailing list
> Lxc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to