Bridging two networks



  • I'm trying to create a bridge between two LAN networks. But when I assign BRIDGE0 to "LAN" interface it becomes inaccessible.

    What I did so far:

    1. As suggested in pfSense documentation, I set net.link.bridge.pfil_member to 0 and net.link.bridge.pfil_bridge to 1.
    2. IP configuration of OPT1 interface set to none.
    3. Created BRIDGE0 and added OPT1 there.
    4. Assigned BRIDGE0 to "LAN" interface.

    At this point "LAN" becomes inaccessible. I also tried adding OPT2 to the BRIDGE0, but result is same.

    "LAN" has "Static IPv4" configuration and it works fine as long as it has something different than bridge assigned to it.

    Please help me figure out what I'm doing wrong.



  • @mascot said in Bridging two networks:

    Assigned BRIDGE0 to "LAN" interface.

    ?

    So I assume you have a setup with LAN configured and accessing the web configurator via LAN.

    I had the same situation and did it with these steps:

    • Assigned the OPTx interface to a network port and enabled it.
    • Added the bridge (BRIDGE0) and added the members LAN and OPTx to it.
    • Added a new Interface (OPTy) with BRIDGE0 as network port and enabled it.

    As far as I know a restart was necessary after that to get it work.


  • LAYER 8 Netgate

    @mascot said in Bridging two networks:

    What I did so far:

    As suggested in pfSense documentation, I set net.link.bridge.pfil_member to 0 and net.link.bridge.pfil_bridge to 1.
    IP configuration of OPT1 interface set to none.
    Created BRIDGE0 and added OPT1 there.
    Assigned BRIDGE0 to "LAN" interface.

    At this point "LAN" becomes inaccessible. I also tried adding OPT2 to the BRIDGE0, but result is same.

    Did you then move your management device to OPT1? That would be the only port on "LAN" at that point.



  • @viragomann said in Bridging two networks:

    So I assume you have a setup with LAN configured and accessing the web configurator via LAN.
    As far as I know a restart was necessary after that to get it work.

    I tried both - accessing from this "LAN" interface and from other interface. I also tried assigning bridge to "OPT2" instead of "LAN" as you suggest and did reboot pfSense, but that didn't help.


    @derelict said in Bridging two networks:

    Did you then move your management device to OPT1? That would be the only port on "LAN" at that point.

    Yes, it supposed to be accessible via 192.168.1.x, but I can't access nor ping it.

    Could problem be that one of these two LAN networks is at virtual port (between pfSense VM and host machine)? I also tried adding only 1 physical port to this bridge, but still can't access it.


Log in to reply