From owner-freebsd-hackers Tue Jan 14 23: 8:34 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 527A237B401 for ; Tue, 14 Jan 2003 23:08:33 -0800 (PST) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id D731743ED8 for ; Tue, 14 Jan 2003 23:08:32 -0800 (PST) (envelope-from justin@mac.com) Received: from asmtp01.mac.com (asmtp01-qfe3 [10.13.10.65]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h0F78WXU028450 for ; Tue, 14 Jan 2003 23:08:32 -0800 (PST) Received: from mac.com ([12.234.224.67]) by asmtp01.mac.com (Netscape Messaging Server 4.15) with ESMTP id H8QUI700.81L for ; Tue, 14 Jan 2003 23:08:32 -0800 Date: Tue, 14 Jan 2003 23:08:31 -0800 Subject: Re: adding some new IPs from a different subnet - errors Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) From: Justin Walker To: freebsd-hackers@FreeBSD.ORG Content-Transfer-Encoding: 7bit In-Reply-To: <33B56C40-2857-11D7-B494-00306544D642@mac.com> Message-Id: <276C4D2E-2858-11D7-B494-00306544D642@mac.com> X-Mailer: Apple Mail (2.551) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I read the original message too quickly... On Tuesday, Jan 14, 2003, at 23:01 US/Pacific, Justin Walker wrote: > All of this depends on how 'ifconfig' and the kernel cooperate in > interpreting address/mask pairs. > > Normally, I would expect that you do the following when adding > 'aliases': > if the alias IP address is on the same subnet as an > existing address for this interface, use the > netmask 255.255.255.255; in your case, 10.10.10.1 > exists, and you are adding .2 and .3 10.10.10.1 is the router; .2 is the original address and .3 is the alias. Sigh. Regards, Justin -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | When LuteFisk is outlawed | Only outlaws will have | LuteFisk *--------------------------------------*-------------------------------* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message