Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st June 2008, 09:24
galphanet galphanet is offline
Junior Member
 
Join Date: Dec 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default SIOCADDRT error on debian 4

Hello,

I'm really gonna to be crazy with networking on two servers.
They have the same error but I can't figure out why.

So I really need your help !

Code:
~# ifup eth0
SIOCADDRT: No such process
Failed to bring up eth0.
Code:
~# /etc/init.d/networking restart
Reconfiguring network interfaces...SIOCADDRT: No such process
Failed to bring up eth0.
done.
Code:
~# route add default gateway xxx.xxx.xxx.zzz eth0 
SIOCADDRT: No such process
Code:
~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:11:43:35:A9:7E  
          inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.yyy  Mask:255.255.254.0
          inet6 addr: fe80::211:43ff:fe35:a97e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:54553 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3661198 (3.4 MiB)  TX bytes:620 (620.0 b)
          Base address:0xecc0 Memory:dfae0000-dfb00000
(note that the mask is correct)

Code:
~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

#used for cluster under ldirectord
auto lo:0
iface lo:0 inet static
  address xxx.xxx.xxx.uuu
  netmask 255.255.254.0
  pre-up sysctl -p > /dev/null


# The primary network interface
auto eth0
iface eth0 inet static
	address xxx.xxx.xxx.xxx
	netmask 255.255.254.0
	broadcast xxx.xxx.xxx.yyy
	gateway xxx.xxx.xxx.zzz
	
auto eth1
iface eth1 inet static
	address 10.0.200.104
	netmask 255.255.255.0
	broadcast 10.0.200.255

Code:
~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.200.0      0.0.0.0         255.255.255.0   U     0      0        0 eth1
xxx.xxx.xxx.0     0.0.0.0         255.255.254.0   U     0      0        0 eth0
The internet is on eth0 and eth1 is a local network with no internet access.
I'm using heartbeat and ldirectord, it has never worked because of this network error.

So what you suggest to me ?

Many thanks for your help !

(sorry for my english, that's not the best
Reply With Quote
Sponsored Links
  #2  
Old 2nd June 2008, 09:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Does this also happen after a reboot?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 2nd June 2008, 20:09
galphanet galphanet is offline
Junior Member
 
Join Date: Dec 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Does this also happen after a reboot?
Yes...
This is a route problem but I cannot solve it...
Reply With Quote
  #4  
Old 3rd June 2008, 10:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

What exactly did you do before this error showed up for the first time?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian suPHP security patch pjdevries Installation/Configuration 8 21st May 2008 08:36
Perfect setup Debian Etch ISPConfig - DNS Server kdclaver Installation/Configuration 16 28th December 2007 01:39
Please help me whit bind9 astra2000 Server Operation 12 10th October 2007 02:43
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 02:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.