Score:0

How can I configure a setting where netplan apply doesn't effect all my interfaces?

ru flag

So basically I run networking tests on my ubuntu machine and I use a few WAN interfaces and VLANS. I run openVPN tunnels over my WAN. whenever I decide to change one of my interface's configuration, if it's DHCP client to static IP or change the static IP and so on. I use netplan and not ifconfig, because I need the change to be permanent in case of a pulled cable and re-connection or ifconfig interface up and down. So I go on and I edit the yaml file per one interface and then I run "netplan apply". Unfortunately this causes to boot all my interfaces and not just the one I made changes on. my biggest issue right now is that I lose the openVPN tunnels and basically my whole communication on the machine. I tried installing ifupdown and use that but it just seems to cause more issues which I will go over in detail if you suggest me to try it.

I truly need an insightful answer, it will help me a lot as I done my homework and tested every option I had. if only there was a way to apply permanent changes to an interface and boot it in a way that won't effect the other interfaces. Thanks.

us flag
The intent here is that if you are not changing the configuration of other interfaces, it does not result in those interfaces being dropped and brought back up. So I think the behavior you're encountering is a bug. Please open a bug report at https://bugs.launchpad.net/netplan/+filebug
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.