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

Is there something similar in macOS Sierra?
You can tear down and start up the network interface using:

sudo ifconfig en0 down
sudo ifconfig en0 up