[lxc-users] Networking issue

Mateusz Korniak mateusz-lists at ant.gliwice.pl
Wed Nov 9 08:10:17 UTC 2016


On Wednesday 09 of November 2016 01:33:55 Saint Michael wrote:
> lxc.network.type=macvlan
> lxc.network.hwaddr = XX:XX:XX:XX:XX:XX
> 
> Now suppose I have a machine, not a container, in the same broadcast domain
> as the containers, same subnet.
> It cannot ping or ssh into a container, which is accessible from outside my
> network.
> However, from inside the container the packets come and go perfectly, when
> the connection is originated by the container.
> (...)
> Any idea?

Make sure you do not have lxc.network.hwaddr duplicates (many containers with 
same hwaddr).
Turn off container and make sure it stops being "accessible from outside my
network"

-- 
Mateusz Korniak
"(...) mam brata - poważny, domator, liczykrupa, hipokryta, pobożniś,
 	krótko mówiąc - podpora społeczeństwa."
				Nikos Kazantzakis - "Grek Zorba"



More information about the lxc-users mailing list