Hello,

I dont know much about container configuration, but 169.x.x.x is assigned
by DHCP when it cannot assign any other valid  IP.
May be you want check on those lines.

Cheers!
Durga


On Thu, Nov 20, 2014 at 12:46 AM, Denis Müller <[email protected]> wrote:

> Hi,
>
> i created two containers:
>
> centos1 (ip 10.0.3.2)
> centos2 (ip 10.0.3.3)
>
> on this machine, i have created a bridge "lxcbr0" (Adress:10.0.3.1
> Bcast:10.0.3.255  Mask:255.255.255.0) with dnsmasq deamon attached on this
> interface.
>
> /etc/dnsmasq.conf:
>
> listen-address=10.0.3.1
> bind-interfaces
> dhcp-range=lxcbr0,10.0.3.2,10.0.3.5,12h
> dhcp-option=3,10.0.3.1
>
> -------------------------------
>
> centos1 ping lxcbr0  -> works
> centos2 ping lxcbr0  -> works
> centos1 ping centos2 -> works
>
> ping 192.168.2.1 -> doesn't work, why?
>
> routes of the host machine:
>
> Ziel            Router          Genmask         Flags Metric Ref    Use
> Iface
> 10.0.3.0        0.0.0.0         255.255.255.0   U     0      0        0
> lxcbr0
> 192.168.0.0     0.0.0.0         255.255.252.0   U     0      0        0
> eth0
>
>
> and routes of centos1:
>
>
> Ziel            Router          Genmask         Flags Metric Ref    Use
> Iface
> 10.0.3.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         10.0.3.1        0.0.0.0         UG    0      0        0
> eth0
>
>
> What do i do wrong?
> _______________________________________________
> lxc-users mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-users
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to