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

    Multiple devices with the same IP

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    2 Posts 2 Posters 248 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
      chrisd
      last edited by

      Hi Awesome pfSense Community!

      I have a challenge for the more advanced networking gurus. I have (due to unfortunate circumstances) several devices with the same IP that I need to connect to simultaneously (yes it's wrong, no I don't know what they were thinking, yes I'm left to deal with it). They don't need to see each-other, but they all need to talk to a master PC. The solution I had in mind was to put each device on its own VLAN, then map the IP of each machine to a unique IP on a primary VLAN.

      Eg:

      VLAN2 192.168.1.101 <-> VLAN1 192.168.1.10

      VLAN3 192.168.1.101 <-> VLAN1 192.168.1.11

      VLAN4 192.168.1.101 <-> VLAN1 192.168.1.12

      Is this possible on a pfSense router, and, if so, would you please provide the high-level roadmap? From the outside this would look like a magic black box that takes in a bunch of Ethernet cables connected devices with the same IP, and on the other side looks like a switch with a bunch of devices with different IPs.

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

        @chrisd you would need nat between each of those devices with the same IP.. But pfsense is not going to let you create multiple vlans with the same IP range.

        What devices are these that don't allow you to change its IP? That seems insane.. You could do what your asking with Virtual Routers on host.. Or you could use something like raspberry pi with dual nics, or https://www.gl-inet.com makes some cheap wifi router, you could always turn off the wifi if you don't need it, they are small, and like $30 I think..

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.