I have 4 interfaces on my netplan set up for DHCP (3 vlans and one main interface).

This generates 4 "default" routes where it is a bit random which is first but all have the same metric. So I manually delete 3 of the default routes (as I want internet to go through the main interface) and it works perfectly. But is there a way to ask netplan to not create a default route for the interface? Only a local route?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.