Hi
we are trying to solve the following issue:
we created a linux vmbr2 bridge and assigned a dummy IP to it: 10.10.10.10/32
we also created a LXC using this vmbr2 as bridge to this container for its veth (eth0).
assign 192.168.1.1/32 on it's eth0 and setting the default-gw to 10.10.10.10
the container setup is fine PVE writes post-up and pre-down ip-routes into the containers interfaces-config.
but on the host machine we'd need some "ip rou add 192.168.1.1/32 dev vmbr2" after LXC startup and some "del" of this route pre LXC shutdown.
after manually adding this route on the host the LXC is reachable fine.
please advise,
hk
we are trying to solve the following issue:
we created a linux vmbr2 bridge and assigned a dummy IP to it: 10.10.10.10/32
we also created a LXC using this vmbr2 as bridge to this container for its veth (eth0).
assign 192.168.1.1/32 on it's eth0 and setting the default-gw to 10.10.10.10
the container setup is fine PVE writes post-up and pre-down ip-routes into the containers interfaces-config.
but on the host machine we'd need some "ip rou add 192.168.1.1/32 dev vmbr2" after LXC startup and some "del" of this route pre LXC shutdown.
after manually adding this route on the host the LXC is reachable fine.
please advise,
hk