Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    IP masquerade with LVS and keepalived, possible ?

    I'm new to Linux LVS and keepalived. Wonder if anyone here is able help.
    I have two hosts that I want to cluster with a virtual IP address. For example:

    Host     Real IP       Virtual IP
    -----  -------------  ----------------------
    #1 (Master)
    #2 (Slave)
    The above I can do with ipvsadm and keepalived.
    Question is how do I masquerade the virtual IP whenever either hosts initiate a network connection to another server, say at ?
    That is, the server (at will only see connections from IP address even though they may come from either host #1 or #2 ?
    Any help greatly appreciated.

  2. #2
    Would iptables work?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts