Solved

ifup: SIOCADDRT: Network is unreachable

Posted on 2002-05-24
5
1,497 Views
Last Modified: 2007-11-27
I see the following in /var/log/messages whenever I reboot or restart networking.  Though it says that the network is unreachable, I can telnet, ftp, ping, etc. to and from that box.  What gives?
i have the kernel 2.2.16 and two lan cards
> >
> > Feb 27 16:47:32 ilgc1 network: Shutting down interface eth0 succeeded
Feb 27 16:47:32 ilgc1 network: Shutting down interface eth1 succeeded
> > Feb 27 16:47:32 ilgc1 sysctl: net.ipv4.ip_forward = 1
> > Feb 27 16:47:32 ilgc1 sysctl: net.ipv4.conf.all.rp_filter = 1
> > Feb 27 16:47:32 ilgc1 sysctl: net.ipv4.ip_always_defrag = 1
> > Feb 27 16:47:32 ilgc1 sysctl: kernel.sysrq = 0
> > Feb 27 16:47:32 ilgc1 network: Setting network parameters succeeded
> > Feb 27 16:47:32 ilgc1 ifup: SIOCADDRT: Network is unreachable
> > Feb 27 16:47:32 ilgc1 network: Bringing up interface lo succeeded
> > Feb 27 16:47:32 ilgc1 network: Bringing up interface eth0 succeeded
> > Feb 27 16:47:32 ilgc1 ifup: SIOCADDRT: Network is unreachable
Feb 27 16:47:32 ilgc1 network: Bringing up interface eth1 succeeded
0
Comment
Question by:MNGROW
  • 3
5 Comments
 
LVL 3

Accepted Solution

by:
ITsheresomewhere earned 0 total points
Comment Utility
This could be the solution to your problem

# (added automatically by netbase upgrade)
#
# In new Debian installations, this file is deprecated in favour of
# the ifup/ifdown commands (invoked from /etc/init.d/networking), which
# can be configured from the file /etc/network/interfaces.
#
# If you are receiving SIOCADDRT errors, they can be avoided by adding
# a netmask and interface to your "route add -net" lines. eg,
#      route add -net 127.0.0.0
# becomes:
#      route add -net 127.0.0.0 netmask 255.0.0.0 lo
#
# Alternatively, these lines can simply be deleted if you don't use 2.0.x
# series kernels.
0
 
LVL 4

Expert Comment

by:EricWestbo
Comment Utility
MNGROW... where do we stand on this?

/ew
0
 
LVL 3

Expert Comment

by:ITsheresomewhere
Comment Utility
  ***Request for Closing Action and Input *****  

Hi MNGROW and participating Experts

The reason for contacting you is that your help is needed in closing this question
and bringing the queue up to date. MNGROW, you will also be returning the courtesy
that Experts extended to you in responding to the original question.

Your choices are:

1. Select a comment which provided you with the solution or information needed to
 resolve the question.

2. Request a split of points among participating Experts by stating in a comment
which experts and in what amount each is to be awarded.   A Moderator will handle
the closing awards.   You may designate as many Experts as you wish.

Example 100 point question:

Please Split points to  (Expert1name) - 50 points, (Expert2name)- 50 points


3. Request the question be Closed and PAQ for 0 points if you resolved it yourself,
 or if no solution was found.

To do this go to http://www.experts-exchange.com/commspt/    
Post a 0 point question, requesting closing assistance.  Include your reasoning
and a reference to this question - copy and paste this question URL shown above.

Please also post your comment here as to why to inform the participating Experts.

I realize that two and three are a bit of a bother, but it is necessary and simplification
is in the works.

Experts-Exchange really does appreciate your cooperation.

Again thanks    - DO NOT ACCEPT THIS COMMENT AS THE ANSWER


ITsheresomewhere
EE Database Cleanup Volunteer


EXPERTS - Please monitor this question in the event that additional information or
clarification is needed by the Asker.  Your assistance in bringing this question to a
close is, as always, greatly appreciated.
          *****If you have closing suggestions please make them now. *****
0
 
LVL 3

Expert Comment

by:ITsheresomewhere
Comment Utility
Hello MNGROW,

It appears that you have forgotten this question. I will ask Community Support to close it since no Experts responded.I will suggest to:

    DELETE this question - Refund Points - Abandoned
    Unable to confirm solution.

If the problem still exits please post a new question in the appropriate Topic Area.

Please do not accept this comment as an answer!
==========
ITsheresomewhere
EE Database Cleanup Volunteer
0
 
LVL 6

Expert Comment

by:Mindphaser
Comment Utility
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now