lkml.org 
[lkml]   [1996]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Pre-release 2.0.5 breaks network config scripts
Date
From
> > 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!


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.037 / U:0.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site