Re: Routing Table (Feature)

kuznet@ms2.inr.ac.ru
Sun, 21 Feb 1999 23:17:01 +0300 (MSK)


Hello!

> The user code doesn't care how a connection is established, nor
> how a datagram gets to a destination. Machine-specific raw sockets
> don't even care.

Sure? Then try to start gated in your configration and
look what will occur.

> on the physical network, by manipulating routing netmasks.
....
[etc. explanation, when it can be useful skipped]

I ABSOLUTELY agree. Then let's teach gated etc. not to rely
on interface addresses for beginning. Then we can return
to this question and delete from kernel useless SIOC[GS]IFNETMASK.

It is not joke. You may scan ftp://ftp.inr.ac.ru/ip-routing/
to look at apps, which DO use routing tables directly not relying
on address information (pimd, rsvpd etc). If the program of sanitization
of bsd heritage appeared realistic, I would sign under each your word.

For now, keep netmasks and routes in sync, please.
And if it is impossible, then try not to delete routes installed
by kernel at least. (BTW you may just OVERRIDE interface routes
without deleting route to wider network installed by kernel)

Alexey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/