Hi
the main question is: where could we hook startup and shutdown scripts for containers in proxmox?
we connect containers to a linux-bridge and then add host-routes with "ip rou add 10.11.22.33/32 dev vmbrXX" on the hypervisor, we also add a host-route within the container direct at the bridge-ip and then add a default-route with this ip as a gateway.
This way we get IPv4 to work for containers like the venet-device did, but we would need to automate this and add and delete routes with containers starting up and shutting down, any advise is greatly appreciated.
For IPv6 we could not achieve a similar solution as within the cointainer "ip -6 rou add" is not permitted and we have yet to find a solution for this one. Also on this issue any advise is appreciated.
Regards
hk
the main question is: where could we hook startup and shutdown scripts for containers in proxmox?
we connect containers to a linux-bridge and then add host-routes with "ip rou add 10.11.22.33/32 dev vmbrXX" on the hypervisor, we also add a host-route within the container direct at the bridge-ip and then add a default-route with this ip as a gateway.
This way we get IPv4 to work for containers like the venet-device did, but we would need to automate this and add and delete routes with containers starting up and shutting down, any advise is greatly appreciated.
For IPv6 we could not achieve a similar solution as within the cointainer "ip -6 rou add" is not permitted and we have yet to find a solution for this one. Also on this issue any advise is appreciated.
Regards
hk