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

    Can I communicate two PC on differents subnets

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 4 Posters 814 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.
    • Z Offline
      zaouche
      last edited by

      Hello everyone,

      I have a problem with my pfsense, the problem is when I tried to pass a communication between two computer on two differents subnets, I field,

      Take a look for the attachement,

      I want to comunicate PC1 with PC2

      Please help me to resolve this problem
      ![Sans titre.png](/public/imported_attachments/1/Sans titre.png)
      ![Sans titre.png_thumb](/public/imported_attachments/1/Sans titre.png_thumb)

      1 Reply Last reply Reply Quote 0
      • JailerJ Offline
        Jailer
        last edited by

        That's a feature, not a problem.

        You're going to have to set up rules for the 2 computers on each subnet to allow them to communicate.

        1 Reply Last reply Reply Quote 0
        • Z Offline
          zaouche
          last edited by

          yes, I did this, but the problem is that I have a router between PC2  and pfsense, and the router has a good configuration, I don't know if I should to specify the route of this communication or what ?

          1 Reply Last reply Reply Quote 0
          • M Offline
            mikeisfly
            last edited by

            You have to create a static route on each router, or you will have to setup a dynamic routing protocol like rip for each router to discover the routes across the whole network. Take a look at YouTube I'm sure there are plenty of videos of people explaining how routing protocols work. RIP would probably be the easiest to use for your needs. You will need to download a package from to get RIP functionality.

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

              your doing a downstream router.. Yeah there are a few things that have to happen.  And this downstream router is on a lan side port right. your not using it as your wan on pfsense?

              While I like your /30 transit.. Your other segments - why are you using /16??

              There are quite a few threads that go over downstream routing with pfsense.  I should prob put something up on the wiki, seems to come up quite often as of late.

              Your going to need to create a gateway on pfsense pointing to this /30 IP of the downstream router.  And then a route for the network behind the downstream router.  Your then going to have to adjust the rules on your transit network to allow the downstream.  And your also going to need to alter your pfsense outbound nat rules if these downstream networks are going to use pfsense for internet access, etc.

              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.