Date: Wed, 17 May 2006 01:09:27 +0000 From: Baldur Gislason <baldur@foo.is> To: Unix-Solutions - Steven <steven@unix-solutions.be>, freebsd-net@freebsd.org Subject: Re: /31 on 2 interfaces Message-ID: <20060517010927.GA656@gremlin.foo.is> In-Reply-To: <20060517005546.GJ65555@funkthat.com> References: <001301c67946$604b7f70$aa00000a@cloe> <20060517005546.GJ65555@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
/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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060517010927.GA656>