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

    How to tie 2 internal LAN connectors together on different subnets

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 525 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.
    • A
      aeubank
      last edited by

      Hello,

      I have Pfsense+ and I have a need for 2 subnets to exist between 2 connections. Here is my layout.

      LAN1 is set up as 192.168.15.x with DHCP of 192.168.15.25 to .250
      LAN2 is set up as 192.168.20.x with DHCP of 192.168.20.25 to .250

      How do I set up the firewall to ping a client on both subnets? Let’s say 192.168.15.25 wishes to ping 192.168.20.25, how do I configure rules??

      TIA

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

        @aeubank said in How to tie 2 internal LAN connectors together on different subnets:

        how do I configure rules??

        On your 15.x interface you would allow icmp to 20.25 from that 15.25 source..

        Rules are evaluated as traffic enters an interface from the network its attached. Top down, first rule to trigger wins, no other rules are evaluated..

        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

        A 1 Reply Last reply Reply Quote 0
        • A
          aeubank @johnpoz
          last edited by

          @johnpoz so, I changed this to 15.1 and 16.1 subnets (still different)

          Here is my config
          95b6d242-86d8-4c7e-afc2-40acb5556c06-image.png

          Here are the Lan1 rules
          62f6dbb3-4a88-4402-988f-333f11c06916-image.png

          Here are the Lan2 rules
          2ee202ad-23bc-4cef-aac8-64a4cbfbf63b-image.png

          This configuration still does not allow me to ping one device on a different subnet..

          Any thoughts?

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

            @aeubank said in How to tie 2 internal LAN connectors together on different subnets:

            This configuration still does not allow me to ping one device on a different subnet..

            You sure its not just the other device not answering - tell for sure windows out of the box firewall would not answer a ping from some IP that is not on its local network. you rule there on lan1 for sure would allow ping to anything.. Doesn't matter what your rules on lan2 are.. So if your pinging something and it doesn't answer - that other thing either isn't using pfsense as its gateway, or it has a firewall rule.. Or maybe its mask is wrong and it things 192.168.15 is on its network 192.168.16, for example a /16 mask on the client vs /24 would do that..

            But your rule would allow - so look to device your trying to ping... If you want to prove it to yourself, sniff on pfsense lan2 interface (packet capture under diagnostic menu) when you are pinging from your lan1 device -- do you see the pings going to the device.. then pfsense did its thing - the device not answering nothing pfsense can do about that.

            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.