LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   SIOCADDRT: No such process on debian 4 (http://www.linuxquestions.org/questions/linux-server-73/siocaddrt-no-such-process-on-debian-4-a-646002/)

galphanet 05-31-2008 02:39 AM

SIOCADDRT: No such process 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 ;)

TigerOC 06-01-2008 02:43 AM

Please post the section dealing with eth0 in /var/log/dmesg. There may be a fault with the ethernet card or driver.

galphanet 06-01-2008 11:50 AM

Quote:

Originally Posted by TigerOC (Post 3170915)
Please post the section dealing with eth0 in /var/log/dmesg. There may be a fault with the ethernet card or driver.

Hello,
That's not a problem with driver because the servers were running very well since 6 months.
This is Dell PE 1850 servers on debian 4 stable with custom kernel 2.6.24 and all updates.

Code:

# cat /var/log/dmesg | grep eth
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
ADDRCONF(NETDEV_UP): eth0: link is not ready
e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready


TigerOC 06-01-2008 04:20 PM

Looks like it might be a problem associated with the gateway address. Is the gateway netblock associated with the system network i.e. either part of the netblock on eth0 or eth1?


All times are GMT -5. The time now is 06:49 PM.