Score:0

ubuntu 20.04 add static route without netplan

in flag

I want to add static routes, I am aware I can do this with netplan but its creating a new network connection every time I try it. I have a wired connection and it creates another along side it in network manager and activates it which means the active connection is not the one the vpn is using and that means no internet access. You can see why its a problem.

What I am trying to achieve. connect to my vpn provider whilst also being able to local resources without disconnecting the vpn. My router does not allow me to connect to a local hosted locally by its fqdn and the vpn does not allow it by the ip. So I have an issue, I have to disconnect the vpn whenever I want to transfer files which is a lot during a dev session. and reconnect to view the changes made in a browser, often i forget to (dis)connect which is a problem and takes up time.

So I have added routes via the cli route command but they are removed whenever the network reconnects. How can I add the static routes without using netplan

Score:0
in flag

I figured it out, I can add a route from the GUI of network manager.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.