<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 22.08.2022 20:34, Simon wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:751C19EE-5AF9-4191-AA69-D53EB67E9B7A@thehobsons.co.uk">
      <pre class="moz-quote-pre" wrap="">Adam Nielsen <a class="moz-txt-link-rfc2396E" href="mailto:a.nielsen@shikadi.net"><a.nielsen@shikadi.net></a> wrote:

</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">This is not true in the IPv6 world. All it needs is for a router to
advertise that both prefixes are on-link and the hosts can
communicate directly. This is one area where IPv6 is fundamentally
different (better) than IPv4. For completeness, a router can
advertise that a prefix is not on-link - meaning that communications
between hosts in the same prefix must communicate via the gateway.
This can be the case in some non-broadcast networks, or networks
where device-device direct communications is blocked (e.g. for
privacy/security in public WiFi).
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">
Very interesting, I didn't know that, thanks for the explanation!
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
There’s quite a bit different in IPv6 - it’s not just “extra address bits”. The opportunity was taken to fix some of the limitations found with IPv4 - such as the assumption that devices have a single address, and there’s only one subnet on each network, and all hosts in a subnet have direct communication. Unfortunately, as many people don’t realise that those problems exist, it’s seen as making it overly complicated.

I can recommend the free training available at <a class="moz-txt-link-freetext" href="https://ipv6.he.net/certification/">https://ipv6.he.net/certification/</a> IMO Hurricane Electric have provided a great resource (including free IPv6 access via a tunnel over IPv4 <a class="moz-txt-link-freetext" href="https://tunnelbroker.net/">https://tunnelbroker.net/</a>). If you complete the certification program, you get what my local LUG members decreed to be the geekiest tee shirt ever made :-) Even if you don’t finish it, it worth the effort for the early stages where it introduces various aspects in a staged manner.
</pre>
    </blockquote>
    <pre>yes, that IPv6 is different in more than just 3 bits from IPv4 is logic; but back to me origin intention ...</pre>
    <pre>my router has the following IPv4    172.16.0.1 with the subnetmask   255.255.0.0</pre>
    <pre>and I configured the dhcp to hand out addresses within this part:   172.16.127.1 ... 172.16.127.254</pre>
    <pre>and of course the DHCP clients got the correct IP, subnetmask and default gateway</pre>
    <pre>now the question:   Why do IPv6 clients have a prefix length of 128?</pre>
    <pre>why can't I simple tell the DHCPv6 tell to hand out</pre>
    <pre><i>2001:db8:0:17f::1 ... </i><i>2001:db8:0:17f:ffff:ffff:ffff:ffff and that the clients have the same prefix length as the server itself?</i>

<i>I just want a little bit less chaos in the way that I structure the adresses but not the segments it should be one large network;</i>

<i>e.g. with IPv4 I would give the mail servers IP addresses from this part 172.16.253.1 ... 172.16.253.254</i>
<i>the proxy server a IP address from this part 172.16.128.1 ... 172.16.128.254</i>
<i>but all have the same subnet mask 255.255.0.0 and the same default gateway  172.16.0.1</i>

<i>and this I would have in IPv6 too</i>

<i>the router should have   </i>
<i>2001:db8:0:100::1/56</i>

<i>the mail servers addresses from 2001:db8:0:1e0::1 ... </i><i>2001:db8:0:1e0:ffff:ffff:ffff:ffff</i>
<i>the proxy server an address from </i> <i>2001:db8:0:180::1 ... </i><i>2001:db8:0:180:ffff:ffff:ffff:ffff</i>

and would have the /56 as prefix length as one big network;
no splitting in /57, /58, ... or /64 ...

on the firewall e.g. I would block outbound ports 25, 465 or 587 to 2001:db8:0:180::/64
because the proxy mustn't  send mails; but it would be allowed for ports 80 or 443
on the other side I would allow outbound ports 25, 465 or 587 only to 2001:db8:0:1e0::/64
because the mail servers  are the only that should send mails;

and the DHCP clients I would give a different profile;

but the DHCPv6 clients don't get /56 as prefixlength, they get /128, why?
</pre>
    <br>
    <br>
  </body>
</html>