If you’ve changed network configuration file /etc/network/interfaces for example you probably whish to apply changes. You can do it by two commands that I will write about in this article. Say for example that you’ve changed network configuration and need to apply these changes. Ofcourse you could restart your computer but it’s much easier to apply changes from command line by restarting the network.
1. Restart network interfaces
$ sudo /etc/init.d/networking restart
2. Restart dhcp
$ sudo /etc/init.d/dhclient
Now your network configuration is applied without restarting the computer.