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

Bug or Feature: multiple static ip entries in DHCP Static Mappings

Scheduled Pinned Locked Moved DHCP and DNS
8 Posts 2 Posters 471 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.
  • C
    chris1284
    last edited by Nov 16, 2022, 11:04 AM

    Hi,

    at this time i am filling static ip entries in DHCP Static Mappings.
    Is it normal that i can enter the same ip multiple times in this list? Should not the gui prevent from entering this fail configuration? I did so because of a careless mistake and was wondering that this is possible.

    thx christian

    J 1 Reply Last reply Nov 16, 2022, 1:24 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @chris1284
      last edited by Nov 16, 2022, 1:24 PM

      @chris1284 you mean you set say 192.168.9.100 for aa:bb:cc:00:00:01, and you also set 192.168.9.100 for aa:bb:cc:00:00:02

      While that is prob not a very good setup, the first mac to get the ip should win in such a setup. It shouldn't hand out a duplicate if the first mac/IP is active.

      Some sort of warning that your doing that might not be a bad idea.

      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

      C 1 Reply Last reply Nov 16, 2022, 1:34 PM Reply Quote 0
      • C
        chris1284 @johnpoz
        last edited by chris1284 Nov 16, 2022, 1:37 PM Nov 16, 2022, 1:34 PM

        @johnpoz said in Bug or Feature: multiple static ip entries in DHCP Static Mappings:

        you mean you set say 192.168.9.100 for aa:bb:cc:00:00:01, and you also set 192.168.9.100 for aa:bb:cc:00:00:02

        exactly what i mean. for dupplicated mac there is a check

        b079164c-8979-4aea-a814-b0eaffd6b3a9-image.png

        J 1 Reply Last reply Nov 16, 2022, 2:15 PM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @chris1284
          last edited by johnpoz Nov 16, 2022, 2:15 PM Nov 16, 2022, 2:15 PM

          @chris1284 well yeah in that scenario - which one does it get?

          But with duplicate IP, the first mac to ask should get it. As long as the other one is not using it currently

          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

          C 1 Reply Last reply Nov 16, 2022, 2:20 PM Reply Quote 0
          • C
            chris1284 @johnpoz
            last edited by Nov 16, 2022, 2:20 PM

            @johnpoz
            they are switching, that's my observation:

            1. devices1 -> request -> gets ip
            2. device2 comes up -> request -> gets ip
            3. devices1 -> request -> gets ip....

            if both are online both, the last device that requested an ip gets ip

            J 1 Reply Last reply Nov 16, 2022, 2:23 PM Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator @chris1284
              last edited by johnpoz Nov 16, 2022, 2:25 PM Nov 16, 2022, 2:23 PM

              @chris1284 so your saying it hands out a duplicate IP?

              Did you disable the ping check, does the device not answer ping?

              2022-11-16_082252.jpg

              The way it should work, is if someone has it - and 2nd guy comes in - the dhcp server should ping - if there is an answer for that IP then it shouldn't hand it out to the 2nd guy..

              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

              C 1 Reply Last reply Nov 16, 2022, 7:02 PM Reply Quote 0
              • C
                chris1284 @johnpoz
                last edited by Nov 16, 2022, 7:02 PM

                @johnpoz The ping check is enabled

                J 1 Reply Last reply Nov 16, 2022, 7:07 PM Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator @chris1284
                  last edited by Nov 16, 2022, 7:07 PM

                  @chris1284 when I get a chance I will try and duplicate this.

                  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 1
                  3 out of 8
                  • First post
                    3/8
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received