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”

Leave a Reply