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

John R Pierce pierce at hogranch.com
Sat Nov 22 10:07:10 UTC 2008


Amos Shapira wrote:
> 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?
>   

um, about 3 weeks ago, when this discussion was active, the original 
poster stated that Servers A and B were... "two different machines on 
different public networks."

I think that precludes a direct Ethernet connection.





More information about the CentOS mailing list