Skip to contentSkip to conversation

multiple kernel routing tables & sendmsg

LARTC Robert May 1 participant 1 message Dec 28, 2001

lore
Share & tools
lore

Robert May

author
#0 lore raw

Hi all,

I have a question about the Linux kernel/IP stack support for multiple routing tables (or FIBs) that I am hoping someone can answer.

This support is also used by the iproute2 package that is available. My question is:

For applications sending raw packets, is it possible to specify the routing table to use when sending? Currently, I am finding that calls to sendmsg() use the main table by default, but I can't find a way to make it use a different one (or a different call).

Thanks in advance,
Robert.