I have a container on 10.101.101.11, I can ping it if I manually run "ip route add 10.101.0.0/16 dev vmbr1", what needs to be changed in /etc/network/interfaces to automate the route addition?
I have a similar situation with other containers, all is working well:
Code:
/etc/network/interfaces
auto vmbr1
iface vmbr1 inet static
address 192.168.101.32/24
gateway 192.168.101.1
bridge-ports eno6
bridge-stp off
bridge-fd 0
bridge-maxwait 0
up route add -net 10.101.0.0/16 dev vmbr1
I have a similar situation with other containers, all is working well:
Code:
/etc/network/interfaces
auto vmbr0
iface vmbr0 inet static
address 1.16.17.42/30
gateway 1.16.17.41
bridge-ports eno5
bridge-stp off
bridge-fd 0
bridge-maxwait 0
up route add -net 2.2.19.160/29 dev vmbr0