This tool generates a DHCP Option containing Location Configuration Information (LCI, often referred to as geolocation data) according to RFC 6225 (and the obsolete RFC 3825). It generates both the DHCPv4 GeoConf Option (code 123) and GeoLoc Option (code 144). This tool makes it easier to generate the binary format data that the options require. Even though not all DHCP servers support RFC 6225 directly, many do have a means of including the data in a "raw" format for their responses. This tool generates configuration for ISC dhcpd and dnsmasq.
The latitude should be specified in degrees North of the equator (use negative values for South) and the longitude should be specified in degrees East of the Prime Meridian (use negative values for West).
This software is written in HTML and Javascript and should work in modern (2015 and later) browsers with Javascript enabled. All calculations are performed in the browser: the form does not upload any values to my server (although the Google Maps preview corresponding to the location will be loaded from Google over HTTPS). You can read more on my blog about this geolocation tool's development.
The RFC 6225 Geolocation Generation Tool is Copyright 2010, 2019 Dean Scarff.
You can express the degrees in degrees-minutes-seconds notation rather than decimal; use a space or ° after the degrees, an apostrophe (') after the minutes, and a quote (") after the seconds, e.g. 38 53' 51.5292"
.