Address-Space.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Address-space | dn42 wiki</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta name="robots" content="index, follow">
  8. <meta name="keywords" content="dn42,wiki,routing,bgp">
  9. <link rel="canonical" href="https://dn42.obl.ong/howto/Address-Space.html">
  10. <link rel="icon" type="image/x-icon" href="/favicon.ico">
  11. <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
  12. <link rel="author" type="text/html" href="/docs/people">
  13. <link rel="stylesheet" href="/css/normalize.css">
  14. <link rel="stylesheet" href="/css/simple.min.css">
  15. <link rel="stylesheet" href="/css/style.css">
  16. <link rel="stylesheet" href="/css/menu.css">
  17. </head>
  18. <body>
  19. <header>
  20. <b>dn42 wiki / Address-space</b>
  21. <div id="dn42_header">
  22. <p><a href="/"><img src="/dn42.png" alt="dn42" /></a></p>
  23. </div>
  24. </header>
  25. <main>
  26. <p>DN42 uses network addresses in the <a href="https://tools.ietf.org/html/rfc1918">rfc1918</a> and <a href="https://tools.ietf.org/html/rfc4193">ULA</a> ranges. These are described in detail within the sections below.</p>
  27. <p>The <a href="https://git.dn42.dev/dn42/registry">DN42 registry</a> is the authoritative source of information on address space assignment. Within the registry, the DN42 address space is divided in to blocks based on <em>policies</em> that define how the addresses may be used. Policies are defined in <code class="language-plaintext highlighter-rouge">inetnum</code> and <code class="language-plaintext highlighter-rouge">inet6num</code> objects and can be:</p>
  28. <ul>
  29. <li><strong>open</strong> - users may request prefixes in this range, subject to any constraints that are described in the <code class="language-plaintext highlighter-rouge">remark</code> attributes</li>
  30. <li><strong>closed</strong> - these ranges cannot be assigned</li>
  31. <li><strong>reserved</strong> - these ranges are reserved for future use</li>
  32. <li><strong>ask</strong> - these ranges are for specific uses, please ask on the mailing list before requesting assignments</li>
  33. </ul>
  34. <p>A simple way to see all the active policies in the registry is to search the registry content for policy attributes:</p>
  35. <div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nb">grep</span> <span class="nt">-r</span> ^policy data/inet<span class="o">{</span>,6<span class="o">}</span>num/
  36. </code></pre></div></div>
  37. <p>The <a href="https://git.dn42.dev/dn42/registry/src/master/data/filter.txt">filter.txt</a> and <a href="https://git.dn42.dev/dn42/registry/src/master/data/filter6.txt">filter6.txt</a> files within the registry detail the network wide constraints on what address ranges are in use together with the global limits on what can be announced.</p>
  38. <p><code class="language-plaintext highlighter-rouge">inetnum</code> and <code class="language-plaintext highlighter-rouge">inet6num</code> objects within the registry are used to describe the allocation of address space to users. <code class="language-plaintext highlighter-rouge">route</code> and <code class="language-plaintext highlighter-rouge">route6</code> objects in the registry are used to validate routing announcements through <a href="/howto/Bird2#route-origin-authorization">ROA</a>.</p>
  39. <p>In addition to the native DN42 address ranges, the registry also contains allocations for the address space used by affiliate networks. These are updated by a regular <a href="https://git.dn42.dev/dn42/registry-sync">sync script</a>.</p>
  40. <p>Globally routable prefixes are not supported in DN42; they are denied via the registry filter{6,}.txt files and many networks will filter both announcements and traffic for prefixes that are outside of the allowable ranges.</p>
  41. <h1 id="ipv6-address-space">IPv6 Address Space</h1>
  42. <p>DN42 uses the fd00::/8 ULA range for IPv6 addresses. Apart from a block of addresses reserved for anycast (fd42:d42:d42::/48), the whole fd00::/8 block has an open policy and users are free to request any prefix in this range, that is not already allocated.</p>
  43. <p><strong>The DN42 registry is not authoritative for the fd00::/8 range</strong></p>
  44. <p>DN42 is interconnected with other networks, like icvpn, which also use the same ULA range and many users will also use this range for their own networks. A registration in the dn42 registry cannot prevent IPv6 conflicts, so a fully random prefix (see <a href="https://tools.ietf.org/html/rfc4193">RFC4193</a>) is strongly recommended. If an address conflict is found, then needing to renumber your network is no fun.</p>
  45. <h1 id="ipv4-address-space">IPv4 Address Space</h1>
  46. <p>DN42 uses the 172.20.0.0/14 range for IPv4 addresses. As with the public internet, IPv4 space is more limited and users are encouraged to conserve space where possible. A typical assignment in DN42 is a /27 and any requests for assignments larger than /24 must provide justification.</p>
  47. <p>Unlike the IPv6 address space, the DN42 IPv4 space is not fully open for assignment to users; some ranges are intended for specific uses and other ranges are reserved. See the policy section, below. Users should always check the policy in the registry before requesting a prefix to be assigned.</p>
  48. <p>There are other IPv4 ranges in use within DN42 related to the affiliate networks, see the <a href="https://git.dn42.dev/dn42/registry/src/master/data/filter.txt">filter.txt</a> file in the registry.</p>
  49. <h2 id="ipv4-policies">IPv4 Policies</h2>
  50. <p>The diagram below shows the allocation policies for the DN42 address space.</p>
  51. <p><img src="/howto/images/PolicyMap.png" alt="Policy Map Image" /></p>
  52. <p>Specific policy restrictions:</p>
  53. <table>
  54. <thead>
  55. <tr>
  56. <th>Prefix</th>
  57. <th>Usage</th>
  58. </tr>
  59. </thead>
  60. <tbody>
  61. <tr>
  62. <td>172.20.0.0/24<br />172.21.0.0/24<br />172.22.0.0/24<br />172.23.0.0/24</td>
  63. <td>Reserved for anycast addresses</td>
  64. </tr>
  65. <tr>
  66. <td>172.20.240.0/20<br />172.22.240.0/20</td>
  67. <td>Reserved for transfer networks</td>
  68. </tr>
  69. <tr>
  70. <td>172.20.64.0/18</td>
  71. <td>Reserved for allocations larger than /23, up to /21</td>
  72. </tr>
  73. <tr>
  74. <td>172.22.0.0/18</td>
  75. <td>Reserved for allocations of /24 or larger, up to /21</td>
  76. </tr>
  77. <tr>
  78. <td>172.23.16.0/21</td>
  79. <td>Closed to new allocations</td>
  80. </tr>
  81. <tr>
  82. <td>172.21.0.0/18<br />172.21.128.0/17<br />172.22.192.0/18</td>
  83. <td>Reserved for future use</td>
  84. </tr>
  85. </tbody>
  86. </table>
  87. <div id="menu-container" class="menu-container">
  88. <hr>
  89. <div id="menu" class="menu">
  90. <ul>
  91. <li><a href="/Home">Home</a>
  92. <ul>
  93. <li><a href="/howto/Getting-Started">Getting Started</a></li>
  94. <li><a href="/howto/Registry-Authentication">Registry Authentication</a></li>
  95. <li><a href="/howto/Address-Space">Address Space</a></li>
  96. <li><a href="/howto/BGP-communities">BGP communities</a></li>
  97. <li><a href="/FAQ">FAQ</a></li>
  98. </ul>
  99. </li>
  100. <li>How-To
  101. <ul>
  102. <li><a href="/howto/wireguard">Wireguard</a></li>
  103. <li><a href="/howto/openvpn">Openvpn</a></li>
  104. <li><a href="/howto/IPsec-with-PublicKeys">IPsec With Public Keys</a></li>
  105. <li><a href="/howto/tinc">Tinc</a></li>
  106. <li><a href="/howto/GRE-on-FreeBSD">GRE on FreeBSD</a></li>
  107. <li><a href="/howto/GRE-on-OpenBSD">GRE on OpenBSD</a></li>
  108. <li><a href="/howto/IPv6-Multicast">IPv6 Multicast (PIM-SM)</a></li>
  109. <li><a href="/howto/multicast">SSM Multicast</a></li>
  110. <li><a href="/howto/mpls">MPLS</a></li>
  111. <li><a href="/howto/Bird2">Bird2</a></li>
  112. <li><a href="/howto/frr">FRRouting</a></li>
  113. <li><a href="/howto/OpenBGPD">OpenBGPD</a></li>
  114. <li><a href="/howto/mikrotik">Mikrotik RouterOS</a></li>
  115. <li><a href="/howto/EdgeOS-Config">EdgeRouter</a></li>
  116. <li><a href="/howto/Static-routes-on-Windows">Static routes on Windows</a></li>
  117. <li><a href="/howto/networksettings">Universal Network Requirements</a></li>
  118. <li><a href="/howto/vyos1.4.x">VyOS</a></li>
  119. <li><a href="/howto/nixos">NixOS</a></li>
  120. </ul>
  121. </li>
  122. <li>Services
  123. <ul>
  124. <li><a href="/services/IRC">IRC</a></li>
  125. <li><a href="/services/Whois">Whois registry</a></li>
  126. <li><a href="/services/DNS">DNS</a></li>
  127. <li><a href="/services/IX-Collection">IX Collection</a></li>
  128. <li><a href="/services/Clearnet-Domains">Public DNS</a></li>
  129. <li><a href="/services/Looking-Glasses">Looking Glasses</a></li>
  130. <li><a href="/services/Automatic-Peering">Automatic Peering</a></li>
  131. <li><a href="/services/Repository-Mirrors">Repository Mirrors</a></li>
  132. <li><a href="/services/Distributed-Wiki">Distributed Wiki</a></li>
  133. <li><a href="/services/Certificate-Authority">Certificate Authority</a></li>
  134. <li><a href="/services/Route-Collector">Route Collector</a></li>
  135. </ul>
  136. </li>
  137. <li>Internal
  138. <ul>
  139. <li><a href="/internal/Internal-Services">Internal services</a></li>
  140. <li><a href="/internal/Interconnections">Interconnections</a></li>
  141. <li><a href="/internal/APIs">APIs</a></li>
  142. <li><a href="/internal/ShowAndTell">Show and Tell</a></li>
  143. <li><a href="/internal/Historical-Services">Historical services</a></li>
  144. </ul>
  145. </li>
  146. <li>Historical
  147. <ul>
  148. <li><a href="/historical/Bird">Bird 1</a></li>
  149. <li><a href="/historical/Quagga">Quagga</a></li>
  150. </ul>
  151. </li>
  152. <li>External Tools
  153. <ul>
  154. <li><a href="https://paste.dn42.us">Paste Board</a></li>
  155. <li><a href="https://git.dn42.dev">Git Repositories</a></li>
  156. </ul>
  157. </li>
  158. </ul>
  159. <hr />
  160. </div>
  161. </div>
  162. </main>
  163. <footer><div class="center">
  164. <div id="dn42_footer">
  165. <table>
  166. <tbody>
  167. <tr>
  168. <td>Hosted by: <a href="mailto:dn42@burble.com">BURBLE-MNT</a>, <a href="mailto:nurtic-vibe@grmml.net">GRMML-MNT</a>, <a href="mailto:xuu@dn42.us">XUU-MNT</a>, <a href="mailto:janeric@ortgies.it">JAN-MNT</a>, <a href="mailto:lare@lare.cc">LARE-MNT</a>, <a href="mailto:danny@saru.moe">SARU-MNT</a>, <a href="mailto:androw95220@gmail.com">ANDROW-MNT</a>, <a href="mailto:dn42@mk16.de">MARK22K-MNT</a></td>
  169. <td>Accessible via: <a href="https://wiki.dn42">dn42</a>, <a href="https://dn42.dev/">dn42.dev</a>, <a href="https://dn42.eu/">dn42.eu</a>, <a href="https://wiki.dn42.us/">wiki.dn42.us</a>, <a href="https://dn42.de/">dn42.de</a> (IPv6-only), <a href="https://dn42.cc/">dn42.cc</a> (wiki-ng), <a href="https://dn42.wiki/">dn42.wiki</a>, <a href="https://dn42.pp.ua/">dn42.pp.ua</a>, <a href="https://dn42.obl.ong/">dn42.obl.ong</a></td>
  170. </tr>
  171. </tbody>
  172. </table>
  173. </div>
  174. </div>
  175. </footer>
  176. </body>
  177. </html>