How to restart the networking after changing the network configuration?
Zhengyu Guo
zhengyuguobuaa at gmail.com
Fri May 13 15:19:10 UTC 2016
Hi,
I tried it but it still doesn't work. Probably this is not for my case.
What I did was I changed the DHCP to static IP with bridge. The following
is the configuration.
~~~
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address xxx.xxx.xxx.xxx
network xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
broadcast xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
~~~
Do you have any other idea on how should I restart the networking to make
the bridge work?
Thanks
Zhengyu
On Fri, May 13, 2016 at 8:51 AM, Stephen P. Molnar <s.molnar at sbcglobal.net>
wrote:
> 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
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20160513/46ed5edf/attachment.html>
More information about the ubuntu-users
mailing list