Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2002 01:00:13 -0700 (PDT)
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/37173: ifconfig ... alias has problems setting aliases
Message-ID:  <200204170800.g3H80DX86586@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: Ruslan Ermilov <ru@FreeBSD.org>
To: Nicolas Rachinsky <list@rachinsky.de>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/37173: ifconfig ... alias has problems setting aliases
Date: Wed, 17 Apr 2002 10:59:18 +0300

 On Wed, Apr 17, 2002 at 12:10:09AM -0700, Nicolas Rachinsky wrote:
 > 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.
 >  
 To be more precise, you should use netmask of all ones for aliases
 in the same subnet only.  See ifconfig(8) manpage for more details.
 
 
 Cheers,
 -- 
 Ruslan Ermilov		Sysadmin and DBA,
 ru@sunbay.com		Sunbay Software AG,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.512.251	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age

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?200204170800.g3H80DX86586>