Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DHCP option

https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml




Option 55 sub 144 Geo Locationdatatrackerietfdoc/rfc6225#section-2.22
9.
2.2
8. Parameter 
DHCPv4
Request 
GeoLoc
List
Option

   This 
The
option 
format
is 
of
used 
the
by 
DHCPv4
a 
GeoLoc
DHCP 
Option
client 
is
to 
as
request 
follows:
values for specified
   configuration 
0
parameters.  The list of requested parameters is
   specified as n octets, where each octet is 
1
a valid DHCP option code
   as defined in this document.

   The client 
2
MAY list the options in order of preference.  The DHCP
   server is not required to 
3
return the options in the requested 
0
order,
1
 
2
 
3
 
4
but 
5
MUST 
6
try 
7
to 
8
insert 
9
the 
0
requested 
1
options 
2
in 
3
the 
4
order 
5
requested
6
 
7
 
8
 
9
by 
0
the 
1
client.
2

3
 
4
 
5
 
6
The 
7
code 
8
for 
9
this 
0
option 
1
is 55.  Its 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
minimum length is 1.

    Code 
144
  
Len 
|
  
Length | LatUnc |
Option Codes
   
Latitude +
+-
+
-
+
-
+
-
+
-+-
+
-
+
-
+
-
+
-+-
+
-
+
-
+
-
+
-+-
+
-
+
-
+
-
+
-+-
+-+-+-+-+-+-+-+-+
-
+
-
+-+

   |  
Latitude (cont'd)
55 |  
LongUnc
n  |  
+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Longitude | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AType | AltUnc | Altitude + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Alt.(cont'd) |Ver| Res |Datum| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Code: 8 bits. The code for the DHCPv4 GeoLoc Option (144). Length: 8 bits. The length of the option, in octets. For version 1, the option length is 16. LatUnc: 6 bits. When the Ver field = 1, this field represents latitude uncertainty. The contents of this field are undefined for other values of the Ver field. Latitude: A 34-bit fixed-point value consisting of 9 bits of integer and 25 bits of fraction, interpreted as described in Section 2.3. LongUnc: 6 bits. When the Ver field = 1, this field represents longitude uncertainty. The contents of this field are undefined for other values of the Ver field. Longitude: A 34-bit fixed-point value consisting of 9 bits of integer and 25 bits of fraction, interpreted as described in Section 2.3. AType: 4 bits. Altitude Type, defined in Section 2.4. AltUnc: 6 bits. When the Ver field = 1, this field represents altitude uncertainty. The contents of this field are undefined for other values of the Ver field. Altitude: A 30-bit value defined by the AType field, described in Section 2.4. Ver: The Ver field is 2 bits, providing for four potential versions. This specification defines the behavior of version 1. The Ver field is always located at the same offset from the beginning of the option, regardless of the version in use. Res: 3 bits. The Res field is reserved. These bits have been used by [IEEE-802.11y], but are not defined within this specification. Datum: 3 bits. The Map Datum used for the coordinates given in this option.
c1 |  c2 | ...
   +-----+-----+-----+-----+---



Router > Device > Network interface > DHCP server > Address-pool config

“Custom Options”. 





https://datatracker.ietf.org/doc/html/rfc6225#section-2.2