From owner-freebsd-current Mon Jan 27 17:20:19 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 52DC637B401; Mon, 27 Jan 2003 17:20:18 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05EBE43F3F; Mon, 27 Jan 2003 17:20:18 -0800 (PST) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id B4214AE27E; Mon, 27 Jan 2003 17:20:14 -0800 (PST) Date: Mon, 27 Jan 2003 17:20:14 -0800 From: Paul Saab To: John David Duncan Cc: freebsd-current@freebsd.org, freebsd-net@freebsd.org Subject: Re: Direct Server Return and FreeBSD 5 Message-ID: <20030128012014.GA30287@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i 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 You need to set net.inet.ip.check_interface=0 John David Duncan (jdd@greatschools.net) wrote: > > There's a load balancing configuration known as direct server return > (DSR), in which packets pass from the client through the load balancer to > the server, but then the replies from the server go directly to the client > (bypassing the load balancer). The way this works is that the load > balancer sends the server an IP packet with the virtual IP address as its > destination addr, inside an ethernet frame whose destination is the real > MAC addr of the server. The server replies with a normal packet using the > VIP as the source addr. > > The usual way to configure a BSD box to work this way is to bring up the > VIP as an alias on the loopback address, like this: > ifconfig lo0 add 1.2.3.4 netmask 0xffffff00 > > As far as I can tell from my testing, this trick just doesn't work on my > box running -CURRENT. In tcpdump I see packets coming in but none > going out. > > Does anybody know why, or what I would have to do to change the behavior? > > - JD > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- Paul Saab Technical Yahoo ps@mu.org - ps@yahoo-inc.com - ps@freebsd.org Do You .. uhh .. Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message