ip address - ip mask pattern calculation -


i need exclude ip range tool. tool offers ability add mask pattern. instructions: instance, if enter 144.133.0.0/16 ips 144.133.0.0 - 144.133.255.255 selected.

i have no idea how calculate correct mask need exclude following range (inclusive): 144.133.255.0 - 144.133.255.63

also, detail how got answer (would learn).

thanks!

the value in each octet ranges 0 255. (0000 0000 1111 1111). ip address starts 144 class b address. default mask class b 255.255.0.0. notation 144.133.0.0/16 same using default mask 255.255.0.0. hence there 1 subnet , range 144.133.0.0 144.133.255.255. subnet mask 144.133.0.0/16 tells first 16 bits in mask.

a subnet mask of 255.255.255.192 select hosts between hostmin: 144.133.0.1 , 144.133.0.62. subnet mask of 255.255.255.192 same 144.133.0.0/26.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -