Ubuntu - Restart Network Service
You could use the service command but I prefer to run the command directly:
sudo /etc/init.d/networking restart
or
You can bring each of your network interfaces up and down manually:
You can run this command to take down all interfaces:
sudo ifdown -a
Then run this to bring them back up again:
sudo ifup -a