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

    setting up static ip for ports in bridge

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 2 Posters 499 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.
    • O
      oriagranat9
      last edited by

      hey i have a simple setup with a couple of ports in bridge mode and i would like to have a specific ip for each of the ports so that when i connect a device it will have that ip

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

        @oriagranat9

        I'm not quite sure what you want here. However, bridges don't provide addresses. Perhaps a little more info on what you're trying to do...

        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
        • O
          oriagranat9
          last edited by

          Ok so I have 3 ports in bridge mode acting like a switch I just want to give each port a "static IP" for example 192.168.1.2 for port one and 192.168.1.3 for port 2 so that whenever I connect some device to them they will have that "static IP"

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

            @oriagranat9

            You don't assign addresses to bridge ports. Managed switches will have an address for the entire box, but not individual ports. Also, given the cost of switches, why even bother making one with pfSense?

            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
            • O
              oriagranat9
              last edited by

              Right now I'm just testing some configurations with pfsens and I'm in need for these ports to have an IP if they are being connected from a device

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

                @oriagranat9

                Well, I doubt you'll ever find a switch that has an address for each port. I don't see why pfSense should be any different. Here's what the docs say:

                Only one interface on a bridge should have an IP address! Do not add multiple IP addresses in the same subnet on different bridge member interfaces. Other interfaces on the bridge should remain with an IP type of None.

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