Re: 2.1.15 vs. "route"

Mike Bristow (mike@shivan.demon.co.uk)
14 Dec 1996 16:55:28 GMT


In article <m0vYdwO-00000SC@tracy-tds.wlk.com>,
rct@tracy-tds.wlk.com (Bob Tracy - TDS) writes:
>
>Ok. What happened? Or was I asleep at the switch when someone said
>I needed to upgrade my network utilities? :-(
>
> /sbin/route add -net 127.0.0.0
>
>produces
>
> route forgot to specify route netmask.
> SIOCADDRT: Invalid argument
>
>Just for grins, I try
>
> /sbin/route add -net 127.0.0.0 netmask 255.0.0.0
>
>and get
>
> SIOCADDRT: No such device
>
>So I try
>
> /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 dev lo
>
>and get no complaints, but none of "netstat -rn", "route", or
>"cat /proc/net/route" say that a route was actually added.
>

I get the same thing; however pinging localhost get's results.

Traceroute localhost gives:
shivan:~> traceroute localhost
traceroute to localhost.demon.co.uk (127.0.0.1), 30 hops max, 40 byte packets
sendto: Bad address
1 traceroute: wrote localhost.demon.co.uk 40 chars, ret=-1

The dummy driver has the same problem with traceroute as well; I haven't
checked out PPP yet.

shivan:~> /sbin/route -V
Linux NET-3 Base Utilities
Source: net-tools 1.32-alpha net-tools@lina.inka.de (Bernd Eckenfels)
Kernelsource: 2.1.10
route 1.92 (1996-04-26)
+NEW_ADDRT +RTF_IRTT +RTF_REJECT -NLS
AF:(inet) +UNIX +INET -IPX -AX25 -NETROM -ATALK
HW: +ETHER -ARC +SLIP +PPP -TUNNEL -TR -AX25 -NETROM -FR

--
Mike Bristow: 			mike@shivan.demon.co.uk   
The best UK M:tG tourney page: 	http://www.shivan.demon.co.uk/tourney/ 
My public PGP key:		http://www.shivan.demon.co.uk/pgp/pgp.txt