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

    Curious host names

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 2 Posters 655 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.
    • JKnottJ
      JKnott
      last edited by

      My ISP provides host names based on the cable modem and firewall/router MAC addresses.  I have host names for both IPv4 & IPv6.  However, I have noticed something curious.  The IPv4 host name contains the MAC for the NIC connected to the WAN, but the IPv6 name contains the LAN MAC.

      Any idea why this might be happening?  DHCP is used for IPv4 and DHCPv6 for IPv6 and I have a /56 prefix.

      PfSense running on Qotom mini PC
      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
      UniFi AC-Lite access point

      I haven't lost my mind. It's around here...somewhere...

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

        @JKnott:

        My ISP provides host names based on the cable modem and firewall/router MAC addresses.  I have host names for both IPv4 & IPv6.  However, I have noticed something curious.  The IPv4 host name contains the MAC for the NIC connected to the WAN, but the IPv6 name contains the LAN MAC.

        Any idea why this might be happening?  DHCP is used for IPv4 and DHCPv6 for IPv6 and I have a /56 prefix.

        Ofcourse no need/sense to address/publish a WAN, just directly any LAN because IPv6 is public addressing and exposure ?

        1 Reply Last reply Reply Quote 0
        • JKnottJ
          JKnott
          last edited by

          Either way, I have a host name for both IPv4 and IPv6 from my ISP, in addition to the LAN addresses I have configured on a public DNS server.  My question is why the WAN MAC is used for the IPv4 host name, but LAN MAC for IPv6.  Both resolve to the WAN IP addresses.

          I verified this by taking the addresses listed by ifconfig, with the WAN interface being re0 and LAN, bge0.  I then used the host command for both IPv4 and IPv6 addresses on re0 to obtain the host names provided by my ISP.

          PfSense running on Qotom mini PC
          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
          UniFi AC-Lite access point

          I haven't lost my mind. It's around here...somewhere...

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