4. Examples
The following are examples of IP to X.121 address mappings for Class A, Class B, and Class C IP addresses.
4.1. Class A
The mapping of X.121 address for Class A networks:
for h < 64
example: 26.29.0.122 format: n.h.l.i
ZZZZ F III HH ZZ (SS)
X.121 address = 0000 0 122 29 00 00
for h > or = 64
example: 26.80.0.122 format: n.h.l.i
ZZZZ F RRRRR ZZ (SS)
X.121 address = 0000 1 20602 00 00
where R = H * 256 + I
4.2. Class B
The mapping of X.121 address for Class B networks:
for h < 64
example: 137.80.1.5 format: n.n.h.i
ZZZZ F III HH ZZ (SS)
X.121 address = 0000 0 005 01 00 00
for h > or = 64
example: 137.80.75.2 format: n.n.h.i
ZZZZ 1 RRRRR ZZ (SS)
X.121 address = 0000 1 19202 00 00
where R = H * 256 + I
4.3. Class C
The mapping of X.121 address for Class C networks:
for h < 64
example: 192.33.50.19 format: n.n.n.hi
H I
n.n.n.0001 0011
1 3
Subnet 1
Subhost 3
ZZZZ F III HH ZZ (SS)
X.121 address = 0000 0 003 01 00 00
NOTE: The mapping of X.121 address for Class C networks for h > 64 is not applicable since the "h" field can never exceed 15.