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

Re: netmask question





On Mon, May 22, 2023 at 8:24 PM Tom Reed <tom@dkinbox.com> wrote:


> Tom Reed wrote:
>>
>> >
>> > That's right, but then they go 0 .. 2^8 - 1. 2^8 is still 256, Tim
>> does
>> > have a point there :-)
>> >
>>
>> For a given ipv4, if I know net addr and broadcast addr, how will I
>> calculate the netmask?
>
>
> You can't.
>

Hello

Sorry for my newbie question too.

If I know the network addr:  192.168.1.0
And know the broadcast addr: 192.168.1.255
Then I should have the possibility to cal the netmask addr: 255.255.255.0

Isn't it? 

That is correct.

 

--
sent from https://dkinbox.com/



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

Reply to: