adding localhost route

Jeff Coy Jr. (jcoy@flash.net)
Sun, 20 Jul 1997 10:31:58 -0700 (MST)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---1463811584-1372421128-869419918=:315
Content-Type: TEXT/PLAIN; charset=US-ASCII

I'm sorry to be so late in this bug report, I did report it once before
but not in as much detail. I hope that this is complete enough that
someone with more network hacking exp. than I can fix this one.

I can't add localhost to my routing table with newer kernels. I am using
net tools v1.41 and using the following lines:

/sbin/ifconfig lo 127.0.0.1 netmask 255.0.0.0 up
/sbin/route add -net 127.0.0.0 netmask 255.0.0.0

I get a "SIOCADDRT: No such device" when I run the route command.
ifconfig shows the device:

ifconfig lo
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:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0 coll:0

I can still telnet to and use 127.0.0.1. This stopped working with 2.1.15
(2.1.14 does not have this problem). Attached is the output from
`egrep '=(y|m)' /usr/src/linux/.config`, which is the most bare boned
config setup I can run.

I have not narrowed this down to any one part of the patch, 2.1.15 was a
fairly big change to the networking layer and to be honest, my networking
skills aren't up to it (I tried).

jeff

--
"UNIX is simple and coherent, but it takes a genius (or at any rate,
 a programmer) to understand and appreciate its simplicity"

-Dennis Ritchie [USENIX '87]

---1463811584-1372421128-869419918=:315 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="config.opts" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.LNX.3.95q.970720103158.315A@jcoy.tucson.az> Content-Description: enabled config options

Q09ORklHX01PRFVMRVM9eQ0KQ09ORklHX05FVD15DQpDT05GSUdfUENJPXkN CkNPTkZJR19TWVNWSVBDPXkNCkNPTkZJR19CSU5GTVRfRUxGPXkNCkNPTkZJ R19NMzg2PXkNCkNPTkZJR19CTEtfREVWX0ZEPXkNCkNPTkZJR19CTEtfREVW X0lERT15DQpDT05GSUdfQkxLX0RFVl9JREVESVNLPXkNCkNPTkZJR19CTEtf REVWX1RSSVRPTj15DQpDT05GSUdfSU5FVD15DQpDT05GSUdfSVBfTk9TUj15 DQpDT05GSUdfU0tCX0xBUkdFPXkNCkNPTkZJR19ORVRERVZJQ0VTPXkNCkNP TkZJR19FWFQyX0ZTPXkNCkNPTkZJR19QUk9DX0ZTPXkNCkNPTkZJR19TRVJJ QUw9eQ0K ---1463811584-1372421128-869419918=:315--