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

    DHCP static leases for 1 client w/ multiple interfaces but a single host name?

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 2.2k 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.
    • J
      Jakobud
      last edited by

      I have a client with 2 ethernet ports. Obviously this machine only has 1 host name.

      I want each ethernet port to have a static lease assigned to it.  So using pfSense's DHCP server, I attempted to setup two static leases, one for each ethernet port of that machine.

      However I can't create the second one, because it seems I can't have two static leases that use the same host name.  How do you get around this?  It's not like the host name can be different for each ethernet port…

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        You can just give one of them a different name (add on a "2" or "-b" or something) and it should be fine.

        Are these in two different subnets? If they're both on the same subnet, you probably don't really want two NICs on the same subnet with two different IPs.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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