Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Possible To Assign Hostnames Through DHCP Option 12 Using DHCP Static Mappings?

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 3 Posters 927 Views 3 Watching
    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.
    • A
      alteredstate
      last edited by

      Hello everyone,

      Is it possible to use Option 12 under the "Additional BOOTP/DHCP Options" and assign hostnames to my devices but use what I have listed in the "DHCP Static Mappings for this Interface" on each of my pfSense interfaces? If so, would you please go into more detail on how to achieve this.

      1 Reply Last reply
      Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Probably not. The clients don't like to set their hostnames based on DHCP. Nothing to do with pfSense.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        A 1 Reply Last reply
        Reply Quote 0
        • A
          alteredstate @Derelict
          last edited by

          @Derelict said in Possible To Assign Hostnames Through DHCP Option 12 Using DHCP Static Mappings?:

          Probably not. The clients don't like to set their hostnames based on DHCP. Nothing to do with pfSense.

          Thanks for the reply! Am I misunderstanding the use of DHCP Option 12? According to what I've read if Option 12 is received by a client during the time of acquiring an IP address then the hostname sent by Option 12 is used by the client.

          1 Reply Last reply
          Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by johnpoz

            Which is completely up to the client to use or not use..

            With linux you could add

            request host-name

            To the dhcp client config, but I am not aware of a way to get windows to ask for option 12 or use if offered.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 26.07 | Lab VMs 2.9.0, 26.07

            1 Reply Last reply
            Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy