5 Eth ports and Bridge issue



  • Hi all,
    I cant seem to figure out…. my hands are down, maybe someone can help me out here.

    Here is setup and the issue.

    I could access my 2x routers and nas via wifi but not with my wired laptop.... and i woke up today, i only can access my nas via wifi.

    All my 5 NICs are intel 1 on board and 2x dual NICs.
    1. Assigned WAN to em4.
    2. Assigned LAN to em0 with static ip 192.168.1.1. And have a DHCP server (my laptop is connected to it)
    3. Assigned em1 to FreeNAS
    4. Assigned em2 to TP Link Archer C8 (gave it static ip in pfsense DHCP table 192.168.1.4( not in bridge mode...it doesnt have it! omg...)
    5. Assigned em3 to EA3500 (static ip 192.168.1.5 and its in bridge mode)
    6. interfaces > Bridge > created a bridge with lan/nas/2x routers
    7. firewall rules and added rule to nas/2x routers:
                                            a. PASS
                                            b. Interface to which ever im adding the rule
                                            c. TCP/IP Version IPv4
                                            d. Protocol any
                                            e. Source any
                                            f. Destination any

    Thank you for your time reading it and helping me.


  • Banned

    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.



  • @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


  • LAYER 8 Global Moderator

    "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...



  • @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



  • 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...


  • LAYER 8 Netgate

    It's a disease.



  • @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)



  • @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 :)


  • Netgate Administrator

    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



  • @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?





  • Netgate Administrator

    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



  • @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


  • Netgate Administrator

    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



  • @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 :)


  • LAYER 8 Global Moderator

    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.



  • @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


  • Netgate Administrator

    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


  • LAYER 8 Global Moderator

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


  • Netgate Administrator

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

    Steve



  • @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


Log in to reply