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

    DLNA + BRIDGE + IGMP PROXY

    Scheduled Pinned Locked Moved General pfSense Questions
    18 Posts 3 Posters 6.5k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      I have one of these boxes and I currently have all 6 Gig-E NICs bridged.
      However I'm using it as a test box for 2.2, I don't need more than 2 interfaces but it's useful to connect multiple clients behind it directly. Also it tests bridging.  ;)
      I agree that even the cheapest gigabit desktop switch makes a better switch than bridging NICs in pfSense.  There are some useful differences though. You can still filter between the bridged network segments even though they are in the same subnet. You can packet capture traffic directly. You can remotely reconfigure the network or add/remove rules without having to actually physically move cables. Once you've divided up your network sufficiently if you still have NICs left over you may as well bridge them to an existing interface so you can quickly connect things directly if needed.

      Steve

      1 Reply Last reply Reply Quote 0
      • I
        infinityz
        last edited by

        Thank you very much to everyone who gave me an answer :-)
        I've changed my subnet with a common class c. Also, enabling the packets with IP options to pass, has made the trick.
        About to use a real switch instead to bridge all the ports, it is for performance issue or there is something else?

        Thanks again

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

          It is performance mostly. Dedicated chips in even the cheapest switches are always going to be faster than software, at least in latency terms.  Also it's cost. In most situations it costs far more to add NICs to get more ports than it does to connect a switch. Of course in a box like the XTM5 you already have 7 NICs so you may as well use all of them as I outlined above.  :)

          Steve

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

            As mentioned performance is prob always going to be better with an actual switch.. As "test" or lab ports with bridge sure ok..  I personally would use those ports when/if you want to add more segments to your network.

            Or even in a lagg sort of setup for bandwidth or failover, etc.
            https://doc.pfsense.org/index.php/LAGG_Interfaces

            Leveraging interfaces on the device your running pfsense on for "switch" ports by bridging them into a network segment would rarely be best use of the interface.  If as mentioned you need to filter between two physical sections of your network segment then ok bridge interfaces would allow you to do that, etc.

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

            1 Reply Last reply Reply Quote 0
            • I
              infinityz
              last edited by

              UPDATE:

              Changed my configuration accordingly to your suggestions.

              WAN: public IP from cable modem

              WLAN: 192.168.1.1 DHCP enabled

              LAN: 192.168.2.1 DHCP enabled

              Everything is working as expected, but the transfer speed between WLAN and LAN is very slow, 1mbyte/sec roughly
              No traffic shaping or QoS enabled of course…..any idea? :-\

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

                Your wireless sucks?  Would be my first guess ;) hehehe

                How are you testing?  Last test I got 271Mbps over a wireless AC connection without even trying to tweak anything..  And my pfsense is virtual on old N40L hardware, etc.  Plug something in with a wire on pfsense wlan segment what are your speeds then?

                What is your wireless AP, clients?  Are you G, N, AC?  How are you doing the test showing 1MBps?

                Did you completely remove all the bridging stuff..  Maybe you got multicast you don't want flooding your wlan causing issues?

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

                1 Reply Last reply Reply Quote 0
                • I
                  infinityz
                  last edited by

                  @johnpoz:

                  Your wireless sucks?  Would be my first guess ;) hehehe

                  How are you testing?  Last test I got 271Mbps over a wireless AC connection without even trying to tweak anything..  And my pfsense is virtual on old N40L hardware, etc.  Plug something in with a wire on pfsense wlan segment what are your speeds then?

                  What is your wireless AP, clients?  Are you G, N, AC?  How are you doing the test showing 1MBps?

                  Did you completely remove all the bridging stuff..  Maybe you got multicast you don't want flooding your wlan causing issues?

                  I'd agree with you about the wireless that sucks :-) But this is not the case, with my previous configuration, all ports bridged, my speed was around 50mbytes/sec.
                  the AP configuration didn't change.

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

                    50MBytes ps over wireless?  So 400Mbps roughly – yeah I find that a little hard to believe ;)

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

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

                      Yup, need to clarify bits or bytes.
                      Such a dramatic reduction look for a duplex mismatch. Are you using the fxp interface? I've seen some odd behaviour on that NIC.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • I
                        infinityz
                        last edited by

                        The AP has 4 gigabit ports, so it's acting as a switch if I connect to it over cable I can easily achieve 50mbytes/sec as transfer speed. Wirelessly 12mbytes/sec
                        WLAN –> EM1
                        LAN --> EM2

                        The numbers above are coming from my previous setup, where all the ports were bridged, only 1 subnet and 1 dhcp server.

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

                          So how were your NICs/subnets/cables arranged when you saw only 1MB/s?

                          Steve

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

                            wired I see 900Mbps..  Yeah 50MBps over a wired gig connection would be common place..

                            If your AP has switch ports, its most likely a wireless router that your just using as AP would be my guess.

                            How are you wired currently would help us point to your problem - I would agree 1MB or 1Mb over a wire something is major wrong.. duplex mismatch would be my first bet too.

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

                            1 Reply Last reply Reply Quote 0
                            • I
                              infinityz
                              last edited by

                              Ok, I've made some more test!
                              I've enabled the HW offload and I've attached a laptop directly to the WLAN interface. Transfer rate between WLAN and LAN 80mbytes/sec (yes megabytes)
                              Re-connected the AP to WLAN, configured my laptop in wireless N 5ghz 450mbps rock solid at 2 mt from the AP. Transfer from WLAN to LAN 1 mbytes/sec
                              Speedtest on internet, wo WLAN to WAN 93mbps/sec

                              So looks like the problem is the wireless…but how is possible I'm getting better speed over wireless on internet then on internal lan?

                              1 Reply Last reply Reply Quote 0
                              • I
                                infinityz
                                last edited by

                                Ok, I've found the problem! For some reason my killer wireless card had the bandwidth control enabled….it's a "feature" from Atheros.

                                Many thanks for your help and sorry to wasted your time :-/

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

                                  Never would have thought of that. Thanks for reporting back.

                                  Steve

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