[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: netmask question





On Mon, May 22, 2023 at 3:32 AM Tim Woodall <debianuser@woodall.me.uk> wrote:
On Mon, 22 May 2023, tomas@tuxteam.de wrote:

  number; for (human) display it is subdivided into four 8 bit chunks
> (called "octets" for obvious reasons), and those octets only can
> go from 0 to 255 (since 2^8 == 255).
>
Nit, but 2^8 is 256.

In binary the first address is 0 which is all bits off. In a /24 network the .0 is reserved for network addresses and 255 is reserved for broadcast which means there are 254 usable host addresses!

--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀

Reply to: