From owner-freebsd-questions Wed Jun 7 11:28:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.sdca.home.com (ha1.rdc1.sdca.home.com [24.0.3.66]) by hub.freebsd.org (Postfix) with ESMTP id 76D1837B6BE for ; Wed, 7 Jun 2000 11:28:09 -0700 (PDT) (envelope-from RaymundoVega@home.com) Received: from home.com ([24.5.252.61]) by mail.rdc1.sdca.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000607182808.CUJP28251.mail.rdc1.sdca.home.com@home.com>; Wed, 7 Jun 2000 11:28:08 -0700 Message-ID: <393E9438.6CA4163E@home.com> Date: Wed, 07 Jun 2000 11:28:08 -0700 From: "Raymundo M. Vega" X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Alex Kwan Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Question about man ifconfig References: <000701bfd0a5$69e108c0$831e40ca@alexkwan> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alex Kwan wrote: > > Hi! > > I wanted to setup multi IP address on a ethernet interface, > and the man ifconfig said: > > "The following parameters may be set with ifconfig: > > add ............................ > > alias ............................ > If the address is on the same subnet as the first network > address > for this interface, a netmask of 0xffffffff has to be specified. > " > > Why do I can't set the netmask as the normal 255.255.255.0 (for C class) > and needed to set as 0xffffffff(255.255.255.255)? because alias is intended for two different nets, of you use the al"f" mask you are fooling ifconfig and make it accept the new ip address. raymundo > > Thanks > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message