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

Multi Wan and Lan Subnet Routing

Scheduled Pinned Locked Moved Routing and Multi WAN
4 Posts 3 Posters 1.6k 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
    Stormbrite
    last edited by Jul 25, 2013, 8:30 PM

    I am new to PfSense and I have run into a problem I cannot seem to wrap my head around.  I am sure it's easy I just can't seem to grasp how to do it.

    My Configuration is as follows.

    Using a SuperMicro D525 4GB RAM 1U box with 2 onboard Intel nics and 1 4 port Intel Card installed (6 nics total) with a 160GB WD Black Series Notebook Hard Drive

    Wan = Comcast (Single Static Public IP)
    Lan = 192.168.5.0/24
    Lan2 (Opt1) = 192.168.1.0/24
    Lan3 (Opt2) = 192.172.1.0/24
    DSL (Opt3) = DSL Provider (Single Static Public IP)
    Unused (Opt4) = Not Assigned to anything (No cable hooked to the nic)

    I am on the current release version 2.0.3 AMD64 (64 bit)

    Here is what I want to do.

    I want the WAN (Comcast) to service Lan2 and Lan3 (Inbound and Outbound) (working right now fine, but also the Lan (192.168.5.x) is included in this which is what I am trying to stop)
    I want the DSL (Opt3) to service Lan (192.168.5.x) (Inbound and Outbound)

    WAN (Comcast) is set as the default for internet under the gateways so all 3 Lan subnets see it as the primary internet

    I want to stress there isn't anything broken here and the system is in a production environment.  I am just trying to route the DSL to the LAN (192.168.5.x) subnet  or conversely only let the Lan (192.168.5.1) use the DSL and not let that subnet go in/out the Comcast.

    Is this doable, or am I thinking wrong on how I want to do this?

    Thanks in advance
    Chris

    1 Reply Last reply Reply Quote 0
    • N
      necronen
      last edited by Jul 26, 2013, 12:43 AM

      You need to group/alias your LAN, LAN2, LAN3 and use gateway.

      Alias
      http://doc.pfsense.org/index.php/Aliases

      Gateway
      http://doc.pfsense.org/index.php/Gateway_Settings

      1 Reply Last reply Reply Quote 0
      • S
        Stormbrite
        last edited by Jul 26, 2013, 2:52 PM

        I know how to do that, but that doesn't solve the problem.

        I do have a solution that I should have thought of before when I was looking at this but I was apparently trying to do this the hard way (got to quit over thinking the problem).

        Easy fix was to take and shut off access to the Comcast Wan by turning off the outbound rule for the Subnet (192.168.5.x) thus forcing everything on that Subnet to use the DSL Wan to go out.  Since that is a diagnostic Subnet I don't care about the speed of the connection in or out.

        Thanks for the reply

        Chris

        1 Reply Last reply Reply Quote 0
        • T
          tim.mcmanus
          last edited by Jul 28, 2013, 3:46 PM

          You can do this also by changing the gateway in the Firewall->Rules->Edit.  There is an advanced section at the bottom of the edit page.  Click on the Advanced button next to Gateway.  Choose the gateway for the particular LAN you are editing.

          In your case you'd edit the 192.168.5.0/24 page and select Opt3 as the Gateway.  That's it.

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received