Re: netmask question
On Mon, 22 May 2023 04:49:07 +0200
coreyh@free.fr wrote:
> 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?
> Can I set that a netmask directly in linux OS?
> If so we have much more IPv4 space available, even no IPv6 is needed.
You need to do some serious reading. I suggest you start with this
article. https://en.wikipedia.org/wiki/IP_address
The reason your idea won't work for IPV4 is explained in
https://en.wikipedia.org/wiki/IP_address#IPv4_addresses Each of the
four quads represents 8 unsigned bits. So the range is 0 to 255. 768
won't fit in 8 bits.
Now, if you want to define a new IP protocol, go ahead.
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Reply to: