Z
Z
zergon3212017-05-12 17:39:32
Computer networks
zergon321, 2017-05-12 17:39:32

Is it possible to determine the netmask from 2 IP addresses?

IP addresses of nodes from the same network are known. Is it possible to determine the network mask from them?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Artem @Jump, 2017-05-12
Tag

I live in apartment 14, my neighbor lives in apartment 32.
Question - how many apartments are there in the building?

V
vya, 2017-05-12
@vya

By 2 addresses, you can determine the minimum possible mask so that these two addresses fall into the same network. The rest - no. Specify the exact netmask only if the two addresses are 0.0.0.0 and 255.255.255.255

S
Sane Barbarian, 2017-05-12
@SaneBarbarian

It would be possible to determine the mask if one of these addresses were broadcast, and the second one was the first,
which means that all addresses from 192.168.0.1 to 192.168.255.255 have a mask of 255.255.0.0

R
Roman Vladimirovich F., 2017-05-15
@FiLinX

try dropout https://habrahabr.ru/company/cbs/blog/322386/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question