LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   API for using multiple routing tables on Linux (https://www.linuxquestions.org/questions/linux-networking-3/api-for-using-multiple-routing-tables-on-linux-358267/)

Shakesh 08-29-2005 05:45 PM

API for using multiple routing tables on Linux
 
I guess Linux now supports multiple routing tables which IPROUTE2 uses, a table for each of the interfaces and a default kernel table. What we are trying to do is use these tables for establishing TCP connections. We want to setup same IP address on two interfaces and setup a TCP connection by specifying the interface and not the IP address. Also we don't want to use RAW socket since we want to kernel to take care of the TCP handshaking.

Is my above understanding about the multiple routing tables in Linux correct? If yes then, is there any API through which we can achieve this?

Please help me out.

Thnx.
SJ


All times are GMT -5. The time now is 06:05 AM.