Score:0

What happens when unplugging a network cable in 18.04? How do I replicate this behaviour in 20.04?

vn flag

I understand that network management changed between 18.04 and 20.04.

For connecting to a special network I have a script that sets up multiple vlans and virtual interfaces using a mix of ifconfig, vconfig, and ip. (Yes, those first 2 are now deprecated. I don't maintain this script.). I became used to the effects of this script being undone when the network cable is unplugged in 18.04. After unplugging the virtual interfaces are no longer present in the output of ifconfig.

However in 20.04 the changes made by the script persist when the network cable is unplugged and are preserved until rebooting. How can I achieve effects similar to 18.04 in 20.04? What all exactly gets cleared in 18.04?

I can manually run sudo ip link del dev eth0.2 and so on to remove the virtual interfaces. What else do I need to clear?

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.