Navigation

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

    2pfsense route

    Routing and Multi WAN
    2
    7
    1438
    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.
    • M
      Maaarten last edited by

      Hello

      I have a small network set up as a test.

      I have a L2switch with 3 vlans (10.10.0.0,10.20.0., 10.30.0.0) that connected (tagged) with the first pfsense. This pfsense does only inter-vlan routing (10.10.0.1,10.20.0.1,10.30.0.1). The wan port is not used here. Here everything works ok. the different vlans can acces eachother etc.. . Now I have a 2nd pfsense (10.30.0.3) that has a lan port Connected to vlan3 and a wan port connected to the Internet. So I want to make sure that each vlan can acces the Internet. In pfsense 2 ,I therefore set routes to the 3 vlans: src10.10.0.0 dest: 10.30.0.1,10.20.00 => 10.30.0.1,10.30.00 => 10.30.0.1. in pfsense 1 would have a kind of default route set to pfsense 2 but I do not know how?
      when i try to make a route to pfsense 2 for example vlan 20 i cant set default gateway to 10.30.0.3(pfsense2) because its not in the same subnet.
      Does anyone know how I can solve this?

      Maaarten

      1 Reply Last reply Reply Quote 0
      • M
        Metu69salemi last edited by

        Both pfsense's should now each others so create static routes in both of them.

        1 Reply Last reply Reply Quote 0
        • M
          Maaarten last edited by

          pfsense 1 (internet & lan)

          pfsense2(inter-vlan)

          don't know what to do on pfsense 2 :(

          1 Reply Last reply Reply Quote 0
          • M
            Metu69salemi last edited by

            Both pfsenses should know eachothers, right.
            try with 0.0.0.0/0 mask

            1 Reply Last reply Reply Quote 0
            • M
              Maaarten last edited by

              i can't take 0 mask the lowest i can take is 0.0.0.0/1
              Yes they need to know each other. they just need to route each other.but i'm just stuck with the vlans do need to make a route for each vlan to 10.30.0.3?

              1 Reply Last reply Reply Quote 0
              • M
                Maaarten last edited by

                do i need to make a route for each vlan or 1route?
                anyone who can help? i'm new in pfsense sorry

                1 Reply Last reply Reply Quote 0
                • M
                  Metu69salemi last edited by

                  What if you create gateway and put pfsense rules to use that new gateway.
                  I have no lab to test that, but that might work with all vlans

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post