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

    Problem with Interface Bridges

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 883 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.
    • R
      rakhsh
      last edited by

      Hi everyone!
      Here is my situation:
      I have a DGS-1210-10P switch that have the following VLANs:

      vlan 10 –-> LAN
      vlan 20 ---> WAN

      I have my PC connected to the trunk port. Installed windows 10, Hyper-V and a pfSense VM with following setup:

      VM has 5 NICs:
      hn0 ----> internal with no vlan tagging
      hn1 ----> external with vlan identification 10
      hn2 ----> external with vlan identification 20
      hn3 ----> internal with vlan identification 99
      hn4 ----> internal with vlan identification 90 (just a place holder when creating bridge)

      I want to bridge hn0 and hn1 as LAN so my PC (vm host) can communicate easily with my rest of network.
      In my first attempts I lost connectivity to my pfsense box so I have installed another VM with windows 10 with internal interface on vlan 99.
      So I can configure the pfsense via a separate port.

      I have installed latest pfsense (pfSense-CE-2.4.2-RELEASE-amd64) with default options. I can connect to the WAN (PPPOE) and the host PC can ping internet and pfsense box just fine.
      The Interfaces are:
      LAN -----> hn0 with DHCP enabled and IP range of 192.168.1.1
      WAN ----> hn2 PPPOE connection
      OPT1 ---> hn1 I have just enabled the interface with IP configuration of none
      OPT2 --->hn4 I have just enabled the interface with IP configuration of none
      OPT3 ---> hn3 with DHCP enabled and IP range of 192.168.2.1

      After creating a * allow rule in firewall on OPT3 I can ping pfsense on windows 10 VM.
      So I connected to pfsense box via 192.168.2.1 on my windows 10 VM and first I have toggled the values of net.link.bridge.pfil_member and net.link.bridge.pfil_bridge under System > Advanced on the System Tunables tab.

      I have restarted pfsense to make sure of settings effect.

      I have created a bridge with OPT1 and OPT2 as members.
      After that under interfaces I changed to the following:
      LAN ----> BRIDGE0
      WAN ---> no change
      OPT1 ---> no change
      OPT2 ---> hn0
      OPT3---> no change

      After hitting save I lost connectivity from the Host PC but still can connect from the windows 10 VM. I don't know what to do. Please help.

      1 Reply Last reply Reply Quote 0
      • R
        rakhsh
        last edited by

        Is it my bad English or what?

        1 Reply Last reply Reply Quote 0
        • R
          rakhsh
          last edited by

          If you help me in any way, it would be appreciated.

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

            In what scenario would you need/want to create a bridge on a vm?  Zero sense..

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.