Re: Forwarding client request to VIP1 to VIP2 to RIPs
Horms <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
Roxana Diaconescu wrote: > Hello Everyone, > > I am trying to use two layers VIPs between the client and the real servers. > > Idea: > > VIP1's ipvsadm output: > > TCP VIP1:xxxx rr > -> VIP2:xxx gate/tunnel 1 0 0 > > VIP2's ipvsadm output: > > TCP VIP2:xxx wrr > -> RIP1:xxxx gate 1 0 0 > -> RIP2:xxxx gate 1 0 0 > > If I use gate for VIP1's "real server" (VIP2), I get connection > refused. If I use tunnel, the connection just hangs. I used ultra > monkey to configure everything. Layer 2 VIP works fine, but not VIP1 > on top of it. > > Has anyone tried something similar? Intuitively seems that is should work: > > Client connects to VIP1:xxxx > VIP1:xxxx gets forwarded to VIP2:xxxx > VIP2:xxxx gets forwarded to RIP1/2. > > However, it doesn't. Any thoughts? I suspect in the gate->gate case you are running into some kind of ARP problem. You should use something like tcpdump, and examine the arp tables on each machine to get a better picture of what is going on. I'm not sure about tunnel, though this may end up being the first valid use of it ever. -- Horms H: http://www.vergenet.net/~horms/ W: http://www.valinux.co.jp/en/ -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.