Equivalent to '/etc/init.d/networking restart' in a netplan world

Bug #1887999 reported by James Troup
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netplan.io (Ubuntu)
New
Undecided
Unassigned

Bug Description

With complex network setups or when networking is in a wonky state and you're not sure how/why, '/etc/init.d/networking restart' was a nice 'reset the world to a known good state' tool in an ifupdown world. It'd be very useful for me if netplan had something similar as my only other option appears to be 'reboot', which is a very big hammer.

Revision history for this message
Lukas Märdian (slyon) wrote :

Netplan doesn't try to be the exclusive tool for networking. So it cannot just wipe out any applied networking configuration, that might originate from another tool (e.g. Open vSwitch).

The `netplan apply` command should reset/re-apply the interfaces as defined in /etc/netplan/*.yaml configuration. But not touch anything else.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.