Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Failed to restart network (http://www.linux-archive.org/debian-user/314595-failed-restart-network.html)

"S.Ali zahiri" 01-25-2010 06:52 AM

Failed to restart network
 
Hi dear all,

Today i had changed network config.then i was trying to restart my
network i got following error :

/etc/network# /etc/init.d/networking restart
Reconfiguring network interfaces...SIOCADDRT: File exists
Failed to bring up eth0.

################################# /etc/network/interface :

# The loopback network interface
auto lo
iface lo inet loopback


auto eth0
allow-hotplug eth0
iface eth0 inet static

address 172.16.216.109
netmask 255.255.255.0
gateway 172.16.216.191

dns-nameservers 81.28.44.25

################################# /etc/network# ifconfig

eth0 Link encap:Ethernet HWaddr 00:1b:fc:89:d8:92
inet addr:172.16.216.109 Bcast:172.16.216.255 Mask:255.255.255.0
inet6 addr: fe80::21b:fcff:fe89:d892/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:284779 errors:0 dropped:0 overruns:0 frame:0
TX packets:201466 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:395520288 (377.1 MiB) TX bytes:14830250 (14.1 MiB)
Interrupt:219

eth0:1 Link encap:Ethernet HWaddr 00:1b:fc:89:d8:92
inet addr:10.10.1.20 Bcast:10.10.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:219

eth0:2 Link encap:Ethernet HWaddr 00:1b:fc:89:d8:92
inet addr:192.168.1.20 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:219

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20154 errors:0 dropped:0 overruns:0 frame:0
TX packets:20154 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11104136 (10.5 MiB) TX bytes:11104136 (10.5 MiB)

What could i do ?????

--
; respectfully yours ;


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Camaleón 01-25-2010 11:08 AM

Failed to restart network
 
On Mon, 25 Jan 2010 11:22:58 +0330, S.Ali zahiri wrote:

> Today i had changed network config.then i was trying to restart my
> network i got following error :
>
> /etc/network# /etc/init.d/networking restart Reconfiguring network
> interfaces...SIOCADDRT: File exists Failed to bring up eth0.

If you have access phisically to the computer, try by running "ifdown
eth0" and then retry. Careful to issue that command if you are remotely
connected :-)

Beyond that, restarting the machine could also help (in the event the
problem is caused by lazy udev network rules not being properly
populated...).

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Camaleón 01-25-2010 06:08 PM

Failed to restart network
 
2010/1/25 S.Ali zahiri:

> thanx for your attentions

You're welcome :-)

If you need further assistance on this issue, don't forget to reply to
the list so anyone can read your message and lend you a hand.

Greetings,

--
Camaleón



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 08:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.