[5382] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Update: Re: netmask doesn't match route address

daemon@ATHENA.MIT.EDU (Dave Wreski)
Thu Nov 21 00:18:07 1996

Date: Thu, 21 Nov 1996 00:16:23 -0500 (EST)
From: Dave Wreski <tel1dvw@is.ups.com>
Reply-To: Dave Wreski <tel1dvw@is.ups.com>
To: RedHat List <redhat-list@redhat.com>
In-Reply-To: <Pine.LNX.3.95.961120193149.15387A-100000@peanut.senie.com>
Resent-From: redhat-list@redhat.com


Hi again.  I appreciate all the help I have received so far on my problem,
but I worded it incorrectly, in such a way to gather the wrong responces.

Basically, after setting up redhat 4.0 i386, and making some small changes
(adding to /etc/hosts, /etc/resolv.conf...) I can no longer even configure
the loopback device.

I made a few typo's so I have corrected it, and resubmit my real problem
:)

> On Wed, 20 Nov 1996, Dave Wreski wrote:
> > # 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
> > 

After configuring the interface, I simply follow adding a route, like the
initscripts do:

    # route add -net 127.0.0.0 netmask 255.0.0.0

This leads to the following output:

> > 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.
> >    . . .

I don't know what to do next.  Its almost like its a bug, because the
netcfg script doesn't even let you touch the loopback device, yet upon
rebooting, I no longer have any routes at all!  This is the contents of my
/etc/sysconfig/network-scripts/ifcfg-lo:
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
BROADCAST=127.255.255.255
ONBOOT=yes
BOOTP=no

What other files can I provide to further diagnose this problem?  I have
already reinstalled once, to alleviate this problem, and would be happy to
reinstall again, but I would like to know what happened...

Thanks,
Dave


--
  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


home help back first fref pref prev next nref lref last post