Given 172.16.37.200/21, what is the network address, broadcast and range?
IntermediateConceptIP Addressing, CIDR, Subnetting & Routing
Answer
/21 means a block of 8 in the third octet (255.255.248.0). 37 falls in the 32–39 block, so the network is 172.16.32.0, broadcast is 172.16.39.255, and the usable range is 172.16.32.1–172.16.39.254.
python3 -c "import ipaddress as i; n=i.ip_network('172.16.37.200/21',strict=False); print(n, n.broadcast_address)"
More on IP Addressing, CIDR, Subnetting & Routing
What is an IPv4 address and how is it structured?BeginnerWhat are the private IPv4 ranges (RFC 1918)?BeginnerWhat is CIDR notation?BeginnerHow many usable hosts are in a /24, and why minus two?BeginnerSubnet 10.0.0.0/16 into /24 subnets. How many do you get and what are the first three?IntermediateWhat is a subnet mask and what is the default gateway?Beginner