From owner-freebsd-net@FreeBSD.ORG  Wed May 17 00:40:37 2006
Return-Path: <owner-freebsd-net@FreeBSD.ORG>
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 2C85716A400
	for <freebsd-net@freebsd.org>; Wed, 17 May 2006 00:40:37 +0000 (UTC)
	(envelope-from dougb@FreeBSD.org)
Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4])
	by mx1.FreeBSD.org (Postfix) with SMTP id 9E8AE43D45
	for <freebsd-net@freebsd.org>; Wed, 17 May 2006 00:40:36 +0000 (GMT)
	(envelope-from dougb@FreeBSD.org)
Received: (qmail 11705 invoked by uid 399); 17 May 2006 00:40:35 -0000
Received: from localhost (HELO ?192.168.0.3?) (dougb@dougbarton.us@127.0.0.1)
	by localhost with SMTP; 17 May 2006 00:40:35 -0000
Message-ID: <446A70FE.1090807@FreeBSD.org>
Date: Tue, 16 May 2006 17:40:30 -0700
From: Doug Barton <dougb@FreeBSD.org>
Organization: http://www.FreeBSD.org/
User-Agent: Thunderbird 1.5.0.2 (X11/20060507)
MIME-Version: 1.0
To: Unix-Solutions - Steven <steven@unix-solutions.be>
References: <001301c67946$604b7f70$aa00000a@cloe>
In-Reply-To: <001301c67946$604b7f70$aa00000a@cloe>
X-Enigmail-Version: 0.94.0.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: freebsd-net@freebsd.org
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 <freebsd-net.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
	<mailto:freebsd-net-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-net>
List-Post: <mailto:freebsd-net@freebsd.org>
List-Help: <mailto:freebsd-net-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-net>,
	<mailto:freebsd-net-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 17 May 2006 00:40:37 -0000

Unix-Solutions - Steven wrote:
> Hello,
> 
> 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

That's not a /31, it's the middle two addresses of a /30 (as the end of your
message correctly surmised). Here is a hint. Because they use binary math,
CIDR blocks always start with an even address, and end with an odd one.

hth,

Doug

-- 

    This .signature sanitized for your protection