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

    How to route 2 subnets on separate NICS thru pfsense with PIX 515E?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 3 Posters 2.7k 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.
    • K
      kapara
      last edited by

      Current setup is a single subnet with a windows domain.  We have another domain which we will bring in  and are putting them on a separate subnet.  Subnet A currently uses the PIX as its gateway.  If I want to use the pfsense to allow both subnets to talk to each other and also allow both of them to go out to the internet will I have to change Subnet A's configuration?

      Subnet A

      192.168.1.0
      255.255.255.0
      192.168.1.1 Gateway PIX

      Subnet B

      192.168.2.0
      255.255.255.0
      192.168.2.1 Gateway I want to use for subnet B.

      I am unsure of how I will be able to make the 2 subnets communicate back and forth and to allow both subnets access to the WAN.  Would I have to use 3 NICS in a pfsense?  Add a 3rd subnet?  Do I just give the pfsense NIC for subnet A an IP of 192.168.1.2, change the gateway for all subnet A to 192.168.1.2

      In a cisco router I would create the following routes:

      0.0.0.0 0.0.0.0 192.168.1.1 (PIX)
      192.168.1.0 255.255.255.0 192.168.1.2 (LAN Interface)
      192.168.2.0 255.255.255.0 192.168.2.1 (Other NIC Interface)

      Kinda unsure how I would do that with the pfsense.

      Thanks for the help.

      Skype ID:  Marinhd

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        more information.
        could you make a diagram?
        Do you want to keep your PIX?
        Or replace it with a pfSense?
        You could have multiple Interfaces (one for each subnet) or VLAN's.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • jahonixJ
          jahonix
          last edited by

          @kapara:

          Subnet A  192.168.1.0/24
          Gateway  192.168.1.1

          Subnet B  192.168.2.0/24
          Gateway  192.168.2.1

          Actually, I don't see the show stopper here.

          Depending on the amount of traffic you want to push between the subnets you can do this with VLANs on a VLAN capable switch or with separate NICs in your pfSense.
          One for each subnet. I'd prefer that if you're not comfortable with VLANs or if there is too much traffic between the two subnets.
          With VLANs it has to pass a single NIC which could be saturated.

          Configure the interfaces (be it NICs or attached VLANs) with your gateway addresses and set firewall rules per interface approprietly.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.