From owner-freebsd-questions Wed Aug 4 16:11: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (dynamic-12.max2-du-ws.dialnetwork.pavilion.co.uk [212.74.8.140]) by hub.freebsd.org (Postfix) with ESMTP id 1F53415474 for ; Wed, 4 Aug 1999 16:10:56 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (root@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id WAA01256; Wed, 4 Aug 1999 22:24:24 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id TAA00498; Wed, 4 Aug 1999 19:24:57 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199908041824.TAA00498@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Jim Pazarena Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ifconfig alias setup In-reply-to: Your message of "Tue, 03 Aug 1999 10:54:43 PDT." <9908031054.aa27922@dick.ccstores.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 04 Aug 1999 19:24:57 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >Date: Tue, 03 Aug 1999 00:33:03 +0100 > >From: Brian Somers > > >What I'd like to know is this: On SCO, if I configure two aliases > > > ip 4.2.3.1 netmask 0xffffff00 > > ip 4.2.3.2 netmask 0xffffff00 > > >and then connect() to 4.3.2.3, what source IP number does the packet > >get ? > > >I don't see how conflicting netmasks can be implemented.... SCO > >sounds a bit broken to me. Am I missing something ? > > No no, it is FreeBSD which is insisting on conflicting netmasks. SCO uses > the _same_ netmask. ??? FreeBSD says you must keep your interface netmasks unique. If you have 4.2.3.1/24 on an interface and want to assign 4.2.3.2 to something, the 4.2.3.2 *must* have a netmask of 0xffffffff - otherwise it conflicts. Try thinking about the question I asked - what source IP number should be assigned ? It's ambiguous. > That was the source of my question. Why does FreeBSD NOT PERMIT identical > netmasks on aliased IPs ? Because it makes the source address assignment ambiguous. > -- > Jim Pazarena mailto:paz@ccstores.com > http://www.qcislands.net/paz -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message