If I’m creating a whitelist for a mobile device on my network and that device is using a randomized MAC, is it going to work at all? How are randomized MACs not a nightmare on small networks?

  • friend_of_satan@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    17 days ago

    That person is missing the point that a randomized MAC will often get a different DHCP lease, and the MAC address is used in that, so the IP address will change.

    On a trusted Wi-Fi network, disable MAC randomization on your clients, and if possible reserve an IP address for their non-random MAC address. Some devices have deterministic random per WiFi network, which could also work. In iOS this is WiFi network -> private WiFi address “fixed”. “Rotating” would cause your pihole problems.

    • modus@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      17 days ago

      OK thanks. This makes sense. I guess if I’m going to go through the trouble of whitelisting the MAC, I can go and disable randomization on the device and assign it a static IP.