Multiple IPvLANs, am I doing it wrong?
So I know that every service should be on its own network, with grouped services (app & db) on the same network. All good.
I was looking at moving to ipvlans to give my containers their own IPs to make it easier to track traffic in and out. Simple right?
So I created a new network:
docker network create \
--driver ipvlan \
--subnet=10.0.0.0/25 \
--gateway=10.0.0.1 \
-o parent=enp2s0 \
-o ipvlan_mode=l3 \
ipvlan-3
...and some test services worked great. When I went to create a second network:
docker network create \
--driver ipvlan \
--subnet=10.0.0.128/28 \
--gateway=10.0.0.129 \
-o parent=enp2s0 \
-o ipvlan_mode=l3 \
ipvlan-3-librenms
it wouldn't let me as it said the parent was already being used.
How to I achieve multiple networks with the same parent NIC?
Thanks