How to restart the networking after changing the network configuration?

Stephen P. Molnar s.molnar at sbcglobal.net
Fri May 13 13:51:40 UTC 2016


as root dhclient eth0

------ Original Message ------
From: "Zhengyu Guo" <zhengyuguobuaa at gmail.com>
To: ubuntu-users at lists.ubuntu.com
Sent: 5/13/2016 9:15:22 AM
Subject: How to restart the networking after changing the network 
configuration?

>Hi all,
>
>My question is how to restart the networking after changing the network 
>configuration?
>
>I setup a bridge in my machine and I need to restart the network to 
>make it work. However, If I use the following command it will not work.
>
>~~~
>/etc/network$ sudo service networking restart
>Job for networking.service failed because the control process exited 
>with error code. See "systemctl status networking.service" and 
>"journalctl -xe" for details.
>~~~
>  But if I reboot the machine, the configuration will take effect 
>without any problem.
>
>Therefore, I want to know if there are any alternative way that I can 
>use for restart the networking without the need for rebooting.
>
>Thanks for any help.
>
>Zhengyu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20160513/2035a3d8/attachment.html>


More information about the ubuntu-users mailing list