IPv6 routing prefix (subnet)
ID ipv6subnet
DatatypePersonal data (PII)identifier
Block of IPv6 addresses written as an IPv6 address, a slash and a prefix length from 0 to 128 (RFC 4291, section 2.3), such as 2001:db8::/32. Most single network segments are /64, because the interface identifier takes the last 64 bits of an address. Wikidata records the address blocks of organizations in property P3793.
- Parent datatype
- IP network prefix (IPv4 or IPv6 subnet)
ipsubnet - Categories
- Internet
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Wikidata
- P3793
- Quality
- 90/100 · missing: detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?: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})|::(?:[0-9A-Fa-f]{1,4}:){5}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?: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})|(?:[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){4}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?: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})|(?:(?:[0-9A-Fa-f]{1,4}:){0,1}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){3}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?: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})|(?:(?:[0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:){2}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?: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})|(?:(?:[0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}:(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?: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})|(?:(?:[0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})?::(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?: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})|(?:(?:[0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})?::)/(?:12[0-8]|1[01][0-9]|[1-9]?[0-9])$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 2001:610::/29 | SURFnet (example of Wikidata property P3793) |
| 2001:630:440::/44 | University of Oxford (example of Wikidata property P3793) |
| 2001:db8::/32 | Documentation prefix (RFC 3849) |
| 08:00-22:00 invalid | A time range, not an IPv6 prefix |
| 2001:db8:: invalid | An IPv6 address without the prefix length |
| 2001:db8::/129 invalid | The prefix length is larger than 128 |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Префикс сети IPv6 (подсеть) | Блок IPv6-адресов: адрес, косая черта и длина префикса до 128, например 2001:db8::/32. |
Sources
- wikipedia: https://en.wikipedia.org/wiki/IPv6_address
- wikidata: https://www.wikidata.org/wiki/Property:P3793
- doc: https://www.rfc-editor.org/rfc/rfc4291#section-2.3
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/ipv6subnet - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/internet/ipv6subnet.yamlon GitHub