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

    Bridged vlan not routing traffic

    Scheduled Pinned Locked Moved Routing and Multi WAN
    11 Posts 3 Posters 350 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.
    • D
      dwight
      last edited by

      I have 2 physical interfaces on my router that goes to 2 different switches. I want the same vlans on both ports.

      The setup.

      vlan22 on both interfaces. Assigned with no ip.
      Bridged those interfaces and put dhcp on the bridge.

      The problem is that ip adresses are assigned on both tagged and untagged setups on the switches.
      BUT there is no routing. Cant ping anything from the client and not from pfsense to the clients.
      Not even the gateway from the client.

      If i remove the bridge and set the dhcp in the vlan22 interface everything works. But then it only works to one switch.

      Any ideas?

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @dwight
        last edited by

        @dwight said in Bridged vlan not routing traffic:

        vlan22 on both interfaces. Assigned with no ip.
        Bridged those interfaces and put dhcp on the bridge.

        So you might have assigned an IP to the bridge.

        The problem is that ip adresses are assigned on both tagged and untagged setups on the switches.

        Maybe your switches are lacking the VLAN.
        Did you even configure them properly?

        BUT there is no routing. Cant ping anything from the client and not from pfsense to the clients.

        Note that you have to add a pass rule to the bridge to allow traffic passing it.

        D 1 Reply Last reply Reply Quote 0
        • D
          dwight @viragomann
          last edited by

          @viragomann yes the bridge has an ip because the dhcp i based on that interface.

          And ofc the switch is correct. If it wasnt it wouldent work on a standalone interface which it does. The clients also get an ip from the correct subnet.

          And yes i even set a pass rule on the unlying interfaces just to be sure.

          I know the basics. This is something else.

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @dwight
            last edited by

            @dwight
            You have bridged both VLAN22 interface on pfSense, as I got you.
            Assigned an IP to the bridge and run a DHCP on it.
            If you did this correctly, I don't assume, that there is any L2 leaking on pfSense.

            But an L2 leak is the only explanation, for untagged LAN device getting an IP from this DHCP.
            So I suspect, the lead is anywhere outside.

            D 1 Reply Last reply Reply Quote 0
            • D
              dwight @viragomann
              last edited by dwight

              @viragomann yes v22 + v22 = bridge and dhcp on that bridge.

              Layer 2 seems to be working. Ips are assinged and in the arp log i see mac and ip. But layer 3 is dead. Pfsense cant ping the clients and the clients cant ping the gateway or anything.

              V 1 Reply Last reply Reply Quote 0
              • V
                viragomann @dwight
                last edited by

                @dwight
                It could also be an issue with the NICs. There are known problems with Realtek as far as I know.

                D 1 Reply Last reply Reply Quote 0
                • D
                  dwight @viragomann
                  last edited by dwight

                  @viragomann i dont have any realteks. I only have intel. My router is a netgate so cant be the hardware really. Switch is tplink. And everything works if i use the individual ports. Bridge works fine with standard lans. But with vlans something is off. Dont want to buy another switch. Which i have to if i cant get this going.

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    coxhaus @dwight
                    last edited by

                    @dwight Yes bridging and routing are different. vlans were created because bridging is not efficient.
                    I run all my vlans off my Cisco L3 switch and route to pfsense that way I don't have to deal with vlans and pfsense.

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      dwight @coxhaus
                      last edited by

                      @coxhaus so you runt your dhcp from your switch and not pfsense?

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        coxhaus @dwight
                        last edited by coxhaus

                        @dwight Correct. No issues with pfsense DHCP as I have it turned off.

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          dwight @coxhaus
                          last edited by

                          @coxhaus ok maybe something to think about. I have a tp link switch with layer 2/3

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