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

    DHCP Static Mappings for this Interface, Does Not allow same "server"

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 4 Posters 1.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.
    • A
      AllGamer
      last edited by

      DHCP Static Mappings for this Interface is not allowing me to set my NIC cards in the same Ubuntu server to the same IP and Hostname.

      The NIC cards in Ubuntu have been configured for load balancing as Bond0 using iface

      Ideally I wanted them to be like this:
      12:02:a5:4f:08:1e 192.168.1.200 FILESERVER
      12:02:a5:4f:08:1f 192.168.1.200 FILESERVER
      34:16:76:01:dc:22 192.168.1.200 FILESERVER

      But pfsense DHCP Server is forcing me to have it like this:
      12:02:a5:4f:08:1e 192.168.1.200 FILESERVER
      12:02:a5:4f:08:1f 192.168.1.201 FILESERVER1
      34:16:76:01:dc:22 192.168.1.202 FILESERVER2

      Is there a way to disable pfsense same Hostname check, same IP check?

      They are all in the same physical server, just NICs configured for load balancing, the iface Bond will change MAC address maintaining the same Hostname and same IP, depending on the load, and or if a card dies.

      I'm afraid if I keep it as pfsense wants, then when a the Bond changes the MAC address to the next card, then pfsense will give out the wrong IP and wrong Hostname

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        You don't want to do that. It'll cause a variety of potential issues with that host, unrelated to that input validation. Put one IP on the bond, not an IP on each NIC.

        That input validation exists because that hostname is used for DNS hostname registration, and you don't want to end up creating a round-robin.

        1 Reply Last reply Reply Quote 0
        • M
          meruem
          last edited by

          side note, if you were not doing a bond, would this be a bad idea? I mean, I have 4 nics in my PC, they all are the same host

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

            While you could lagg/bond the interfaces if the nic support it and OS.. How many clients to this file server will there be.  What does the rest of your switching infrastructure look like?  You do have a smart switch right?

            You do understand that 1+1+1+1 does not = 4 when you bond interfaces..

            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 24.11 | Lab VMs 2.8, 24.11

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