From owner-freebsd-questions Mon Apr 26 19: 2:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 135D814BF2 for ; Mon, 26 Apr 1999 19:02:10 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id WAA29074; Mon, 26 Apr 1999 22:02:20 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199904270202.WAA29074@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Problem with ifconfig aliases In-Reply-To: from Andy Dills at "Apr 26, 99 09:38:55 pm" To: andy@xecu.net (Andy Dills) Date: Mon, 26 Apr 1999 22:02:20 -0400 (EDT) Cc: cjclark@home.com, freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andy Dills wrote, > On Mon, 26 Apr 1999, Crist J. Clark wrote: > > > I believe the problem lies in the fact you are putting both addresses > > on the same LAN. > > Yes, they are both on the the same LAN. However, this didn't affect the > other server, as it is running multiple IP addresses on that LAN. > > Here is the application: > > A customer of mine has colocated two servers with us. He is a reseller for > Megapop. These boxes run primary/secondary DNS, and radius. Since Megapop > doesn't support secondary radius servers, I had to develop a failover > solution. > > Here is the configuration: > > IP address queried for radius: 208.244.234.131 > IP of reseller2 (primary DNS, backup radius): 208.244.234.132 > IP of reseller3 (secondary DNS, primary radius): 208.244.234.133 > > As of now, reseller3's main address is 208.244.234.133, and I have .131 > ifconfig'ed up on it as well. > > I have written a perl script that will manage the IP so that whenever the > primary radius server is up, it will have .131. Whenever the primary is > down, the secondary has .131. > > This is when I noticed that reseller2 (.132) refused to use the alias'ed > ip properly. I know the script works, I tested it fully on some > differnet machines. However, I can't implement the script until I figure > out how to restore proper ifconfig functionality. I don't know anything about radius. However, try this workaround, # ifconfig ep0 inet 208.244.234.134 netmask 255.255.255.255 alias It works for me on a few quick tests. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message