I want to choose my source address
Posted on 2001-09-13
I have a linux (kernel 2.4) machine with several network interfaces:
interface IP address
Normally, when a program does something outgoing in the IP world, it chooses a source IP address from the interface that will route to the destination IP address. This causes problems for me, because ppp1 and ppp2 are unreliable, so a TCP connection may die because the machine suddenly no longer has the address 10.2.3.9, regardless of whether I can set up routing tables to get the packet to the right machine.
Instead, I want to have the source address chosen from the following table:
x.x.x.x dynamic (ppp0)
Is this possible under linux?
(Sorry, I only have 75 points at the moment - until next month)