Problems with FreeBSD 4.6

The syntax for using ifconfig for ip aliases has changed inFreeBSD. This was definitely the case for FreeBSD 4.6, but may alsoaffect earlier releases.

It is necessary to edit $ZEUSHOME/balancer/bin/interfaces.

In the file, replace these two lines:

$command = "ifconfig $TAKEOVER_INTERFACE alias $TAKEOVER_IP "; $command .= "netmask $TAKEOVER_NETMASK broadcast $TAKEOVER_BROADCAST; ";

with:

$command = "ifconfig $TAKEOVER_INTERFACE inet $TAKEOVER_IP/32 alias; ";

Later in the same file, change:

$command = "ifconfig $TAKEOVER_INTERFACE -alias $TAKEOVER_IP; ";

to:

$command = "ifconfig $TAKEOVER_INTERFACE inet $TAKEOVER_IP/32 -alias; ";
Content Manager [Administrator] 12 August 2005 Bookmark with del.icio.us Post this article to Digg Post this article to reddit Post this article to Facebook Tweet this article  

Recently...

Other Resources