Re: Pre-release 2.0.5 breaks network config scripts

Drew Sullivan (drew@eros.ss.org)
Tue, 21 May 1996 10:12:19 -0400


> > Can we at least put a patch into route to strip the host portion. This is
> > the way I use route. I want say: route the net for which this host
> > address is valid. In this way, a simple shell scripts can say:
> >
> > echo -n "Enter IP"
> > read ip
> > ifconfig eth0 $ip
> > route add -net $ip
>
> how about this patch:
>
> - route add -net $ip
> + route add -host $ip

You didn't read what I wrote. I want to route the network for which this
host's ip address is valid. Routing only host doesn't do anything usefull.
Ie if the ip address is 204.225.106.6, then I want to route the
network 204.225.106.0. To change the '.6' to a '.0' in scripts is a pain.

The route command know the default netmask, all I want it to do is 'and'
it with the ip address. This used to work, and it breaks lots of
working configs. This is going to cause untold pain.

-- Drew Sullivan, <drew@ss.org> -- Toronto, Canada, +1-416-225-1592
"Intel Inside" isn't advertising. It's a warning!