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

Routing issue between two network

Scheduled Pinned Locked Moved Routing and Multi WAN
7 Posts 3 Posters 1.1k 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.
  • T
    thogate
    last edited by Jan 17, 2017, 10:43 AM

    I'm trying to communicate between two networks, LAN1: 192.168.1.0/24 and LAN2:10.14.11.1/24

    I'm able to ping from LAN1 to LAN2. it works perfect. but unable to reach LAN1 from LAN2. while i use ping it reaches to LAN1 interface card.

    for further details attached a similar scenario.

    Please help me. thank you in advance
    wifi_net.jpg
    wifi_net.jpg_thumb

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Jan 17, 2017, 1:17 PM

      Similar scenario?  So is that your network or not?

      When you say lan 1 and lan 2.. I would assume they are connected to the same pfsense. That is not what that drawing is showing.. Its showing a transit network of 192.168.1/24 between 2 firewalls.

      Whatever that drawing is from it looks messed up - since there are multiple devices on what should be a transit network.

      What are the rules on your lan2, when you add opt interface to pfsense there are not rules.. So yeah your first lan would be able to start conversation (ping) to lan 2 and lan 2 could answer.. But without any rules on your opt (lan2) interface it would not be able to do anything..

      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
      • T
        thogate
        last edited by Jan 17, 2017, 4:10 PM

        Dear Johnpoz;

        let's say its real network. have a look on my new diagram.

        what I'm trying to do is, run captive portal using pfsense.

        In both interface: I have added the rule, pass any any

        wifi_net2.jpg
        wifi_net2.jpg_thumb

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by Jan 17, 2017, 5:31 PM

          Yeah that's wonderful, but why are the devices hanging on what should be the transit network?!

          1 Reply Last reply Reply Quote 0
          • T
            thogate
            last edited by Jan 17, 2017, 5:43 PM

            let's say 192.168.1.0/24 is my internal network, and 10.14.11.0/24 is for the wifi, which means the wifi users are able to access intranet portal and internet only. all the other communication will be block for them.

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by Jan 17, 2017, 5:51 PM

              Lets say that

              • your design is broken
              • your issue is completely unrelated to pfSense, since the clients dangling on the transit (LAN1) network receive absolutely NO configuration from pfSense, nor will they use it as gateway for anything unless configured properly.
              1 Reply Last reply Reply Quote 0
              • J
                johnpoz LAYER 8 Global Moderator
                last edited by Jan 18, 2017, 11:35 AM Jan 18, 2017, 11:31 AM

                What dok said ;)

                That is not how you would set it up.. If you want 192.168.1/24 to be your internal network - then it would go behind pfsense..  Just like your wifi network..  You can have another firewall between pfsense and the internet if you want.. kind of pointless..  But you end up with like the attached.  Now you can firewall or talk between your segments all you want.  You can run a captive portal on the wifi segment, etc.

                You don't put devices on a transit network between 2 routers.  If you do then they have put routes on them to tell them which router to use for which network.  If your pfsense is natting now you also have to port forward to allow traffic from your transit into your downstream network.  Your prob going to have asymmetrical issues because you miss a route on 1 of your hosts in your transit..

                If you want to use pfsense as a downstream router/firewall and have a segment hang off the upstream router then you would connect them with a transit, but now your going to have to create routing on your upstream router.. See 2nd pic.. I wouldn't be natting at psfense in this case.  Your upstream router would do the natting for any networks behind it.  So there is more config on upstream router in this setup.

                transitnetwork.png_thumb
                typicalsetup.png
                typicalsetup.png_thumb
                transitnetwork.png

                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
                1 out of 7
                • First post
                  1/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received