I'm new to networking things. I have a sub-network with 16 IPs (ex: 1.2.3.0 to 1.2.3.15). I'm using lxc for each IP for different purposes, but currently the containers with IP 1.2.3.0 and 1.2.3.15 cannot communicate with other containers in my subnetwork although it can communicate with anything else on the internet. And other containers (from 1.2.3.1 to 1.2.3.14) cannot communicate with 1.2.3.0 and 1.2.3.15 as well. How to solve this problem? The containers use ubuntu 18.04, host also uses ubuntu 18.04.
Here is the lxc config:
lxc.include = /usr/share/lxc/config/common.conf
lxc.mount.entry = /sys/kernel/debug sys/kernel/debug none bind,optional 0 0
lxc.mount.entry = /sys/kernel/security sys/kernel/security none bind,optional 0 0
lxc.mount.entry = /sys/fs/pstore sys/fs/pstore none bind,optional 0 0
lxc.mount.entry = mqueue dev/mqueue mqueue rw,relatime,create=dir,optional 0 0
lxc.arch = linux64
lxc.rootfs.path = dir:/var/lib/lxc/con0/rootfs
lxc.uts.name = con0
lxc.net.0.type = veth
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
lxc.net.0.ipv4.address = ...
lxc.net.0.ipv4.gateway = ...
lxc.net.0.hwaddr = ...