Re: Piranha on same subnet

Sébastien Bonnet <[email protected]> Wed, 20 Aug 2003 10:12:17 +0200
Newsgroups gmane.linux.redhat.piranha
Message-ID <[email protected]>
David,

Welcome to LVS + Piranha :)

> All of these machines are on the same subnet and on the same layer 2
> ethernet switch.  Will it work? 

Sure it will ! Use direct routing and read thoroughly the LVS how-to on
http://www.linuxvirtualserver.org/

> All the documentation I can find show examples of having the LINUX
> server as a router between the clients on the INTERNET and therefore
> on one subnet and the real servers inside on another SUBNET.

This is NAT with 2 NICs. You still can go for NAT with 1 NIC, which is a
bit harder and not really worth it.

You should really try direct routing. If you need more help, I'll send
you my current piranha config (+explanations). 

-- 
Sébastien Bonnet
  Centre de contacts - Experian France