Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about netmask

Read more about netmask

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - netmask

Why python3 ipaddress module says that an address (172.16.32.5) in a network (172.16.0.0/12) when it doesn't?

I'm setting a filter that runs some code if an IPv4 Address is not in an address range, I'm using ipaddress python3's module, but this is confusing me a lot, because it says that 172.16.32.5 is in the...
test-img

Necrosaro

python

private

ipv4

netmask

Votes: 0

Answers: 3

Latest Answer

A /12 subnet mask means the first 12 bits are set in the binary view. The subnet and the host you are querying have the same first 12 bits: cutoff at 12 bits /12 mask 11111...
test-img

TessellatingHeckler

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved