[5329] in RedHat Linux List
Re: netmask doesn't match route address
daemon@ATHENA.MIT.EDU (Kelly Prescott)
Wed Nov 20 17:42:46 1996
From: Kelly Prescott <krprescott@worldnet.att.net>
To: redhat-list@redhat.com
Date: Wed, 20 Nov 1996 17:37:34 -0500 (EST)
In-Reply-To: <Pine.GSO.3.93.961120172344.7939A-100000@butthead> from "Dave Wreski" at Nov 20, 96 10:30:20 pm
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
>
>
> Hi all. I just set up redhat 4.0 i386, and am having routing problems.
> I am simply trying to add a route to the loopback device, and not even
well, the correct netmask should be 255.0.0.0
> that will work now.
>
> # ifconfig lo 127.0.0.0.1
> # ifconfig
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
> UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0
> TX packets:0 errors:0 dropped:0 overruns:0
>
> # route add -net 127.0.0.0 netmask 255.255.255.0
> route: netmask doesn't match route address
> Usage: route [-nNvee] [-FC] [Address_families] List kernel routing tables
> route {-V|--version} Display command version and exit.
> . . .
>
> This doesn't make sense to me, and I don't know what to do next. If I
> type:
>
> # route add 127.0.0.1
>
> Then I get:
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> localhost * 255.255.255.255 UH 0 0 0 lo
>
> But that is not done correctly. And adding an eth0 never worked... My
> 3c509 module is installed, and this is basically otherwise a stock 4.0
> i386 install using 2.0.18.
>
> I have gone thru the netcfg and just can't figure this out.
> Can anyone shed some light on what might be going on here?
>
> Thanks,
> Dave Wreski
>
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> ________________________________________________________________________
> http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
> http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
> ------------------------------------------------------------------------
> To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null