[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SIOCADDRT: Invalid Parameters



Umm, two aspects I can think of:

(1) in kernel 2.2.x -net isn't required at all iirc, so route add
127.0.0.1 lo should be enough.
(2) I would have thought the route should be 127.0.0.0 not 127.0.0.1
... my /etc/init.d/network says 127.0.0.0 but don't take that for gospel.

Cheers,
 Corey Popelier
 http://members.dingoblue.net.au/~pancreas
 Work Email: copo@commerce.wa.gov.au

On Mon, 12 Jun 2000, Mark wrote:

> On boot up, when my system executes the network init script, it gives the
> error:
> 
> SIOCADDRT: Invalid Parameters
> 
> the network script contains:
> 
> ifconfig lo 127.0.0.1
> route add -net 127.0.0.1 lo
> 
> It's crashing on the "route add" bit. Shouldn't it be "route add -host"
> instead of "-net"?
>         
> -- 
> Mark  Herrick - Liverpool - England
> mark at blacksky dot co dot uk
> Pick two: Good, Fast, Cheap
> 
> 
> 
> ______________________________________________________________________________
> This message has been checked for all known viruses by Star Internet delivered 
> through the MessageLabs Virus Control Centre. For further information visit-
> http://www.star.net.uk/stats.asp
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 



Reply to: