On Sun, May 21, 2023 at 10:49 PM <cor...@free.fr> wrote:

> Hello list,
>
> currently the netmask for an IPv4 is 255.255.255.255.
> I am just not sure, why can't the netmask for IPv4 be 768.768.768.768?
>

The IPv4 standard only allows each octet to be a value between 0 - 255.
Each Octet is 8 binary bits which adds up to a total of 255 if all bits are
set to on.

The only address that should have a netmask of 255.255.255.255 is the
Loopback interface.

Tim



> Can I set that a netmask directly in linux OS?
> If so we have much more IPv4 space available, even no IPv6 is needed.
>
> Thank you.
> Corey H.
>
>

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

Reply via email to