add some hints about subnet sizes

This commit is contained in:
Johannes Kimmel 2023-11-09 22:25:38 +01:00
parent 8fb9d45289
commit 07f6e419e2
2 changed files with 102 additions and 0 deletions

View File

@ -27,3 +27,6 @@
#used-grouped > div {
flex: 0 1 auto;
}
#hints td {
white-space: initial;
}

View File

@ -12,6 +12,105 @@
<body hx-ext="morph">
<h1>Subnetzvergabe</h1>
<details id="hints">
<summary>Hinweise zur Subnetzgröße</summary>
<figure>
<table>
<thead>
<tr>
<th rowspan="2">Prefixlänge</th>
<th colspan="2">IPs</th>
<th rowspan="2">Bemerkung</th>
</tr>
<tr>
<th>Anzahl</th>
<th>Nutzbar</th>
</tr>
</thead>
<tbody>
<tr>
<td>/32</td>
<td>1</td>
<td>1</td>
<td>
<ul>
<li>Einzelne IP</li>
<li>Gedacht für den Einsatz als Router IP</li>
<li>Für SNAT nötig</li>
</ul>
</td>
</tr>
<tr>
<td>/31</td>
<td>2</td>
<td>2</td>
<td>
<ul>
<li>"Peering Netz"</li>
<li>Zwei unabhängige /32 bevorzugen</li>
</ul>
</td>
</tr>
<tr>
<td>/30</td>
<td>4</td>
<td>2</td>
<td>
<ul>
<li>Sehr kleines Netz</li>
<li>Nicht wirklich sinnvoll</li>
</ul>
</td>
</tr>
<tr>
<td>/29</td>
<td>8</td>
<td>6</td>
<td>
<ul>
<li>Sehr kleines Netz</li>
<li>Als Antennennetz an einem reinem Richtfunkstandort ausreichend</li>
</ul>
</td>
</tr>
<tr>
<td>/28</td>
<td>16</td>
<td>14</td>
<td>
<ul>
<li>Sehr kleines Netz</li>
<li>Als Antennennetz an einem reinem Richtfunkstandort ausreichend</li>
</ul>
</td>
</tr>
<tr>
<td>/27</td>
<td>32</td>
<td>30</td>
<td>
<ul>
<li>Kleines Netz</li>
<li>Für eine Wohnung, oder Gästezimmer ausreichend</li>
</ul>
</td>
</tr>
<tr>
<td>/26</td>
<td>64</td>
<td>62</td>
<td>
<ul>
<li>Kleines Netz</li>
<li>Für eine Wohnung, Gästezimmer, kleinere Gasthäuser ausreichend</li>
</ul>
</td>
</tr>
</tbody>
</table>
</figure>
</details>
<div id="control">
<button hx-get="/api/alloc/32" hx-swap="none">/32</button>
<button hx-get="/api/alloc/31" hx-swap="none">/31</button>