I have a linux host, running VMWare and LXC. I have an application in the VMWare guest, and a service in an LXC container I am trying to connect. I cannot seem to get the two systems to communicate.

On the host, I have a bridge device my physical ethernet device is attached to.

auto br0
iface br0 inet dhcp
    bridge_ports enp38s0
    bridge_fd 0
    bridge_maxwait 0

The LXC host likewise uses that same bridge:

lxc.network.type = veth
lxc.network.name = eth0
lxc.network.link = br0
lxc.network.hwaddr = 12:34:56:78:9a:bc
lxc.network.flags = up

The VMWare guest is also connected to bridge br0 in the VMWare network configuration via vmnet0.

Both guests are able to communicate just fine with the host as with the internet. Other machines on the local network can reach both guests.

I suspect it is something with VMWare, as the virtual network device vmnet0 doesn't appear in ip link. Also, obnoxiously, if I try to ping each other, I get ping responses, but no TCP connections succeed.

What can I do to resolve this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.