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

    Netgate SG-3100 LAN ports cannot go through LAN Gateway.

    Scheduled Pinned Locked Moved General pfSense Questions
    64 Posts 5 Posters 9.3k 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.
    • M
      mmajian
      last edited by

      I also found a very strange thing that when I connect Win10 computer to WirelessNetwork port, it gets correct IP address and gateway
      af8b64b5-7cac-4795-a129-a34377eee2c1-image.png
      But it also can ping LAN 192.168.1.1
      86bf2a30-449f-4f13-ab04-782463ae1bb3-image.png
      Even I have this rule in WirelessNetwork
      481dfcf1-cc5a-4413-ad3d-657b67e898e0-image.png
      Also when I tried to get route from 192.168.30.52 to 192.168.1.1 in Win10 computer
      290bbb19-b302-46d7-bcef-00fd9f073cc0-image.png
      It seems like it access 192.168.1.1 directly not through it's gateway 192.168.30.1
      Can anyone help to explain these weird phenomenon? Maybe by fixing this will fix the LAN ports can't reach LAN gateway problem. Thanks.

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Not necessarily.

        192.168.1.1 is still only one hop away since that address exists on the same hop you reach at 192.168.30.1. It is free to respond to a traceroute using that address.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        M 1 Reply Last reply Reply Quote 0
        • M
          mmajian @Derelict
          last edited by

          @Derelict Thank you very much for trace-route. But why can I ping 192.168.1.1 from WirelessNetwork. I think anything from WirelessNetwork net to LAN net should be blocked by default.

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            Well, if you want to BLOCK traffic on from Wireless network to LAN net then BLOCK it. Don't block traffic with a pass rule.

            Add a rule above what you have that blocks traffic to destination LAN net above what you have and see if the behavior changes.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            M 1 Reply Last reply Reply Quote 0
            • M
              mmajian @Derelict
              last edited by

              @Derelict Great, thank you. I created a BLOCK rule and it's working.
              Now I am backing LAN ports can't reach LAN gateway problem. Looks like fixing problems with WirelessNetwork doesn't fix LAN net. ๐Ÿ˜ž

              DerelictD 1 Reply Last reply Reply Quote 0
              • M
                mmajian @stephenw10
                last edited by

                @stephenw10 I connect one of the Win10 computer to LAN1 port and Switch setting is here:

                aec0ce2b-b734-4276-af03-1f1a2eff37a4-image.png

                It's getting correct IP address from LAN DHCP 192.168.1.115, but is't offline
                2bcf2e02-11c1-40a7-888b-dbdf8aab579a-image.png

                I started Packet capture on LAN interface for IPv4 only.
                13107108-2369-4f78-a4be-7c3e519c7064-image.png
                Looks like LAN can receive from Win10 computer but never reply.

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

                  Ok that is good info, now lets see your actual switch config.

                  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.7.2, 24.11

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mmajian @johnpoz
                    last edited by

                    @johnpoz Sorry I am new to pfSense. What is actual switch config and how to view it? Thanks.

                    1 Reply Last reply Reply Quote 0
                    • DerelictD
                      Derelict LAYER 8 Netgate @mmajian
                      last edited by

                      @mmajian said in Netgate SG-3100 LAN ports cannot go through LAN Gateway.:

                      @Derelict Great, thank you. I created a BLOCK rule and it's working.
                      Now I am backing LAN ports can't reach LAN gateway problem. Looks like fixing problems with WirelessNetwork doesn't fix LAN net. ๐Ÿ˜ž

                      Yet another victim.

                      Someday people will listen.

                      Chattanooga, Tennessee, USA
                      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                      Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

                        See that tab you showing the ports - hit the vlan tab.. lets make sure nothing messed up there

                        switchports.jpg

                        That is the default settings, from one of my 3100s

                        You don't have any rules in in your floating tab do you? And for good measure lets see the routes.. under diag..

                        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.7.2, 24.11

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          mmajian @johnpoz
                          last edited by

                          @johnpoz Yes, my VLANs setting are same as yours. And I don't have rules in floating tab. And here is the routes:
                          fb392cfa-3674-4b88-8fe9-df6415920afd-image.png

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

                            Have you tried reloading the firewall rules? Or I take it you have tried rebooting it? ;)
                            Try changing the IP to say 192.168.2.1/24 on the lan interface?

                            Everything looks right..

                            Are you seeing any errors on the interface, in the interface status?

                            
                            LAN Interface (lan, igb0)
                            
                            Status
                                up
                            MAC Address
                                00:08:a2:0c:e6:24 - ADI Engineering
                            IPv4 Address
                                192.168.9.253
                            Subnet mask IPv4
                                255.255.255.0
                            IPv6 Link Local
                                fe80::208:a2ff:fe0c:e624%igb0
                            IPv6 Address
                                2001:470:snipped::253
                            Subnet mask IPv6
                                64
                            MTU
                                1500
                            Media
                                1000baseT <full-duplex>
                            In/out packets
                                461831409/992950006 (321.12 GiB/1.27 TiB)
                            In/out packets (pass)
                                461831409/992950006 (321.12 GiB/1.27 TiB)
                            In/out packets (block)
                                8743/0 (506 KiB/0 B)
                            In/out errors
                                0/0
                            Collisions
                                0	
                            

                            You tried a different port?

                            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.7.2, 24.11

                            M 1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              Looks like you have pfBlocker installed. Let's see the floating firewall rules. You maybe need to edit them to see all the info.

                              That can block and not log traffic in LAN if it;s not configured correctly.

                              Steve

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

                                He stated he has no rules on floating.

                                You didn't setup any port forward rules did you?

                                I would like to see the full output of the rules to be honest
                                https://docs.netgate.com/pfsense/en/latest/firewall/viewing-the-full-pf-ruleset.html

                                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.7.2, 24.11

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  mmajian @johnpoz
                                  last edited by mmajian

                                  @johnpoz No, zero errors on LAN interface and I did tried different ports. And I did tried change LAN IP to 192.168.10.1/24, still not working.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mmajian @stephenw10
                                    last edited by

                                    @stephenw10 I disabled pfBlocker but no luck.

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      mmajian @johnpoz
                                      last edited by mmajian

                                      @johnpoz No port forward rules. No errors on LAN interface:
                                      d4428f71-7dc0-444e-8956-73bbe32f292f-image.png
                                      Here are all rules
                                      a756b796-d83e-44b7-8552-0b77bf3730aa-image.png
                                      35713b56-8214-41ef-8319-a72a52d07242-image.png

                                      1 Reply Last reply Reply Quote 0
                                      • DerelictD
                                        Derelict LAYER 8 Netgate @mmajian
                                        last edited by Derelict

                                        @mmajian said in Netgate SG-3100 LAN ports cannot go through LAN Gateway.:

                                        Yes, my VLANs setting are same as yours.

                                        Please post them.

                                        It's not rules (though it looks like you are still using a ! LAN net rule for some inexplicable reason.)

                                        Chattanooga, Tennessee, USA
                                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          mmajian @Derelict
                                          last edited by

                                          @Derelict Sure, here is my VLAN:
                                          58454d43-a9f6-4f9f-9de1-5648feef1227-image.png
                                          Here are ports:
                                          edcd6726-bc36-48a9-8489-e1364d35ea3e-image.png
                                          And I disabled all firewall rule here:
                                          ec21994f-994c-4954-9eb8-a658f3dd7ec8-image.png
                                          I uninstalled pfBlocker and disabled OpenVPN. Then reboot the firewall but still no luck.
                                          Next thing I am going to try is reset to factory default.
                                          But if that still not working I think it might be the hardware problem.

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            Disabling pf will, as it says there, disable NAT so you will be unable to connect to any public IPs from any internal interface.
                                            You should still be able to connect to LAN though...

                                            It seems unlikely to be a hardware issue since clients on LAN are still able to pull a DHCP address, traffic is able to flow both ways for that to happen.

                                            Do you see the connected LAN client in the ARP table? (Diag > ARP)

                                            Steve

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