Open
Description
For routed NICs, the host_table
parameter can be specified to create a route in the specified routing table.
However, the same route is always installed in the main routing table too:
incus/internal/server/device/nic_routed.go
Lines 410 to 416 in fc4d0ca
It would be great if this behavior could be changed by another config option so that the route is only present in the specified routing table.
Our scenario:
We want to have VMs in different VRFs on the incus host.
But for routed NICs to work, ip_forwarding must be enabled on the host.
This causes that from the main VRF, all VMs with routed NICs can be reached, what we don't want, because they should only be reachable within their VRF.
Activity