Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2001 18:29:26 -0400
From:      Kutulu <kutulu@kutulu.org>
To:        Mike Porter <mupi@mknet.org>
Cc:        swear@blarg.net (Gary W. Swearingen), freebsd-stable@FreeBSD.ORG
Subject:   Re: 127/8 continued
Message-ID:  <5.1.0.14.0.20010927182433.00a27510@127.0.0.1>
In-Reply-To: <200109272225.f8RMPLH02946@c1828785-a.saltlk1.ut.home.com>
References:  <4cd74ctsac.74c@localhost.localdomain> <20010924094048.X5906-100000@coredump.scriptkiddie.org> <200109271411.f8REBNH02164@c1828785-a.saltlk1.ut.home.com> <4cd74ctsac.74c@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
At 04:25 PM 09/27/2001 -0600, Mike Porter wrote:


>OK, then I was wrong.  The broadcast is (normally) the last address in the
>subnet (.255 for a class C, .255 for my subnet ( with a .128 netmask, but I
>am in the top half.  I presume that those with IP's below .129 have .127 set
>for a broadcast, with .128 being the other unusable address.  I forget
>exactly what its for?)

The two reserved addresses are the network address and the broadcast 
address.  The network address is all host bits zero, and the broadcast 
address is all host bits 1.

Thus, for a network of 192.168.0.0 with a netmask of 255.255.255.128, there 
would be two subnets:

192.168.0.0 <network address> - 192.168.0.127 <broadcast address>
192.168.0.128 <network address> - 192.168.0.255 <broadcast address>

The exact math is a pair of pretty basic bitwise functions, which most any 
networking essentials book will have in it, but that's the general 
idea.  But now we're really getting off the subject of freebsd-stable. :)

--K


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20010927182433.00a27510>