Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2002 00:10:09 -0700 (PDT)
From:      Nicolas Rachinsky <list@rachinsky.de>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/37173: ifconfig ... alias has problems setting aliases
Message-ID:  <200204170710.g3H7A9e79482@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/37173; it has been noted by GNATS.

From: Nicolas Rachinsky <list@rachinsky.de>
To: Martin.Kraemer@Fujitsu-Siemens.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/37173: ifconfig ... alias has problems setting aliases
Date: Wed, 17 Apr 2002 09:08:08 +0200

 * Martin.Kraemer@Fujitsu-Siemens.com [2002-04-17 08:52:50 +0200]:
 > >Description:
 > 	Using FreeBSD-4.5-STABLE from ~2 months ago, I had no problems
 >         setting several IP aliases on my xl0 interface by setting the
 > 	following in /etc/rc.conf:
 >           ifconfig_xl0="inet 172.25.124.236 netmask 255.255.255.0"
 >           ifconfig_xl0_alias0="inet 172.25.124.237 netmask 255.255.255.0"
 >           ifconfig_xl0_alias1="inet 172.25.124.238 netmask 255.255.255.0"
 >           ifconfig_xl0_alias2="inet 192.168.172.1 netmask 255.255.255.0"
 >         With a current kernel however, after reboot only one or two of these
 >         IP addresses are actually set. The other IP addresses are unset.
 
 From man ifconfig:
 | If the address is on the same subnet as the first network address for
 | this interface, a netmask of 0xffffffff has to be specified.
 
 Use netmask 255.255.255.255 for the aliases.
 
 No FreeBSD problem.
 
 Nicolas

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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