[lkml]   [1996]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Telnet does not work in 2.0.10
root (root@lunix.ORG) wrote:
: The first time I saw 'route add -net' I thought: Wow, neat. These guys have
: definetely a more open mindset than other unices', and then they drop it :-(

: I want net-routes with host back !!!! Linuuuuuuuuuuuuuussssss !!!!! (Alan ?)

Let's change to something more interesting f.e.
and suppose that you have devices with prefixes, and What device did you mean?
sl0? Yes, it is the best choice. Unfortunately, your modem is broken
and sl0 is down, so that your command will add unexpected route.

Kernel cannot allow operations with ambiguous result, so that write:

route add -net netmask dev lo

Kernel still allows to write:
route add -net netmask
route add -net dev lo
and even
route add -net

I hope, they will be deprecated, as soon as device routes will be added
automatically. All these commands work, but they are incorrect. Why?
And why C compiler checks for type consistency? When you
have only 2 interfaces, you can keep all the configuration
in the mind (and use Basic for writing two-line program), but
if you had a lot of nodes and a lot of devices, you would be
glad when kernel says "Network is unreachable" instead of
making an unpredictable thing.

BTW references to "all the unices" are ridiculous: all the unices
(except for BSD) do not support CIDR. Really good example is Cisco IOS.
It does not allow not complete route specifications at all.

Alexey Kuznetsov.

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