linux routing question

jackc

Verified User
Joined
Jan 19, 2007
Messages
346
I have a Linux server with multiple IPs bind to eth0, such as 66.66.66.66 - 66.66.66.69. if I use the server connect other servers, it will use the primary IP 66.66.66.66 to make the connection, how do I set it use other IPs such as 66.66.66.69 to make the connection without changing it to primary IP?

Thanks!
 
As far as I know, there's no way to do that on a system-level, you'd have to rely on the application to provide a method for setting the wanted source-address when the connection is made.
 
Back
Top