[noob] direct routing with only one routable ip?

Horms horms at verge.net.au
Fri Dec 15 07:03:11 GMT 2006


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/


Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list