Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 1999 22:02:20 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        andy@xecu.net (Andy Dills)
Cc:        cjclark@home.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: Problem with ifconfig aliases
Message-ID:  <199904270202.WAA29074@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.GSO.4.10.9904262130020.3425-100000@shell.xecu.net> from Andy Dills at "Apr 26, 99 09:38:55 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904270202.WAA29074>