[CentOS] Forward all traffic from public IP A to public IP B?

Sat Nov 22 09:00:54 UTC 2008
Amos Shapira <amos.shapira at gmail.com>

2008/11/4 Morten Sundstrøm <morten at coretek.no>:
> No nothing will go back from B through A, traffic from B vil go directly to
> the quering host. Sort of like manipulate the header of every packet

Sounds like what LVS (Linux Virtual Server) ldirectord does in "DR"
setup - host "A" publishes virtual IP, receives packets from the
world, redirects them at the ethernet-level to host B (which is on the
same ethernet segment) which then generates IP packets with the
virtual IP as the source address and the initial client as the
destination - allowing host B to send the reply directly to the client
through its router without bothering the ldirectord.

Is this what you are trying to achieve?

--Amos