QuickDevGuide

Home › Azure DevOps

Binary Numbers & IP Addresses — Azure DevOps

Understanding binary numbers and IP addresses is essential before working with Azure networking concepts like Virtual Networks and Subnets. Binary Number System Computers operate using the binary system (base-2), which uses only two digits: 0 and 1. Each digit is called a bit. The number of values representable with n bits is 2^n. For example: 1 bit = 2 values (0, 1). 2 bits = 4 values (0–3). 4 bits = 16 values (0–15). 8 bits = 256 values (0–255). IP Address Structure An IP address consists of four octets (blocks) separated by dots. Each octet is represented by 8 bits, meaning each value must be between 0 and 255. For example: 192.168.1.1 is valid (all values are 0–255). 256.100.50.25 is invalid (256 requires 9 bits and exceeds the 8-bit limit). CIDR Notation CIDR (Classless Inter-Domain…

Key Takeaways