From owner-freebsd-questions@FreeBSD.ORG Sat May 24 19:37:09 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A08937B401 for ; Sat, 24 May 2003 19:37:09 -0700 (PDT) Received: from smtp0.adl1.internode.on.net (smtp0.adl1.internode.on.net [203.16.214.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EA2143FA3 for ; Sat, 24 May 2003 19:37:08 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp1969.sa.padsl.internode.on.net [150.101.26.176]) h4P2b6MO049810; Sun, 25 May 2003 12:07:07 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: Andy Farkas , Grant Peel Date: Sun, 25 May 2003 12:07:06 +0930 User-Agent: KMail/1.4.3 References: <20030525121135.C23835-100000@hewey.af.speednet.com.au> <200305251200.55652.malcolm.kay@internode.on.net> In-Reply-To: <200305251200.55652.malcolm.kay@internode.on.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200305251207.06527.malcolm.kay@internode.on.net> cc: freebsd-questions@freebsd.org Subject: Re: IP alias Networking Errors. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2003 02:37:09 -0000 On Sun, 25 May 2003 12:00, Malcolm Kay wrote: > On Sun, 25 May 2003 11:51, Andy Farkas wrote: > > On Sat, 24 May 2003, Grant Peel wrote: > > > fxp0: flags=3D8943 = mtu > > > 1500 inet 65.39.193.154 netmask 0xfffffff0 broadcast 65.39.193.159 = inet > > > 65.39.193.155 netmask 0xffffffff broadcast 65.39.193.155 inet > > > 65.39.193.156 netmask 0xffffffff broadcast 65.39.193.156 inet > > > 65.39.193.157 netmask 0xffffffff broadcast 65.39.193.157 inet > > > 216.187.107.125 netmask 0xffffffff broadcast 216.187.107.125 inet > > > 216.187.107.126 netmask 0xffffffff broadcast 216.187.107.126 inet > > > 216.187.107.123 netmask 0xffffffff broadcast 216.187.107.123 inet > > > 216.187.107.124 netmask 0xffffffff broadcast 216.187.107.124 ether > > > 00:06:5b:ee:40:32 > > > media: Ethernet autoselect (100baseTX ) > > > status: active > > > > ... > > > > > When the next group of IP were assigned to me, and I set them as > > > aliases on this machine, thats when I started getting the errors. > > > > When you add aliases for a different subnet, the netmask should be th= e > > proper one for the subnet ie. netmask 0xfffffff0. > > From the man pages (ifconfig(8)): > alias Establish an additional network address for this interface. Th= is > is sometimes useful when changing network numbers, and one > wishes to accept packets addressed to the old interface. If the addres= s is > on the same subnet as the first network address for this interface, a > non-conflicting netmask must be given. Usually 0xffffffff is most > appropriate. > > Malcolm Aah yes; I see I misinterpreted your statement -- sorry! Malcolm