lkml.org 
[lkml]   [1998]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectThe way Linux adds routes.
As a result of a discussion on another group I ask this question....
Why was Linux' route command written so strictly or explicitly? E.G. it
seems that other OS's / routers allow something like:

route add 204.132.128.1/24

Which means route the 204.132.128 net with a gateway of the entire address.

Or written in Linux route command -

route add -net 204.132.128.0 netmask 255.255.255.0 gw 204.132.128.1

The former being a shorthand method of defining the entire
address,netmask,gw in one string.

I am NOT arguing against the way it was done. Just wondering why it was
designed that way.

Doug

****************************
* Doug Crompton *
* Richboro, PA 18954 *
* 215-355-5307 *
* *
* doug@crompton.com *
* wa3dsp@wa3dsp.ampr.org *
* http://www.crompton.com *
****************************


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site