From owner-freebsd-net@FreeBSD.ORG Wed May 17 01:09:35 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3BF216A402 for ; Wed, 17 May 2006 01:09:35 +0000 (UTC) (envelope-from baldur@foo.is) Received: from gremlin.foo.is (gremlin.foo.is [194.105.250.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1903543D46 for ; Wed, 17 May 2006 01:09:33 +0000 (GMT) (envelope-from baldur@foo.is) Received: from 127.0.0.1 (unknown [127.0.0.1]) by injector.foo.is (Postfix) with SMTP id 9F3D72848A; Wed, 17 May 2006 01:09:30 +0000 (GMT) Received: by gremlin.foo.is (Postfix, from userid 1000) id 7326528482; Wed, 17 May 2006 01:09:27 +0000 (GMT) Date: Wed, 17 May 2006 01:09:27 +0000 From: Baldur Gislason To: Unix-Solutions - Steven , freebsd-net@freebsd.org Message-ID: <20060517010927.GA656@gremlin.foo.is> References: <001301c67946$604b7f70$aa00000a@cloe> <20060517005546.GJ65555@funkthat.com> In-Reply-To: <20060517005546.GJ65555@funkthat.com> User-Agent: Mutt/1.4.2.1i X-Sanitizer: Foo MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Cc: Subject: Re: /31 on 2 interfaces X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2006 01:09:35 -0000 /31 is common practice today. You don't need broadcast on a point-to-point link. The only broadcast you need is ARP and that's on layer 2. Baldur On Tue, May 16, 2006 at 05:55:46PM -0700, John-Mark Gurney wrote: > Unix-Solutions - Steven wrote this message on Wed, May 17, 2006 at 02:10 +0200: > > I have 2 servers with both 2x 'em' interfaces in it. > > I configged a /31 on both interfaces > > em0 in box 1 = 10.0.0.1 > > em0 in box 2 = 10.0.0.2 > > As someone else mentioned even if you did a /31, those addresses aren't > on the same network... > 254 & 1 == 0 > 254 & 2 == 2 > > Hence different networks.. the other thing is that you can't have a /31 > due to the fact that one ip w/ all the node bits set is the broadcast > for the network causing other sorts of troubles... the smallest usable > network is a /30... > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >