Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    IPv6 Android dealing with the unsupported DHCPv6

    Scheduled Pinned Locked Moved IPv6
    5 Posts 4 Posters 3.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pixeltofu
      last edited by

      Hi

      I do the PPPoE (EDPNet Belgium) on Pfsense (my router is configured as PPPoE pass trough). I get a IPv6 address. I also get full score on the IPv6 test sites, but Android doesn’t support DHCPv6.
      So in my current configuration connected Androids fail to connect. They don’t fall back to IPv4.

      So now I created a separated VLAN (and separate SSID WLAN) for Android and I block IPv6 on that VLAN.
      But that doesn’t seem to be the correct way of doing this :-).

      I have the feeling I have to do something with SLAAC as this is what Android does support.
      The IPv6 coming from EDPNet is DCHPv6 and I presume it's dynamic (I’m not sure if it's not static, I only have EDPNet for 2 days).
      So I’m missing how I can convert the DHCPv6 to SLAAC so I can put the Android in the LAN/GUESTS network to simplify some things?

      Screenshots of my current attached.
      1.png
      1.png_thumb
      2.png
      2.png_thumb
      3.png
      3.png_thumb
      4.png
      4.png_thumb
      5.png
      5.png_thumb
      6.png
      6.png_thumb

      1 Reply Last reply Reply Quote 0
      • H Offline
        hda
        last edited by

        Each LAN has its own IPv6 subnet value. So in ANDROIDS-lan you should  set the IPv6-prefix (the lan-setings page) to unique value. Zero (0) has been used for your LAN.

        On the IPv4 subject: you will be adviced to change mask /16 to /24.

        1 Reply Last reply Reply Quote 0
        • MikeV7896M Offline
          MikeV7896
          last edited by

          DHCPv6 is only used on the WAN to obtain a WAN address and the prefix to use for the LAN (which it appears you're requesting a /56 prefix). Just because the WAN is using DHCPv6 to obtain its address and prefix doesn't mean a thing as far as your Android devices connecting to your LAN are concerned.

          On the LAN side, your router advertisement (RA) is set to Assisted, which allows SLAAC to function (which is what Android uses), but also allows devices to obtain a DHCPv6 address if they desire (like a PC, network printer, or other such device that you might want to have managed addresses on). The only RA setting that I'm aware of that won't allow Android devices to work is Managed. If your Android devices aren't obtaining an IPv6 address with your settings as they are, then there may be a larger issue at play here.

          The S in IOT stands for Security

          1 Reply Last reply Reply Quote 0
          • P Offline
            pixeltofu
            last edited by

            Cool thanks! Got it working by disabling the DHCPv6 server and changing the Router advertisements to unmanaged!
            The Androids also work now!

            Why should I change the internal IP's to /24? What's the advantage of it? It's just my internal network?

            1 Reply Last reply Reply Quote 0
            • K Offline
              kpa
              last edited by

              @pixeltofu:

              Cool thanks! Got it working by disabling the DHCPv6 server and changing the Router advertisements to unmanaged!
              The Androids also work now!

              Why should I change the internal IP's to /24? What's the advantage of it? It's just my internal network?

              You'll almost never need the full /16 for one network segment and even if you try to do that you'll run into serious performance problems with that many clients on the same broadcast domain. A /24 is the best compromise in a single broadcast domain for number available addresses, performance and manageability.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.