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

Assign 2 MACs the same IP address?

Scheduled Pinned Locked Moved DHCP and DNS
5 Posts 4 Posters 832 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.
  • E
    Eurisko
    last edited by Apr 11, 2014, 4:48 PM

    I have a few devices that get moved around time to time that have both Wired & Wireless adapters on them.  Sometimes they are on Wireless in one location but Wired in another. In the past, I setup DHCP Static leases for several of them to have the same IP on regardless of their interface.  I have several devices like this that I know won't have both adapters on at the same time (IP Cameras, Xbox One, AppleTV, etc).

    I just tried to configure it today (I haven't tried setting it like that in awhile) and it no longer works (saying correctly that that IP/MAC/Etc is already in use. I still have several in there still setup like that, so I know it did work at one time. Is there a way to bypass this safety check? Obviously you wouldn't want this in most cases, but it's handy in this one. (I have several firewall rules for many of these devices and have found that people would switch to the other adapter to bypass the rules. :)

    Any suggestions appreciated.

    1 Reply Last reply Reply Quote 0
    • D
      doktornotor Banned
      last edited by Apr 11, 2014, 5:19 PM

      Nope…

      1 Reply Last reply Reply Quote 0
      • J
        johnpoz LAYER 8 Global Moderator
        last edited by Apr 11, 2014, 8:07 PM Apr 11, 2014, 7:59 PM

        Put your wireless on its own segment, this allows you to create rules for wired IPs and wireless IPs and not have to worry about a device getting the same IP with different mac's

        You set reservation so wired gets 192.168.1.x/24 and wireless gets 192.168.2.x/24, simple/sane/easy!

        If need to be on the same broadcast domain, then just use 192.168.1.x/24 as wired 192.168.1.x+1/24 for wireless.  If need be change to /23 or /? to allow for the IPs need for 2 different IPs per device and adjust your rules to account for what your doing.. Maybe vs +1 for wireless put your wired 1st half of address space and wireless in 2nd half, etc.

        So if you using 192.168.0.0/23, 192.168.0.x = wired and 192.168.1.x = wireless.

        Setting up dhcp reservations that could assign same IP to different macs is just broken and not how you should address the problem.

        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.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • G
          GruensFroeschli
          last edited by Apr 11, 2014, 9:21 PM

          If you can make sure that your devices have only one of their interfaces active at a time you could clone on them directly the mac addess of one of the interfaces.
          –> Both interfaces have the same MAC.
          (A really bad idea if you don't know what you are doing)

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

          1 Reply Last reply Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator
            last edited by Apr 12, 2014, 11:10 AM

            ^ I would say that is a really bad idea even when you know what your doing ;)

            But sure that is another way to skin the cat..

            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.7.2, 24.11

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