From owner-freebsd-net Fri Mar 26 17:34:42 1999 Delivered-To: freebsd-net@freebsd.org Received: from dnai.com (dnai.com [207.181.194.98]) by hub.freebsd.org (Postfix) with ESMTP id 13A8E14F93 for ; Fri, 26 Mar 1999 17:34:36 -0800 (PST) (envelope-from miket@dnai.com) Received: from einstein (dnai-207-181-255-13.dialup.dnai.com [207.181.255.13]) by dnai.com (8.8.8/8.8.8) with SMTP id RAA28878; Fri, 26 Mar 1999 17:34:10 -0800 (PST) Message-Id: <4.1.19990326173236.00a0c890@mail.dnai.com> X-Sender: miket@mail.dnai.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Fri, 26 Mar 1999 17:33:24 -0800 To: Tony Finch , net@FreeBSD.ORG From: Mike Thompson Subject: Re: IP alias configuration for high availability In-Reply-To: References: <4.1.19990323134009.0099fe10@mail.dnai.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tony, Thanks for the clever tip. This was the type of helpful information I was looking for. Mike >You can avoid the need to fiddle with arp and ifconfig by setting up >the alias on the server's loopback interface. You then control which >servers are live by changing the routes on the router; the servers >don't need to be told what's going on. > >To set up a server: > >ifconfig ed0 inet 192.168.0.1 netmask 255.255.255.0 >ifconfig lo0 inet 209.185.152.1 netmask 255.255.255.255 alias > >On the router: > >route add -host 209.185.152.1 192.168.0.1 > >Tony. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message