User Tools

Site Tools


ubuntu:networking:netplan:change_netplan_renderer_from_networkd_to_networkmanager

Ubuntu - Networking - Netplan - Change netplan renderer from networkd to NetworkManager

Make a backup

Backup the current netplan config file:

cp /etc/netplan/01-netcfg.yaml /backup/netplan/

Change the Renderer to NetworkManager

Edit /etc/netplan/01-network-manager-all.yaml:

/etc/netplan/01-network-manager-all.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  #renderer: networkd
  renderer: NetworkManager  
  ethernets:
    enp3s0:
      dhcp4: yes

NOTE: Notice that networkd is commented out with the hash in front.

Also notice that the renderer is set to NetworkManager.


Apply the update

This applies the current netplan configuration to a running system:

sudo netplan apply

Edit the Network Settings in the GUI

Go to Settings.

Click on Network.

Edit the IP address as needed.

  • Select IPv4 or IPv6.
  • Type in the IP Address and Gateway, as well as the appropriate Netmask.
  • In the DNS section, switch the Automatic switch to off; and enter the IP address of a DNS server you want to use.

ubuntu/networking/netplan/change_netplan_renderer_from_networkd_to_networkmanager.txt · Last modified: 2020/12/22 02:02 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki