SIOCADDRT error on debian 4

Discussion in 'Server Operation' started by galphanet, Jun 1, 2008.

  1. galphanet

    galphanet New Member

    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 ;)
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Does this also happen after a reboot?
     
  3. galphanet

    galphanet New Member

    Yes...
    This is a route problem but I cannot solve it...
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What exactly did you do before this error showed up for the first time?
     

Share This Page