Add option to disable entry in main routing table if host_table
is set for routed NIC
#1559
Labels
API
Changes to the REST API
Documentation
Documentation needs updating
Easy
Good for new contributors
Feature
New feature, not a bug
Milestone
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.
The text was updated successfully, but these errors were encountered: