Distribute outgoing connections among multiple IPs configured on the same NIC

Posted by cedivad on Server Fault See other posts from Server Fault or by cedivad
Published on 2012-03-21T15:04:11Z Indexed on 2012/03/21 17:31 UTC
Read the original article Hit count: 264

Filed under:
|

I have a NIC with 2 aliases on it. The network interface has 3 IPs configured on it. Think about it like this: i can ping the same server by hitting .100 .101 and .102.

I want the source address of the outgoing connections to be distributed among these ip. So if i have 3 opened connections, one connection will have result as having an IP address ending with .100, the other two should result as having as ip addresses .101 and .102.

I'm using FreeBSD but I think this question to be Linux-Like wide.

© Server Fault or respective owner

Related posts about networking

Related posts about freebsd