From owner-freebsd-bugs Wed Apr 17 0:10:12 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 98C6237B404 for ; Wed, 17 Apr 2002 00:10:09 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3H7A9e79482; Wed, 17 Apr 2002 00:10:09 -0700 (PDT) (envelope-from gnats) Date: Wed, 17 Apr 2002 00:10:09 -0700 (PDT) Message-Id: <200204170710.g3H7A9e79482@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Nicolas Rachinsky Subject: Re: kern/37173: ifconfig ... alias has problems setting aliases Reply-To: Nicolas Rachinsky Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/37173; it has been noted by GNATS. From: Nicolas Rachinsky 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