nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

SIOCADDRT error on debian 4

This is a discussion on SIOCADDRT error on debian 4 within the Networking, Firewalls and Security forums, part of the Mastering Servers category; Hello, I'm really gonna to be crazy with networking on two servers. They have the same error but I can't ...


Go Back   nixCraft Linux Forum > Mastering Servers > Networking, Firewalls and Security

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-01-2008, 12:44 PM
Junior Member
User
 
Join Date: Jun 2008
My distro: Debian
Posts: 1
Rep Power: 0
galphanet is on a distinguished road
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
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Monitoring traffic with debian raj Linux software 2 03-24-2008 07:37 PM
iptables under debian ricc Linux software 1 04-22-2007 08:26 PM
Invalid ICMP type 3 code 3 error to a broadcast -samba error raj Linux software 0 07-09-2006 04:38 AM
SIOCADDRT Network Unreachable puppen Linux software 5 05-19-2006 12:51 AM
debian apache2 cgi-bin location Linux software 1 01-24-2006 06:44 PM


All times are GMT +5.5. The time now is 12:15 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36