[lxc-users] PARTIAL SOLUTION - Container Network no IP's, Unreachable - HELP

TuxRaiderPen tuxraiderpen at wpascanner.com
Sun May 18 06:05:25 UTC 2014


On Sunday, May 18, 2014 01:16:05 TuxRaiderPen wrote:
> I have a test system used for LXC which I've used for quite awhile with out
> issue.
> 
> Today I needed to use the containers on this system, and started them up,
> did the usual to either ssh in or access things like phpMyAdmin etc..
> 
> Couldn't access them.
> 
> I can ping the lxcbr0 ip 10.0.3.1 from other computers on the LAN, no
> issue.

Ok.. after spending numerous  hours searching...

It appears this is the problem...

https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1254338

SOLTUON

Run this on the HOST
sudo iptables -t mangle -A POSTROUTING -o lxcbr0 -p udp -m udp --dport 68 -j 
CHECKSUM --checksum-fill

Rebooted one of the containers..

WORKS! Crisis over.. data reachable.... back to work.. BUT.. long term...

Is this related to some isc-dhcp change? And the containers need a sudo apt-
get update/upgrade to fix  and thus the above won't be needed?

Or for this box I need to put this into /etc/init/lxc-net.conf

If so where?

Is the iptables line the ONLY solution on 12.04 and 12.04 containers????

Comments???

Thanks.


More information about the lxc-users mailing list