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

    Connect two subnets

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 3 Posters 1.4k 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.
    • E
      Erikve
      last edited by

      Hi all,

      I have the following setup to configure:

      Subnet 10.121.1.0/16 <–-LAN 10.121.254.1--> Pfsense <--WAN 10.120.251.1--> Subnet 10.120.4.0/16

      On both subnets I have a Windows server 2008R2 platform to check the with pinging the routing between the two subnets.

      To make life a bit more easier I have turned off firewall on the pfSense and on both Windows-servers. However I;m unable to ping from subnet 10.121.1.0 to 10.120.4.0 and vice versa.
      I already have tried to add static routes to my pfSense, but no progress. Now the noob-questions:

      • Do I need to add a static route on the windows-platform of the 10.120.1.0 subnet to ping to the PfSense (such as route add 10.120.4.0 MASK 255.255.255.0 10.121.254.1). When I do this my TRACERT gets stuck at the default gateway 10.121.254.1)
      • How should I configure the static route in the pfSense such that I can route between both subnets?

      Thank you for the help!

      subnet-routing.png
      subnet-routing.png_thumb

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        Since both subnets are connected to pfSense, there is no static route needed on pfSense.
        You only need a static route on computers on which pfSense isn't set as default gateway, otherwise the packets are directed to the gateway. Is it on both servers?

        1 Reply Last reply Reply Quote 0
        • E
          Erikve
          last edited by

          I have no static route configured on both pc's. But both are having pfsense as default gateway 10.120.254.1/10.121.254.1. Strange thing is thst when i use ping from the gateway itself i can ping both subnets.

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

            And what rules did you put on the opt interface?  Are these machines/devices running in the different network running their own local firewall - that would be blocking the other network?

            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.