[lug] SIOCADDRT in network startup
Erick Bodine
erick at xpedite.com
Wed Feb 28 10:08:13 MST 2001
Nate,
This box is less than a month old. It is build with 2.2.14-6.1.1 kernel and RH 6.2; so no possible left over crud from a 2.0.x kernel upgrade.
Erick Bodine
Xpedite Systems Inc
Boulder CO
Nate Duehr wrote:
> And the SIOCADDRT: Network is unreachable is usually a sign that you
> have unnecessary cruft left over from a 2.0.x kernel for starting your
> network if your network is working properly.
>
> Trying to dig back here in the grey matter this early in the morning is
> painful, but it seems to me the 2.2 kernels automatically do their route
> add for the local network or they do it differently than the 2.0 kernels
> did. Many distros didn't clean up the old stuff during "upgrades" to
> the next kernel.
>
> How old is the box, could that be it? Was it upgraded?
>
> I'm sorry I can't remember the details right now... and I've done a
> bunch of web searches trying to remember what the details were...
> sigh...
>
> Nate Duehr, nate at natetech.com
>
> "D. Stimits" wrote:
> >
> > Erick Bodine wrote:
> > >
> > > 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?
> > >
> > > Feb 27 16:47:32 ilgc1 network: Shutting down interface eth0 succeeded
> > > Feb 27 16:47:32 ilgc1 sysctl: net.ipv4.ip_forward = 0
> > > 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 = 0
> > > 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
> > >
> > > Erick Bodine
> > > Xpedite Systems Inc
> > > Boulder, CO
> > >
> >
> > Those options (from /etc/sysctl.conf usually) require kernel support to
> > work. The rp_filter and defrag, so on, look correct. I'd guess your
> > kernel doesn't support them.
> >
> > D. Stimits, stimits at idcomm.com
> > _______________________________________________
> > Web Page: http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list