LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-31-2008, 03:39 AM   #1
galphanet
LQ Newbie
 
Registered: May 2008
Posts: 6

Rep: Reputation: 0
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

Last edited by galphanet; 05-31-2008 at 03:41 AM.
 
Old 06-01-2008, 03:43 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Please post the section dealing with eth0 in /var/log/dmesg. There may be a fault with the ethernet card or driver.
 
Old 06-01-2008, 12:50 PM   #3
galphanet
LQ Newbie
 
Registered: May 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TigerOC View Post
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
 
Old 06-01-2008, 05:20 PM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
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?
 
  


Reply

Tags
debian, error


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SIOCADDRT: No such device klanux Linux - Networking 4 01-16-2010 09:51 PM
SIOCADDRT: No such process alenD Linux - Networking 1 11-28-2007 04:08 PM
SIOCADDRT: No such device NooDleZ Slackware 2 06-05-2004 08:35 AM
SIOCADDRT: No such device! NooDleZ Linux - Networking 2 06-05-2004 02:19 AM
what is SIOCADDRT? c12ayon Linux - Newbie 5 10-12-2003 04:02 PM


All times are GMT -5. The time now is 10:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration