How to restart networking on Ubuntu without rebooting

I just needed to add additional ip addresses onto a network interface and wanted to do this without rebooting the server. I found the best way was just to bring the interface up and down:

sudo ifdown -a

Then bring the interface backup.

sudo ifup -a

2 thoughts to “How to restart networking on Ubuntu without rebooting”

  1. Gee whiz. That’s really not very helpful unless you’re sitting at the local console.

Leave a Reply