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

Create Reservation without IP to Link MAC and Hostname

Scheduled Pinned Locked Moved DHCP and DNS
2 Posts 2 Posters 542 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.
  • H
    hell bomb
    last edited by Jul 3, 2016, 5:58 PM

    I am trying to create static DHCP reservations that only have MAC address and the hostname I want them to have. this way they will still use DHCP to pull IPv4 and IPv6 addresses via DHCP while assigning them hostnames via the DHCP server. My issue is that even once the DHCP reservation is created with the information is doesn't link, it will still create its own entry in the DHCP table with the name the device is declaring. Is there a way around this?

    1 Reply Last reply Reply Quote 0
    • M
      muswellhillbilly
      last edited by Jul 6, 2016, 11:24 AM

      Definition of DHCP:

      "Dynamic Host Configuration Protocol (DHCP) is a client/server protocol that automatically provides an Internet Protocol (IP) host with its IP address and other related configuration information such as the subnet mask and default gateway."

      DHCP allocates IP addresses by design. If I understand what you're asking, you can't have a DHCP server which simply binds the hostname to the MAC address. The hostname must resolve to an IP in order for networking on the DHCP guest to function.

      However, you can assign a static reservation (IP) via DHCP to a specific host and then create a DNS entry (A-Record) which maps the hostname to that same IP.

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received