Policy routing and multipath routing needed (override routing table)

Oleg Tarasov subscriber at osk.com.ua
Wed Feb 1 05:19:53 PST 2006


Hello,

Sorry for messing with things I should not as I am not a FreeBSD
developer but I think this idea can be implemented without titanic
work (I can be wrong due to lack of information about FreeBSD
developement).

Now routing is performed using lookup of destination address in the
routing table. To extend its functionality I suggest adding several
new fields like source address, source interface, source and
destination ports, protocol and priority (like metric in windows).

Priority is for identification of which rules will be tested first in
the case of multiple compliance of the packet to table entries. This
actually is a sorting field to the table marking the order of lookup.

This configuration is reversly compatible with standart FreeBSD
routing and as I think will not lead to old program malfunction. In
this case there must be a default value of "any" to all table fields
that are not supplied to "route" command.

This method will cover both policy routing and multipath routing. It
is simple but very effective. It is obviously better than Linux
multiple tables and IMHO does not lead to major network stack changes.

Please tell me if I am wrong but from a first glance (and the second
one ;) ) it seems to be very complementary to FreeBSD functionality.

-- 
Best regards,
 Oleg Tarasov                          mailto:subscriber at osk.com.ua



More information about the freebsd-net mailing list