From owner-freebsd-current Thu Feb 13 15:37:15 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39FE537B401 for ; Thu, 13 Feb 2003 15:37:14 -0800 (PST) Received: from puffin.mail.pas.earthlink.net (puffin.mail.pas.earthlink.net [207.217.120.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90FED43FAF for ; Thu, 13 Feb 2003 15:37:13 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0247.cvx22-bradley.dialup.earthlink.net ([209.179.198.247] helo=mindspring.com) by puffin.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18jSul-0001Ic-00; Thu, 13 Feb 2003 15:37:12 -0800 Message-ID: <3E4C2BD4.258DA525@mindspring.com> Date: Thu, 13 Feb 2003 15:35:48 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Ken McKittrick Cc: current@FreeBSD.ORG Subject: Re: FreeBSD 5 not working with Linux Virtual Server References: <44DA7EC5-3F74-11D7-A349-000393B2B0EE@usadatanet.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a412773a47d96d366f88442d843d6c9771350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ken McKittrick wrote: > I've got a FreeBSD5.0-R machine that doesn't work with Linux Virtual > Server. This is for SMTP and WWW services. > > I'm using LVS-Direct Routing. The LVS machine has the 66.218.0.54 Real > IP and 66.218.0.58 and 66.218.0.59 as Virtual IP's. The FreeBSD machine > has 66.218.0.28 and a Real IP on fxp0 and 66.218.0.58/59 on lo0 with > -arp. > > Running tcpdump host 66.218.0.54 I can see the requests come in, but > nothing is going back out. When you telnet into port 25 the connection > times out. > > I've running Linux LVS with FreeBSD4-STABLE SMTP machines in production > so I'm confident that it's a FreeBSD 5.0 issue. I'm guessing this is some LVS specific terminology that someone made up because they did not read the literature before writing their code? Is this the DSR or "Direct Server Return" configuration? If so, the answer is that you need to specify the LVS as the default return route, and not answer locally, even though it appears to be a local net. This can be handled using explicit routes for the alias IP addresses. You *did* put the alias IP addresses on the loopback interface, and turn of ARP'ing for them, right? If you need more help, probably the correct place to ask is not the -current list, but the -net list (after you replace the terminology "LVS-Direct" with it's real name; I'm only guessing you meant DSR here). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message