1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061
|
<pre>Network Working Group H. Schulzrinne
Request for Comments: 4776 Columbia U.
Obsoletes: <a href="./rfc4676">4676</a> November 2006
Category: Standards Track
<span class="h1">Dynamic Host Configuration Protocol (DHCPv4 and DHCPv6) Option</span>
<span class="h1">for Civic Addresses Configuration Information</span>
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The IETF Trust (2006).
RFC Editor Note
<a href="./rfc4776">RFC 4776</a> is being published to correct an error in the assignment of
the numeric value of the DHCPv6 option-code in <a href="./rfc4676">RFC 4676</a> (<a href="#section-3.2">Section</a>
<a href="#section-3.2">3.2</a>). This document obsoletes <a href="./rfc4676">RFC 4676</a>.
Abstract
This document specifies a Dynamic Host Configuration Protocol (DHCPv4
and DHCPv6) option containing the civic location of the client or the
DHCP server. The Location Configuration Information (LCI) includes
information about the country, administrative units such as states,
provinces, and cities, as well as street addresses, postal community
names, and building information. The option allows multiple
renditions of the same address in different scripts and languages.
<span class="grey">Schulzrinne Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
<a href="#section-2">2</a>. Terminology .....................................................<a href="#page-5">5</a>
<a href="#section-3">3</a>. Format of the DHCP Civic Location Option ........................<a href="#page-5">5</a>
<a href="#section-3.1">3.1</a>. Overall Format for DHCPv4 ..................................<a href="#page-5">5</a>
<a href="#section-3.2">3.2</a>. Overall Format for DHCPv6 ..................................<a href="#page-6">6</a>
<a href="#section-3.3">3.3</a>. Element Format .............................................<a href="#page-7">7</a>
<a href="#section-3.4">3.4</a>. Civic Address Components ...................................<a href="#page-7">7</a>
<a href="#section-4">4</a>. Postal Addresses ...............................................<a href="#page-13">13</a>
<a href="#section-5">5</a>. Example ........................................................<a href="#page-14">14</a>
<a href="#section-6">6</a>. Security Considerations ........................................<a href="#page-15">15</a>
<a href="#section-7">7</a>. IANA Considerations ............................................<a href="#page-15">15</a>
<a href="#section-8">8</a>. References .....................................................<a href="#page-16">16</a>
<a href="#section-8.1">8.1</a>. Normative References ......................................<a href="#page-16">16</a>
<a href="#section-8.2">8.2</a>. Informative References ....................................<a href="#page-17">17</a>
Acknowledgements ..................................................<a href="#page-17">17</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Many end system services can benefit by knowing the approximate
location of the end device. In particular, IP telephony devices need
to know their location to contact the appropriate emergency response
agency and to be found by emergency responders.
There are two common ways to identify the location of an object,
either through geospatial coordinates or by so-called civic
addresses. Geospatial coordinates indicate longitude, latitude, and
altitude, while civic addresses indicate a street address.
The civic address is commonly, but not necessarily, closely related
to the postal address, used by the local postal service to deliver
mail. However, not all postal addresses correspond to street
addresses. For example, the author's address is a postal address
that does not appear on any street or building sign. Naturally, post
office boxes would be unsuitable for the purposes described here.
The term 'civil address' or 'jurisdictional address' is also
sometimes used instead of civic address. This document mainly
supports civic addresses, but allows the postal community name to be
indicated if it differs from the civic name.
A related document [<a href="#ref-15" title=""Dynamic Host Configuration Protocol Option for Coordinate-based Location Configuration Information"">15</a>] describes a DHCPv4 [<a href="#ref-2" title=""Dynamic Host Configuration Protocol"">2</a>] option for conveying
geospatial information to a device. This document describes how
DHCPv4 and DHCPv6 [<a href="#ref-6" title=""Dynamic Host Configuration Protocol for IPv6 (DHCPv6)"">6</a>] can be used to convey the civic and postal
address to devices. Both geospatial and civic formats can be used
simultaneously, increasing the chance to deliver accurate and timely
<span class="grey">Schulzrinne Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
location information to emergency responders. The reader should also
be familiar with the concepts in [<a href="#ref-11" title=""Location Types Registry"">11</a>], as many of the protocol
elements below are designed to dovetail with PIDF-LO elements.
This document only defines the delivery of location information from
the DHCP server to the client, due to security concerns related to
using DHCP to update the database. Within the GEOPRIV architecture
as defined by <a href="./rfc3693">RFC 3693</a> [<a href="#ref-9" title=""Geopriv Requirements"">9</a>], the defined mechanism in this document
for conveying initial location information is known as a "sighting"
function. Sighting functions are not required to have security
capabilities and are only intended to be configured in trusted and
controlled environments. (A classic example of the sighting function
is a Global Positioning System wired directly to a network node.)
Further discussion of the protections that must be provided according
to <a href="./rfc3694">RFC 3694</a> [<a href="#ref-10" title=""Threat Analysis of the Geopriv Protocol"">10</a>] are in the Security Considerations (<a href="#section-6">Section 6</a>).
End systems that obtain location information via the mechanism
described here then use other protocol mechanisms to communicate this
information to an emergency call center or to convey it as part of
presence information.
Civic information is useful since it often provides additional,
human-usable information, particularly within buildings. Also,
compared to geospatial information, it is readily obtained for most
occupied structures and can often be interpreted even if incomplete.
For example, for many large university or corporate campuses,
geocoding information to building and room granularity may not be
readily available.
Unlike geospatial information, the format for civic and postal
information differs from country to country. The initial set of data
fields is derived from standards published by the United States
National Emergency Number Association (NENA) [<a href="#ref-18" title=""NENA Recommended Formats and Protocols For ALI Data Exchange, ALI Response and GIS Mapping"">18</a>] and takes into
account addressing conventions for a number of countries in different
areas of the world. It is anticipated that other countries can reuse
many of the data elements, but the document also establishes an IANA
registry for defining additional civic location data fields.
The same civic and postal address information can often be rendered
in multiple languages and scripts. For example, Korean addresses are
often shown in Hangul, Latin, and Kanji, while some older cities have
multiple language variants (e.g., Munich, Muenchen, and Monaco).
Since DHCPv4 and DHCPv6 do not currently support a mechanism to query
for a specific script or language, the DHCP server SHOULD provide all
common renderings to the client and MUST provide at least the
rendering in the language and script appropriate to the location
indicated. For example, for use in presence information, the target
may be visiting from a foreign country and want to convey the
<span class="grey">Schulzrinne Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
information in a format suitable for watchers in its home country.
For emergency services, the rendering in the local language is likely
to be most appropriate. To provide multiple renderings, the server
repeats sequences of address elements, prefixing each with a
'language' and/or 'script' element (see <a href="#section-3.3">Section 3.3</a>). The language
and script remain in effect for subsequent elements until overridden
by another language or script element. Since the DHCP client is
unlikely to be the final consumer of the location information, the
DHCP server has to provide all appropriate language and script
versions, which the client then passes on via some other GEOPRIV
using protocol, typically encoded in a presence-based GEOPRIV
location object format [<a href="#ref-16" title=""A Presence-based GEOPRIV Location Object Format"">16</a>].
The DHCP server MAY provide location information for multiple
locations related to the target, for example, both the network
element and the network jack itself. This is likely to help in
debugging network problems, for example.
This document calls for various operational decisions. For example,
an administrator has to decide when to provide the location of the
DHCP server or other network elements even if these may be a good
distance away from the client. The administrator must also consider
whether to include both civic and geospatial information if these may
differ. The document does not specify the criteria to be used in
making these choices, as these choices are likely to depend strongly
on local circumstances and need to be based on local, human
knowledge.
A system that works with location information configured by DHCP is
dependent that the administrators of the DHCP systems are careful
enough on a number of fronts, such as:
- if information about one location is provided in multiple forms
(e.g., in multiple languages), is it consistent?
- is the administrator certain that location information is
configured only to systems to which it applies (e.g., not to
systems topologically near, but geographically far)?
- if the location configured is not that of the target but that of a
'nearby' network node or the DHCP server, despite the
recommendation against this practice in <a href="#section-3.1">Section 3.1</a>, is the
administrator certain that this configuration is geographically
valid?
There are many other considerations in ensuring that location
information is handled safely and promptly for an emergency service
in particular. Those are in the province of the applications which
<span class="grey">Schulzrinne Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
make use of the configured location information, and they are beyond
the scope of this document. DHCP configuration SHOULD NOT be used
for emergency services without guidelines on these considerations.
Work on these is under way in the IETF ECRIT working group at the
time of publication of this document.
In addition, if a network provides civic location information via
both DHCPv4 and DHCPv6, the information conveyed by the two protocols
MUST be the same.
As discussed in the Security Considerations (<a href="#section-6">Section 6</a>), the
GEOCONF_CIVIC option SHOULD be returned by DHCPv4 servers only when
the DHCPv4 client has included this option in its 'parameter request
list' (<a href="./rfc2131">RFC 2131</a> [<a href="#ref-2" title=""Dynamic Host Configuration Protocol"">2</a>], Section 3.5). Similarly, the
OPTION_GEOCONF_CIVIC option SHOULD be returned by DHCPv6 servers only
when the DHCPv6 client has included this option in its OPTION_ORO.
The DHCPv4 long-options mechanism described in <a href="./rfc3396">RFC 3396</a> [<a href="#ref-8" title=""Encoding Long Options in the Dynamic Host Configuration Protocol (DHCPv4)"">8</a>] MUST be
used if the civic address option exceeds the maximum DHCPv4 option
size of 255 octets.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Terminology</span>
In this document, the key words "MUST", "MUST NOT", "REQUIRED",
"SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY",
and "OPTIONAL" are to be interpreted as described in <a href="./rfc2119">RFC 2119</a> [<a href="#ref-1" title=""Key words for use in RFCs to Indicate Requirement Levels"">1</a>] and
indicate requirement levels for compliant implementations.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Format of the DHCP Civic Location Option</span>
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Overall Format for DHCPv4</span>
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| GEOCONF_CIVIC | N | what | country |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| code | civic address elements ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Code GEOCONF_CIVIC: The code for this DHCP option is 99.
N: The length of this option is variable. The minimum length is 3
octets.
<span class="grey">Schulzrinne Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
what: The 'what' element describes to which location the DHCP entry
refers. Currently, three options are defined: the location of the
DHCP server (a value of 0), the location of the network element
believed to be closest to the client (a value of 1), or the
location of the client (a value of 2). Option (2) SHOULD be used,
but may not be known. Options (0) and (1) SHOULD NOT be used
unless it is known that the DHCP client is in close physical
proximity to the server or network element.
country code: The two-letter ISO 3166 country code in capital ASCII
letters, e.g., DE or US. (Civic addresses always contain country
designations, suggesting the use of a fixed-format field to save
space.)
civic address elements: Zero or more elements comprising the civic
and/or postal address, with the format described below
(<a href="#section-3.3">Section 3.3</a>).
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Overall Format for DHCPv6</span>
The DHCPv6 [<a href="#ref-6" title=""Dynamic Host Configuration Protocol for IPv6 (DHCPv6)"">6</a>] civic address option refers generally to the client as
a whole.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| OPTION_GEOCONF_CIVIC | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| what | country code | .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ .
. civic address elements .
. ... .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
option-code: OPTION_GEOCONF_CIVIC (36)
option-len: Length of the Countrycode, 'what' and civic address
elements in octets.
what: See above (<a href="#section-3.1">Section 3.1</a>).
country code: See above (<a href="#section-3.1">Section 3.1</a>).
civic address elements: See above (<a href="#section-3.1">Section 3.1</a>).
<span class="grey">Schulzrinne Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. Element Format</span>
For both DHCPv4 and DHCPv6, each civic address element has the
following format:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| CAtype | CAlength | CAvalue ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
CAtype: A one-octet descriptor of the data civic address value.
CAlength: The length, in octets, of the CAvalue, not including the
CAlength field itself.
CAvalue: The civic address value, as described in detail below.
<span class="h3"><a class="selflink" id="section-3.4" href="#section-3.4">3.4</a>. Civic Address Components</span>
Since each country has different administrative hierarchies, with
often the same (English) names, this specification adopts a simple
hierarchical notation that is then instantiated for each country. We
assume that five levels are sufficient for sub-national divisions
above the street level.
All elements are OPTIONAL and can appear in any order.
Component values MUST be encoded as UTF-8 [<a href="#ref-7" title=""UTF-8, a transformation format of ISO 10646"">7</a>]. They SHOULD be
written in mixed case, following the customary spelling. The script
indication (CAtype 128) MUST be written in mixed case, with the first
letter a capital letter.
Abbreviations MUST NOT be used unless indicated for each element.
Abbreviations do not need a trailing period.
It is RECOMMENDED that all elements in a particular script (CAtype
128) and language (CAtype 0) be grouped together, as that reduces the
number of script and language identifiers needed.
For each script and language, elements SHOULD be included in numeric
order from lowest to highest of their CAtype. In general, an element
is labeled in its language and script by the most recent 'language
tag' (CAtype ) element preceding it. Since not all elements depend
on the script and language, a client accumulates the elements by
CAtype and then selects the most desirable language and script
rendition if there are multiple elements for the same CAtype.
<span class="grey">Schulzrinne Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
+--------+-------+--------------------------------------------------+
| CAtype | label | description |
+--------+-------+--------------------------------------------------+
| 1 | A1 | national subdivisions (state, canton, region, |
| | | province, prefecture) |
| | | |
| 2 | A2 | county, parish, gun (JP), district (IN) |
| | | |
| 3 | A3 | city, township, shi (JP) |
| | | |
| 4 | A4 | city division, borough, city district, ward, |
| | | chou (JP) |
| | | |
| 5 | A5 | neighborhood, block |
| | | |
| 6 | A6 | group of streets below the neighborhood level |
+--------+-------+--------------------------------------------------+
Table 1
For specific countries, the administrative sub-divisions are
described below.
CA (Canada): The mapping to NENA designations is shown in
parentheses. A1 designates the province (STA), A2 the county
(CNA), A3 the city, town, or MSAG community name (MCN).
DE (Germany): A1 represents the state (Bundesstaat), A2 the county
(Regierungsbezirk), A3 the city (Stadt, Gemeinde), A4 the district
(Bezirk). Street suffixes (STS) are used only for designations
that are a separate word (e.g., Marienthaler Strasse).
JP (Japan): A1 represents the metropolis (To, Fu) or prefecture
(Ken, Do), A2 the city (Shi) or rural area (Gun), A3 the ward (Ku)
or village (Mura), A4 the town (Chou or Machi), A5 the city
district (Choume), and A6 the block (Banchi or Ban).
KR (Korea): A1 represents the province (Do), A2 the county (gun), A3
the city or village (ri), A4 the urban district (gu), A5 the
neighborhood (dong).
US (United States): The mapping to NENA designations is shown in
parentheses. A1 designates the state (STA), using the two-letter
state and possession abbreviations recommended by the United
States Postal Service Publication 28 [<a href="#ref-17" title=""Postal Addressing Standards"">17</a>], <a href="#appendix-B">Appendix B</a>. A2
designates the county, parish (Louisiana), or borough (Alaska)
(CNA). A3 designates the civic community name, e.g., city or
town. It is also known as the municipal jurisdiction or MSAG
community name (MCN). The civic community name (A3) reflects the
<span class="grey">Schulzrinne Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
political boundaries. These boundaries may differ from postal
delivery assignments, the postal community name (PCN), for
historical or practical reasons. The optional element A4 contains
the community place name, such as "New Hope Community" or
"Urbanizacion" in Puerto Rico.
Mappings and considerations from additional countries may be
informally gathered from time to time in independent documents
published by the IETF. These should be titled "Civic Address
Considerations for [Country]" and should contain similar information
to the examples given here. As published by the IETF, they will be
non-normative and purely descriptive, like the examples here, and
will not purport to speak with authority for any country, but rather
be offered for information. If authors choose to label the document
with a country code, this does not preclude its use for labeling a
future coexisting document.
Additional CA types appear in many countries and are simply omitted
where they are not needed or known:
+--------+------+------+---------------------------+----------------+
| CAtype | NENA | PIDF | Description | Examples |
+--------+------+------+---------------------------+----------------+
| 0 | | | language | i-default [<a href="#ref-3" title=""IETF Policy on Character Sets and Languages"">3</a>] |
| | | | | |
| 16 | PRD | PRD | leading street direction | N |
| | | | | |
| 17 | POD | POD | trailing street suffix | SW |
| | | | | |
| 18 | STS | STS | street suffix or type | Ave, Platz |
| | | | | |
| 19 | HNO | HNO | house number | 123 |
| | | | | |
| 20 | HNS | HNS | house number suffix | A, 1/2 |
| | | | | |
| 21 | LMK | LMK | landmark or vanity | Columbia |
| | | | address | University |
| | | | | |
| 22 | LOC | LOC | additional location | South Wing |
| | | | information | |
| | | | | |
| 23 | NAM | NAM | name (residence and | Joe's |
| | | | office occupant) | Barbershop |
| 24 | ZIP | PC | postal/zip code | 10027-1234 |
| | | | | |
| 25 | | | building (structure) | Low Library |
| | | | | |
+--------+------+------+---------------------------+----------------+
<span class="grey">Schulzrinne Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
+--------+------+------+---------------------------+----------------+
| CAtype | NENA | PIDF | Description | Examples |
+--------+------+------+---------------------------+----------------+
| 26 | | | unit (apartment, suite) | Apt 42 |
| | | | | |
| 27 | | FLR | floor | 4 |
| | | | | |
| 28 | | | room | 450F |
| | | | | |
| 29 | | | type of place | office |
| | | | | |
| 30 | PCN | | postal community name | Leonia |
| | | | | |
| 31 | | | post office box (P.O. | 12345 |
| | | | Box) | |
| | | | | |
| 32 | | | additional code | 13203000003 |
| | | | | |
| 33 | | SEAT | seat (desk, cubicle, | WS 181 |
| | | | workstation) | |
| | | | | |
| 34 | | | primary road name | Broadway |
| | | | | |
| 35 | | | road section | 14 |
| | | | | |
| 36 | | | branch road name | Lane 7 |
| | | | | |
| 37 | | | sub-branch road name | Alley 8 |
| | | | | |
| 38 | | | street name pre-modifier | Old |
| | | | | |
| 39 | | | street name post-modifier | Service |
| | | | | |
| 128 | | | script | Latn |
| | | | | |
| 255 | | | reserved | |
+--------+------+------+---------------------------+----------------+
The CA types labeled in the second column correspond to items from
the NENA "Recommended Formats and Protocols For ALI Data Exchange,
ALI Response and GIS Mapping" [<a href="#ref-18" title=""NENA Recommended Formats and Protocols For ALI Data Exchange, ALI Response and GIS Mapping"">18</a>], but are applicable to most
countries. The "NENA" column refers to the data dictionary name in
Exhibit 18 of [<a href="#ref-18" title=""NENA Recommended Formats and Protocols For ALI Data Exchange, ALI Response and GIS Mapping"">18</a>].
The column labeled PIDF indicates the element name from [<a href="#ref-16" title=""A Presence-based GEOPRIV Location Object Format"">16</a>]. (Some
elements were added to this document after the PIDF location object
definition had been completed. These elements currently do not have
a PIDF-LO equivalent.)
<span class="grey">Schulzrinne Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
Language: The "language" item (CAtype 0) optionally identifies the
language used for presenting the address information, drawing from
the tags for identifying languages in [<a href="#ref-4" title=""Tags for the Identification of Languages"">4</a>], as discussed in [<a href="#ref-13" title=""Tags for Identifying Languages"">13</a>].
If omitted, the default value for this tag is "i-default" [<a href="#ref-3" title=""IETF Policy on Character Sets and Languages"">3</a>].
Script: The "script" item (CAtype 128) optionally identifies the
script used for presenting the address information, drawing from
the tags for identifying scripts described in [<a href="#ref-12" title=""ISO 15924:2004. Information and documentation - Codes for the representation of names of scripts"">12</a>] and elaborated
on in Section 2.2.3 of [<a href="#ref-13" title=""Tags for Identifying Languages"">13</a>]. If omitted, the default value for
this tag is "Latn".
POD, PRD: The abbreviations N, E, S, W, and NE, NW, SE, SW SHOULD be
used for POD (trailing street suffix) and PRD (leading street
direction) in English-speaking countries.
STS: STS designates a street suffix or type. In the United States
(US), the abbreviations recommended by the United States Postal
Service Publication 28 [<a href="#ref-17" title=""Postal Addressing Standards"">17</a>], <a href="#appendix-C">Appendix C</a>, SHOULD be used.
HNS: HNS ("house number suffix") is a modifier to a street address;
it does not identify parts of a street address.
building: While a landmark (LMK, CAtype 21) can indicate a complex
of buildings, 'building' (CAtype 25) conveys the name of a single
building if the street address includes more than one building or
if the building name is helpful in identifying the location.
LOC: LOC ("location", CAtype 22) is an unstructured string
specifying additional information about the location, such as the
part of a building or other unstructured information.
PCN: The postal community name (CAtype 30) and the post office box
(CAtype 31) allow the recipient to construct a postal address.
The post office box field should contain the words "P.O. Box" or
other locally appropriate postal designation.
NAM: The NAM object is used to aid user location ("Joe Miller",
"Alice's Dry Cleaning"). It does not identify the person using a
communications device, but rather the person or organization
associated with the address.
LMK: While a landmark (LMK, CAtype 21) can indicate a complex of
buildings, 'building' (CAtype 25) conveys the name of a single
building if the street address includes more than one building or
the building name is helpful in identifying the location. (For
example, on university campuses, the house number is often not
displayed on buildings, whereas the building name is prominently
shown.)
<span class="grey">Schulzrinne Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
Unit: The "unit" object (CAtype 26) contains the name or number of a
part of a structure where there are separate administrative units,
owners, or tenants, such as separate companies or families that
occupy that structure. Common examples include suite or apartment
designations.
Room: A "room" (CAtype 28) is the smallest identifiable subdivision
of a structure.
Type of place: The "type of place" item (CAtype 29) describes the
type of place described by the civic coordinates. For example, it
describes whether it is a home, office, street, or other public
space. The values are drawn from the items in the location types
registry [<a href="#ref-11" title=""Location Types Registry"">11</a>]. This information makes it easy, for example, for
the DHCP client to then populate the presence information. Since
this is an IANA-registered token, the language and script
designations do not apply for this element.
Additional code: The "additional code" item (CAtype 32) provides an
additional, country-specific code identifying the location. For
example, for Japan, it contains the Japan Industry Standard (JIS)
address code. The JIS address code provides a unique address
inside of Japan, down to the level of indicating the floor of the
building.
SEAT: The "seat" item (CAtype 33) designates a place where a person
might sit, such as a seat in a stadium or theater, or a cubicle in
an open-plan office or a booth in a trade show.
Primary road name: The "primary road" item (CAtype 34) is given to
the road or street name associated with the address. If CAtypes
35 through 37 are not specified, the building or designated
location is found on that street. If some of CAtypes 35 through
37 are specified, this designates the main road, off of which the
smaller streets branch off and where the structure or building is
actually located.
Road section: The "road section" item (CAtype 35) designates a
specific section or stretch of a primary road. This is a new
thoroughfare element and is useful where a primary road is divided
into sections that re-use the same street number ranges.
Branch road name: The "branch road name" item (CAtype 36) represents
the name or identifier of a road or street that intersects or is
associated with a primary road. The branch road name is used only
in countries where side streets do not have unique names within a
municipality or other administrative unit, but rather must be
<span class="grey">Schulzrinne Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
qualified by the name of the primary road name that they branch
off of.
Sub-Branch road name: The "sub-branch road name" (CAtype 37) item
represents the name of a street that branches off a branch road
(CAtype 36). The sub-branch road name is used only in countries
where such streets are named relative to the primary road name and
branch road that they connect with.
Street name pre-modifier: The "street name pre-modifier" (CAtype 38)
is an optional element of the complete street name. It is a word
or phrase that precedes all other elements of the street name and
modifies it, but is separated from the street name by a street
name pre-directional. An example is "Old" in "Old North First
Street".
Street name post-modifier: The "street name post-modifier" (CAtype
39) is an optional element of the complete street name. It is a
word or phrase that follows all other elements of the street name
and modifies it, but is separated from the street name by a street
name post-directional and/or street suffix. An example is
"Extended" in "East End Avenue Extended".
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Postal Addresses</span>
In general, a recipient can construct a postal address by using all
language-appropriate elements, including the postal code (ZIP, CAtype
24). However, certain elements override the civic address components
to create a postal address. If the elements include a post office
box (CAtype 31), the street address components (CAtype 34, PRD, POD,
STS, HNO, HNS) are replaced with the post office box element. If a
postal community name is specified, the civic community name
(typically, A3) is replaced by the postal community name (PCN, CAtype
30). Country-specific knowledge is required to create a valid postal
address. The formating of such addresses is beyond the scope of this
document.
<span class="grey">Schulzrinne Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Example</span>
Rather than showing the precise byte layout of a DHCP option, we show
a symbolic example below, representing the civic address of the
Munich city hall in Bavaria, Germany. The city and state name are
also conveyed in English and Italian in addition to German; the other
items are assumed to be common across all languages. All languages
use the latin script.
+--------+---------------------+
| CAtype | CAvalue |
+--------+---------------------+
| 0 | de |
| | |
| 128 | Latn |
| | |
| 1 | Bayern |
| | |
| 2 | Oberbayern |
| | |
| 3 | M=U+00FCnchen |
| | |
| 6 | Marienplatz |
| | |
| 19 | 8 |
| | |
| 21 | Rathaus |
| | |
| 24 | 80331 |
| | |
| 29 | government-building |
| | |
| 31 | Postfach 1000 |
| | |
| 0 | en |
| | |
| 1 | Bavaria |
| | |
| 3 | Munich |
| | |
| 0 | it |
| | |
| 1 | Baviera |
| | |
| 3 | Monaco |
+--------+---------------------+
<span class="grey">Schulzrinne Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
The security considerations discussed in the GEOPRIV architecture
defined by <a href="./rfc3693">RFC 3693</a> [<a href="#ref-9" title=""Geopriv Requirements"">9</a>] apply.
Where critical decisions might be based on the value of this
GEOCONF_CIVIC option, DHCPv4 authentication in <a href="./rfc3118">RFC 3118</a> [<a href="#ref-5" title=""Authentication for DHCP Messages"">5</a>] SHOULD be
used to protect the integrity of the DHCP options.
Since there is no privacy protection for DHCP messages, an
eavesdropper who can monitor the link between the DHCP server and
requesting client can discover the information contained in this
option. Thus, usage of this option on networks without access
restrictions or network-layer or link-layer privacy mechanisms is NOT
RECOMMENDED.
To minimize the unintended exposure of location information, the
GEOCONF_CIVIC option SHOULD be returned by DHCPv4 servers only when
the DHCPv4 client has included this option in its 'parameter request
list' (<a href="./rfc2131">RFC 2131</a> [<a href="#ref-2" title=""Dynamic Host Configuration Protocol"">2</a>], Section 3.5). Similarly, the
OPTION_GEOCONF_CIVIC option SHOULD be returned by DHCPv6 servers only
when the DHCPv6 client has included this option in its OPTION_ORO.
After initial location information has been introduced, it MUST be
afforded the protections defined in <a href="./rfc3694">RFC 3694</a> [<a href="#ref-10" title=""Threat Analysis of the Geopriv Protocol"">10</a>]. Therefore,
location information SHOULD NOT be sent from a DHCP client to a DHCP
server. If a client decides to send location information to the
server, it is implicitly granting that server unlimited retention and
distribution permissions.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. IANA Considerations</span>
The IANA has registered new DHCPv4 and DHCPv6 option codes for the
Civic Address (GEOCONF_CIVIC and OPTION_GEOCONF_CIVIC, respectively).
This document establishes a new IANA registry for CAtypes designating
civic address components. Referring to <a href="./rfc2434">RFC 2434</a> [<a href="#ref-14" title="">14</a>], this registry
operates under both "Expert Review" and "Specification Required"
rules. The IESG will appoint an Expert Reviewer who will advise IANA
promptly on each request for a new or updated CAtype.
CAtype: Numeric identifier, assigned by IANA.
Brief description: Short description identifying the meaning of the
element.
<span class="grey">Schulzrinne Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
Reference to published specification: A stable reference to an RFC
or other permanent and readily available reference, in sufficient
detail so that interoperability between independent
implementations is possible.
Country-specific considerations: If applicable, notes whether the
element is only applicable or defined for certain countries.
The initial list of registrations is contained in <a href="#section-3.4">Section 3.4</a>.
Updates to country-specific considerations for previously-defined
CAtypes are not defined by IANA registrations since they are purely
descriptive, not a registration of identifiers. As noted earlier,
country-specific conventions may optionally be written up in
documents titled "Civic Addresses for [Country]".
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. References</span>
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Normative References</span>
[<a id="ref-1">1</a>] Bradner, S., "Key words for use in RFCs to Indicate Requirement
Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-2">2</a>] Droms, R., "Dynamic Host Configuration Protocol", <a href="./rfc2131">RFC 2131</a>,
March 1997.
[<a id="ref-3">3</a>] Alvestrand, H., "IETF Policy on Character Sets and Languages",
<a href="https://www.rfc-editor.org/bcp/bcp18">BCP 18</a>, <a href="./rfc2277">RFC 2277</a>, January 1998.
[<a id="ref-4">4</a>] Alvestrand, H., "Tags for the Identification of Languages", <a href="https://www.rfc-editor.org/bcp/bcp47">BCP</a>
<a href="https://www.rfc-editor.org/bcp/bcp47">47</a>, <a href="./rfc3066">RFC 3066</a>, January 2001.
[<a id="ref-5">5</a>] Droms, R. and W. Arbaugh, "Authentication for DHCP Messages",
<a href="./rfc3118">RFC 3118</a>, June 2001.
[<a id="ref-6">6</a>] Droms, R., Bound, J., Volz, B., Lemon, T., Perkins, C., and M.
Carney, "Dynamic Host Configuration Protocol for IPv6
(DHCPv6)", <a href="./rfc3315">RFC 3315</a>, July 2003.
[<a id="ref-7">7</a>] Yergeau, F., "UTF-8, a transformation format of ISO 10646", STD
63, <a href="./rfc3629">RFC 3629</a>, November 2003.
[<a id="ref-8">8</a>] Lemon, T. and S. Cheshire, "Encoding Long Options in the
Dynamic Host Configuration Protocol (DHCPv4)", <a href="./rfc3396">RFC 3396</a>,
November 2002.
[<a id="ref-9">9</a>] Cuellar, J., Morris, J., Mulligan, D., Peterson, J., and J.
Polk, "Geopriv Requirements", <a href="./rfc3693">RFC 3693</a>, February 2004.
<span class="grey">Schulzrinne Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
[<a id="ref-10">10</a>] Danley, M., Mulligan, D., Morris, J., and J. Peterson, "Threat
Analysis of the Geopriv Protocol", <a href="./rfc3694">RFC 3694</a>, February 2004.
[<a id="ref-11">11</a>] Schulzrinne, H. and H. Tschofenig, "Location Types Registry",
<a href="./rfc4589">RFC 4589</a>, July 2006.
[<a id="ref-12">12</a>] International Organization for Standardization, ISO., "ISO
15924:2004. Information and documentation - Codes for the
representation of names of scripts", January 2004.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Informative References</span>
[<a id="ref-13">13</a>] Phillips, A. and M. Davis, <a style="text-decoration: none" href='https://www.google.com/search?sitesearch=datatracker.ietf.org%2Fdoc%2Fhtml%2F&q=inurl:draft-+%22Tags+for+Identifying+Languages%22'>"Tags for Identifying Languages"</a>,
Work in Progress, October 2005.
[<a id="ref-14">14</a>] Narten, T. and H. Alvestrand, "Guidelines for Writing an IANA
Considerations Section in RFCs", <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a>, <a href="./rfc2434">RFC 2434</a>, October
1998.
[<a id="ref-15">15</a>] Polk, J., Schnizlein, J., and M. Linsner, "Dynamic Host
Configuration Protocol Option for Coordinate-based Location
Configuration Information", <a href="./rfc3825">RFC 3825</a>, July 2004.
[<a id="ref-16">16</a>] Peterson, J., "A Presence-based GEOPRIV Location Object
Format", <a href="./rfc4119">RFC 4119</a>, December 2005.
[<a id="ref-17">17</a>] United States Postal Service, "Postal Addressing Standards",
November 2000.
[<a id="ref-18">18</a>] National Emergency Number Assocation, "NENA Recommended Formats
and Protocols For ALI Data Exchange, ALI Response and GIS
Mapping", NENA NENA-02-010, January 2002.
Acknowledgements
Harald Alvestrand, Stefan Berger, Peter Blatherwick, Joel M. Halpern,
David Kessens, Cheng-Hong Li, Rohan Mahy, James Polk, Martin Thomson
and Hannes Tschofenig provided helpful comments. Examples and
inspiration were drawn from the Street Address Data Standard of the
Federal Geographic Data Committee.
<span class="grey">Schulzrinne Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
Author's Address
Henning Schulzrinne
Columbia University
Department of Computer Science
450 Computer Science Building
New York, NY 10027
US
Phone: +1 212 939 7004
EMail: hgs+geopriv@cs.columbia.edu
URI: <a href="http://www.cs.columbia.edu">http://www.cs.columbia.edu</a>
<span class="grey">Schulzrinne Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc4776">RFC 4776</a> DHCP Civic November 2006</span>
Full Copyright Statement
Copyright (C) The IETF Trust (2006).
This document is subject to the rights, licenses and restrictions
contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST,
AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT
THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY
IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at
ietf-ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Schulzrinne Standards Track [Page 19]
</pre>
|