On 2014-04-09, Florenz Kley <[email protected]> wrote: > hello misc, > > can anyone please help me with a pointer: > > two hosts have one interface each configured on the same subnet (.1 and .2), > and also have a carp interface (.3) using the interfaces as carpdev. No load > balancing is configured. > > Is there more than one way to make the traffic originating from the host's > carpdev have the source IP of the carp interface (in addition to nat-to with > pf)? > > and which is the recommended way? > > regards > Florenz > >
Yes, you can bind the program that is making the connection to using a specific source address. This is only supported by some programs but I think it's preferred if you can do it that way.

