Cannot reset an network interfaces without a reboot
Posted
by
yangchenyun
on Server Fault
See other posts from Server Fault
or by yangchenyun
Published on 2012-04-03T17:03:16Z
Indexed on
2012/04/03
17:32 UTC
Read the original article
Hit count: 260
I have edited the /etc/network/interfaces
file and I use the sudo /etc/init.d/networking restart
.
After restart, the eth1
interfaces don't setup properly. I need a hard reboot to enable this configuration. Meanwhile the command line hints: Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces.
Am I using the run command to restart network interfaces?
auto eth1
iface eth1 inet static
address 192.168.1.87
netmask 255.255.255.0
gateway 192.168.1.1
© Server Fault or respective owner