Datatypes

IPv4 address

ID ipv4

DatatypePersonal data (PII)identifier

32-bit address of Internet Protocol version 4 (RFC 791), written in dotted-decimal notation as four numbers from 0 to 255, such as 192.0.2.1. The regexp rejects parts with leading zeros (192.0.2.01), because some software reads them as octal numbers. Private networks use 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 (RFC 1918), and 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 are reserved for documentation (RFC 5737).

Parent datatype
IP address (IPv4 or IPv6) ipaddr
Categories
Internet, Personally identifiable information
Countries
Global (not tied to a country)
Languages
Common to most languages
AutoType benchmark
ipv4
Microsoft CDM
means.identity.IP4Address
W3C DPV
pd:IPAddress
FTA
IPADDRESS.IPV4
Microsoft Purview
IP Address v4
Quality
100/100
Metacrafter rules
1 rule (0 by field name, 1 by value)
  • ipv4 data, ext/ext_internet.yaml
Supported by tools
Alteryx Designer Cloud, Auto-Type, Amazon Comprehend, DataHub classification, Dataiku DSS, DataPrep, Capital One DataProfiler, detect-secrets, FTA (Fast Text Analysis), Great Expectations Semantic Types Expectations, IBM Knowledge Catalog (IBM watsonx.data intelligence), metacrafter, metacrafterpro, Metadata Guardian, Microsoft Purview Data Loss Prevention, Soda, RedGate SQL Data catalog, Talend (Qlik Talend Data Preparation, Data Catalog and Data Inventory)

Regular expression

^(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(?:\.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}$

Python re syntax.

Examples

ValueDescription
192.0.2.1Documentation range TEST-NET-1 (RFC 5737)
198.51.100.42Documentation range TEST-NET-2 (RFC 5737)
203.0.113.255Documentation range TEST-NET-3 (RFC 5737)
256.1.1.1 invalidThe first part is larger than 255
192.0.2 invalidThree parts instead of four
192.0.2.01 invalidA part with a leading zero

Translations

LanguageNameDescription
RussianIPv4-адрес32-битный адрес протокола IPv4: четыре числа от 0 до 255 через точку, например 192.0.2.1.

Sources

Use this record