ABNF Parser Generator
IPv6 Grammar
IPv6 addresses are accepted by many, if not most, current Internet protocols. Therefore, parsing them is a low-level requirement of fundamental importance. This grammar captures IPv6 addresses as specified in RFC 2373 with the following features:
- facilitates prioritized-choice disambiguation
- captures both IPv6 addresses and prefixes from a single start rule
- captures all and only correct IPv6 formats in the syntax without further semantic verification
- validates integer ranges in the syntax
- distinguishs between unicast and multicast addresses in the syntax (anycast addresses are taken from the unicast address space, and are not syntactically distinguishable from unicast addresses)
- accepts prefix lengths in the range 1 < length < 127
IPv6 Input
NOTE: You MUST click "Configure" and select "ascii" Input Mode. "auto" Input Mode will fail for this input. For a variety of valid IPv6 addresses to try, select from this list.
Parser Output:
|
|