Ubuntu 20.04
systemctl restart systemd-networkd.serviceNote that Ubuntu 20.04 is using ‘/etc/netplan/’, different from Debian which is using ‘/etc/network/’.
If above does not work
service network-manager restartor
systemctl restart NetworkManager.serviceDebian
/etc/init.d/networking restart
 
#for stop, use: stop
#for start use: start