WORKED CASE · SYNTHETIC TEST DATA
Confirm the integer representation of an IPv4 address
A log or database may store an IPv4 address as an unsigned integer. Check a known dotted address before comparing exported values.
Input and settings
192.168.1.1Run and interpret
Enter the sample and compare decimal and hexadecimal rows. All four address octets are part of the unsigned 32-bit value.
Expected output
3232235777
0xC0A80101Scope and possible misuse
Use exactly four decimal octets without leading zeros. Values above 255, abbreviated addresses and CIDR suffixes are rejected. This does not convert IPv6.