[5326] in RedHat Linux List
netmask doesn't match route address
daemon@ATHENA.MIT.EDU (Dave Wreski)
Wed Nov 20 17:32:39 1996
Date: Wed, 20 Nov 1996 17:30:20 -0500 (EST)
From: Dave Wreski <tel1dvw@is.ups.com>
To: RedHat List <redhat-list@redhat.com>
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
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