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

    5 Eth ports and Bridge issue

    Scheduled Pinned Locked Moved General pfSense Questions
    21 Posts 6 Posters 4.9k 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.
    • S
      sogseal
      last edited by

      @doktornotor:

      Completely broken. You have 4 interfaces on the same subnet.

      • Assign the BRIDGE to LAN, not individual interfaces. All those LAN emX should be set up as IPv4/IPv6 - None/None
      • Go to System - Advanced - System Tunables and flip net.link.bridge.pfil_member to 0 and net.link.bridge.pfil_bridge to 1
      • Reboot

      I'd suggest reset to factory defaults and restarting from scratch.

      Alternatively, get a $20 switch and stop wasting interfaces. Stick everything but the TP Link on the switch, set up a separate OPT interface (in a different subnet!!!) for the AP, connect it to the LAN port of the AP and turn off any DHCP there.

      Thank you for you help.

      Got the bridge to work the way you described. I can access my ISP modem, but not the routers.
      I wanted to use the interfaces as a switch.
      I play around with it more see if i can make it work, if not ill go for alternate… dont like to spend money

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

        "I wanted to use the interfaces as a switch."

        Yeah not designed to be switch..  Not doing yourself or you network any favors.

        "dont like to spend money"

        Guess you have a real issue with performance than as well ;)  I can assure you can get a switch with like 5 or 8 ports at gig for less than your dual port nic cost..

        http://www.newegg.com/Product/Product.aspx?Item=N82E16833704042
        $20  Come on..  Why would you use up ports on your router that you could use as other segments because your so cheap to layout $20…  Get 8 port for 31...

        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
        • S
          sogseal
          last edited by

          @johnpoz:

          "I wanted to use the interfaces as a switch."

          Yeah not designed to be switch..  Not doing yourself or you network any favors.

          "dont like to spend money"

          Guess you have a real issue with performance than as well ;)  I can assure you can get a switch with like 5 or 8 ports at gig for less than your dual port nic cost..

          http://www.newegg.com/Product/Product.aspx?Item=N82E16833704042
          $20  Come on..  Why would you use up ports on your router that you could use as other segments because your so cheap to layout $20…  Get 8 port for 31...

          i was researching and you guys are 120% correct, i came up with buying a switch, i just ordered the same one  8). For some reason i though they would be more expensive. I appreciate you help gents. 2 days of headache and simple solution " got a switch for 20 bucks " thanks again.
          P.S. im going to have a hard time with a switch as well, hehe j/k ;D

          1 Reply Last reply Reply Quote 0
          • K
            kejianshi
            last edited by

            I can help with the switch…

            plug in the power.

            run a cat5 cable from your pfsense lan to any cat5 port on the switch.

            plug all your computers and laptops and stuff into any of the remaining switch ports you like in any order.

            Yep - That should do it...

            1 Reply Last reply Reply Quote 0
            • DerelictD
              Derelict LAYER 8 Netgate
              last edited by

              It's a disease.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              1 Reply Last reply Reply Quote 0
              • S
                sogseal
                last edited by

                @kejianshi:

                I can help with the switch…

                plug in the power.

                run a cat5 cable from your pfsense lan to any cat5 port on the switch.

                plug all your computers and laptops and stuff into any of the remaining switch ports you like in any order.

                Yep - That should do it...

                excellent! you made my day 8)

                1 Reply Last reply Reply Quote 0
                • S
                  sogseal
                  last edited by

                  @doktornotor:

                  Completely broken. You have 4 interfaces on the same subnet.

                  • Assign the BRIDGE to LAN, not individual interfaces. All those LAN emX should be set up as IPv4/IPv6 - None/None
                  • Go to System - Advanced - System Tunables and flip net.link.bridge.pfil_member to 0 and net.link.bridge.pfil_bridge to 1
                  • Reboot

                  I'd suggest reset to factory defaults and restarting from scratch.

                  Alternatively, get a $20 switch and stop wasting interfaces. Stick everything but the TP Link on the switch, set up a separate OPT interface (in a different subnet!!!) for the AP, connect it to the LAN port of the AP and turn off any DHCP there.

                  I appologize for double post, i got almost everything to work, except i cannot access opposing subnet:

                  interfaces i got:
                  1. WAN
                  2. LAN
                  3. ROUTER
                  Firewall NAT:
                  192.168.1.0  – LAN
                  192.168.2.0  -- ROUTER

                  Help :)

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

                    Where are you testing from? How are you testing?
                    What firewall rules do have?
                    Do you see hits in the firewall logs when you try to access the other subnet?

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • S
                      sogseal
                      last edited by

                      @stephenw10:

                      Where are you testing from? How are you testing?
                      What firewall rules do have?
                      Do you see hits in the firewall logs when you try to access the other subnet?

                      Steve

                      I was pinging it from windows side, win 7 and other win 8 it was time out. I managed to get it working, by adding 2 firewall rules. I attached 2 pics. Thank you for you help. I love when things starting to work out!!!!!

                      **EDIT

                      I got excited…. I cant access my NAS server with //192.168.1.3, but I can access web gui, any ideas?

                      Capture.PNG
                      Capturee.PNG
                      Capture.PNG_thumb
                      Capturee.PNG_thumb

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

                        By '//192.168.1.3' you mean access it as a Windows share? And you can access it that way from within the 192.168.1.0/24 subnet?
                        Does your NAS have any restrictions? It may not allow traffic from outside its own subnet. It may not be able to respond if it doesn't have a route back, so bad subnet mask or gateway.
                        Does the NAS have any logs you can look at?

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • S
                          sogseal
                          last edited by

                          @stephenw10:

                          By '//192.168.1.3' you mean access it as a Windows share? And you can access it that way from within the 192.168.1.0/24 subnet?
                          Does your NAS have any restrictions? It may not allow traffic from outside its own subnet. It may not be able to respond if it doesn't have a route back, so bad subnet mask or gateway.
                          Does the NAS have any logs you can look at?

                          Steve

                          yes I meant windows side, and yes I can access it within the 192.168.1.0/24 subnet. Its a FreeNAS. Im trying to find the logs but I don't see any, but here is network summary I got on freeNas:
                          Name IPv4 Address IPv6 Address
                          em0 192.168.1.3/24
                          Nameserver
                          192.168.1.1
                          192.168.2.1
                          Default route
                          192.168.1.1

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

                            This could also be windows firewall getting in the way. It will see the NAS as being in a different network zone so may not allow the traffic deppending how you have it set.

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • S
                              sogseal
                              last edited by

                              @stephenw10:

                              This could also be windows firewall getting in the way. It will see the NAS as being in a different network zone so may not allow the traffic deppending how you have it set.

                              Steve

                              thanks bud, ill play around with it more, if not ill connect my wifi router to my switch :)

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

                                Yes if your going to route all traffic out a specific gateway, your vpnv4 then you have to allow rules to get to your other networks.  You can use the aliases for the network in the dropdown list, ie lan and rtn66u

                                See how your lan rules show lan net for the source.

                                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
                                • S
                                  sogseal
                                  last edited by

                                  @johnpoz:

                                  Yes if your going to route all traffic out a specific gateway, your vpnv4 then you have to allow rules to get to your other networks.  You can use the aliases for the network in the dropdown list, ie lan and rtn66u

                                  See how your lan rules show lan net for the source.

                                  ahh i see, so add another rule for LAN : source LAN net Destination RTN66U net and for RTN66U: source RTN66U net and destination LAN net. Im beeing retarted, just woke up :) Thanks again for your help

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

                                    I would not expect that to make any difference since those aliases are what you already had in place; LAN net = 192.168.1.0/24 and RTN66U net = 192.168.2.0/24. Unless I've misread something.

                                    Steve

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

                                      doesn't make any difference to the rule..  but just makes it look cleaner ;)

                                      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

                                        Yep, also means you don't have to change the firewall rules if you change the interface subnet.

                                        Steve

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sogseal
                                          last edited by

                                          @johnpoz:

                                          doesn't make any difference to the rule..  but just makes it look cleaner ;)

                                          I like things to look clean ;) btw im going rethink my whole network, sketch it first. Thank you guys for you time and help

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