LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [noob] direct routing with only one routable ip?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [noob] direct routing with only one routable ip?
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 15 Dec 2006 16:03:11 +0900
On Wed, Dec 13, 2006 at 11:56:43AM -0800, Jed Reynolds wrote:
> I've read the MiniHowto and the UltraMonkey Tutorial. Something that I'm
> not entirely clear on if I can do a direct routing setup with only using
> one routable IP address (aka, the VIP).
> 
> What I would like to do is to put the realservers on a DMZ with
> non-routable addresses. And since I have two nics on the realservers,
> can I configure the realserver nics plugged into the WAN switch with the
> VIP? (arp_ignore of course). And  then I wouldn't need to do a lo:0,
> would I ?
> 
> Like so:
> 
> WAN: x.200.200.112/28
> VIP: x.200.200.113
> DIP: 10.0.0.2
> RIP eth0: 10.0.0.3
> RIP eth1: x.200.200.113

What you are suggesting should work, as long as the real servers
can receive incoming packets from the linux director, and send
replies back to the the end-users. Its not important
what IP addresses real servers have.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


<Prev in Thread] Current Thread [Next in Thread>