Subject: Re: Q: about route
To: Angel Orille-Franz <Angel.Orille@extern.lrz-muenchen.de>
From: Ken Nakata <kenn@romulus.rutgers.edu>
List: port-mac68k
Date: 01/26/1996 15:13:18
> I want so setup a local route so I enter:
> 
> route add -net 127.0.0.0
> 
> Error message: Invalid instruction "add net"
> =09       cannot write to socket
> 
> Is something incorrect in the above statement?, please give me a tip.

It's because you didn't specify the gateway.  You have to write:

route add -net 127 <gateway>

But I don't why you want to add net 127.0.0.0 since it's reserved
for the loopback interface.  If you just want to add the loopback
route, you should do the following instead:

route add 127.0.0.1 127.0.0.1

or

route add -host 127.1 127.1

ken