Host and guest have functional network but can't see each other

So I have a working physical interface eno1 on the host with IP I map it to a container interface eth0 with

lxc network attach eno1 <container_name> eth0

I configure eth0 in the container netplan file with IP Everything works, both the host and the client see the network ( and are visible from the network. BUT, they don’t see each other, meaning the host doesn’t see the guest and vice versa.

I am definitely missing something here, but what?

That’s normal, when you attach that way, you’re using macvlan and host <-> container is indeed impossible with macvlan as documented here:,-macvlan-or-ipvlan-for-connection-to-physical-network

1 Like