MacOS – How to restart network services on Sierra

macosNetwork

On FreeBSD/Linux, it is possible to restart network services by restarting a daemon.

Is there something similar in macOS Sierra?

Best Answer

You can tear down and start up the network interface using:

sudo ifconfig en0 down
sudo ifconfig en0 up