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

    pfSense assigning two IP's to a single machine

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 5 Posters 780 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.
    • 04CC400
      04CC40
      last edited by

      Hello,

      I am running a VLAN for IoT devices and recently acquired an ODroid that I want to be in this IP range, nonetheless it remains within the LAN range.

      So far I have tried:

      • Assigning a static mapping within the DHCP server of the VLAN and rebooting, which results in the machine having two ip addresses but only being reachable in the LAN one (via ping).

      • Adding the mac address of this machine to the "deny" list on the LAN DHCP, but achieving the same results.

      • This is all going through a TP-Link TL-SG108PO switch, so I've tried to assign the specific port's untagged traffic to the specific VLAN while removing its membership from the other VLANs. Prior configuration had all ports on all VLANS via tagged traffic.

      So far I have been unable to achieve the desired results.

      Thanks in advance for any pointers.

      Bob.DigB RobbieTTR JKnottJ 3 Replies Last reply Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8 @04CC40
        last edited by

        @04CC40 You have a problem with your VLANs and switch, not pfSense.

        RobbieTTR 1 Reply Last reply Reply Quote 0
        • RobbieTTR
          RobbieTT @Bob.Dig
          last edited by

          @Bob-Dig
          The switch mentioned does not appear to be L3 so we can only presume the VLANs and DHCP are managed via pfSense in a router-on-a-stick configuration.

          ☕️

          Bob.DigB 1 Reply Last reply Reply Quote 0
          • Bob.DigB
            Bob.Dig LAYER 8 @RobbieTT
            last edited by

            @RobbieTT Even if, still it is most probably a problem with the switch-config.

            1 Reply Last reply Reply Quote 0
            • RobbieTTR
              RobbieTT @04CC40
              last edited by

              @04CC40 said in pfSense assigning two IP's to a single machine:

              ODroid

              Confirm that this ODroid device is wired only?

              The port on the switch should only have the desired VLAN set - nothing else.

              The only port with both your LAN and VLAN(s) set should be the (trunk) port to the router.

              ☕️

              1 Reply Last reply Reply Quote 0
              • JKnottJ
                JKnott @04CC40
                last edited by

                @04CC40 said in pfSense assigning two IP's to a single machine:

                TP-Link TL-SG108PO

                Some TP-Link models have a problem with VLANs.

                PfSense running on Qotom mini PC
                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                UniFi AC-Lite access point

                I haven't lost my mind. It's around here...somewhere...

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Can we assume the ODroid is not configured with the VLAN directly?

                  1 Reply Last reply Reply Quote 0
                  • 04CC400
                    04CC40
                    last edited by

                    Solution: I had to set the tagging and PVID on different sections within the TP'Link GUI.

                    @JKnott This one has been running the same VLAN's for a while, so that was not the issue. Clearly a configuration error.

                    @RobbieTT Yes, wired only, direct to a specific port on the switch. I assumed setting the port as "untagged" would suffice, but an extra PVID definition was required.

                    @stephenw10 The ODroid wasn't configured at all at this point, simply booting and getting an IP from the DHCP server.

                    Thanks.

                    RobbieTTR 1 Reply Last reply Reply Quote 2
                    • RobbieTTR
                      RobbieTT @04CC40
                      last edited by

                      @04CC40
                      Good update. 👍

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