Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
share|improve this question
So if you restart, and login through a shell, what is the actual state of your network configuration? Can you run ip addr; ip route after a restart, save the output, and post that output? – Zoredache Apr 3 '12 at 19:13
Hi @Zoredache ip route seems to return the WAN ip address of my local network such as – steveyang Apr 4 '12 at 4:46
up vote 2 down vote accepted

The "new" way of resetting interfaces is trough the ifdown and ifup command:

ifdown eth1 
ifup eth1

Try this command and see if the eth1 is getting set up properly. If this still fails you can always try to check your logfiles to see if anything suspicious is happening there.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.