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

    Cannot connect/ping from internal to pfSense and vice versa

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    22 Posts 3 Posters 2.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.
    • I
      icq9988 @marvosa
      last edited by

      @marvosa My 3750 is LANBASED so int g1/0/48 cannot be assigned IP address, but I guess use "switchport mode access" "switchport access vlan 100" , it should work. Assuming I removed vlan 1, and use 10.30.54.1 for pfSense lan port IP and 10.30.54.254 as SVI for vlan 100 on 3750.

      Thanks so much Marvosa and Johnpoz, I will try both way.

      If this not work out, I will try plan B: remove all routing or default-gateway from 3750, and config TRUNK bewteen 3750-pfSense, and add VLANs back to pfSense to let it working as routing device instead of 3750, and also config DHCP in pfSense ... ...

      M 1 Reply Last reply Reply Quote 0
      • M
        marvosa @icq9988
        last edited by marvosa

        @icq9988 said in Cannot connect/ping from internal to pfSense and vice versa:

        My 3750 is LANBASED

        Bah... update that license! ;)

        If not, with LAN BASE, in theory, you "should" be able to keep G1/0/48 as a trunk, create a transit VLAN at both ends, point your static routes on PFsense towards the SVI of the transit VLAN on the 3750, and then point the default route on the 3750 towards the IP assigned to the transit VLAN on PFsense.

        Otherwise, you may want to go back to an L2 approach and have PFsense do the inter-vlan routing... in which case you can use PFsense as your DHCP server.

        I 1 Reply Last reply Reply Quote 0
        • I
          icq9988 @marvosa
          last edited by

          @marvosa @johnpoz this is to update:

          I took the approach with Cisco 3750 doing the routing, removed all VLAN from pfSense, but still have to add a gateway with lan port on pfsense, and add static route on this gateway. lan port ip is 10.30.54.1, Onr cisco 3750, VLAN 100 SVI has IP 10.30.54.254.

          After that, I found the vlan with the same subnet(10.30.54.0/24) on pfSense lan port work fine. I can go internet and everything looks alright. I have removed "ip default-gateway", and has "ip route 0.0.0.0 0.0.0.0 10.30.54.1".
          However, for other vlans, they still not working. From Cisco 3750, if I do this "ping 10.30.54.1 source 10.30.60.254" (10.30.60.254.is vlan 1000's SVI ip address on Cisco 3750), it will failed to ping. That is why other vlans cannot go internet. I guess that's because the 3750 is not a true L3 device and cannot assign IP address on physical port so make it hard to routing as we expected.

          SO for now I just removed all other vlans and make it work for the purpose. As my pfsense hardware is too old(maybe more than 10 years), I will go ahead to get a new hardware, and install with newest pfsense, and implement as making Cisco 3750 pure L2 device and trunking to pfsense, to let pdSense do L3 routing and traffic control, As johnpoz suggested.

          Again thanks a lot for your helps!!!

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

            Your hardware age is not an issue... Routing is routing..

            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

            I 1 Reply Last reply Reply Quote 0
            • I
              icq9988 @johnpoz
              last edited by

              @johnpoz I'm not 100% sure why routing not working at this case.
              I did check "show ip route" and the default route marked as "*s" which told me it's has been put in routing table. But for this switch still not working.
              Interesting thing is, if I do ping test from pfSense, I can ping anywhere inside, even other VLANs.

              The hardwre age is about the pfSense upgrade thing, I have not been able to upgrade since ver 2.4.3_1.

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

                If you can ping the downstream devices. But you can not ping pfsense from the devices. What are the rules on your transit interface (lan?)

                by default source of lan net would be only source, so no downstream networks would not be able to ping pfsense, or go to the internet..

                I clearly went over all of that..

                As to your version of pfsense - again.. Doesn't matter this so basic... You could be running pfsense version 1 and it would work..

                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

                I 1 Reply Last reply Reply Quote 0
                • I
                  icq9988 @johnpoz
                  last edited by

                  @johnpoz for pfSense version, I just want to be up to date. Sorry about the confusion, that is another thing unrelated to routing stuff.

                  Last night when I tested. if I PING anywhere from Cisco 3750, it works, because by default Cisco 3750 uses 10.30.54.254 as the source. However, if I added source ip(from other vlan) with ping. It will fail. Basically, I did that ping test with source IP because I found only 10.30.54.0(which has the same subnet with pfsense LAN 10.30.54.1) can go internet.

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

                    @icq9988 said in Cannot connect/ping from internal to pfSense and vice versa:

                    I found only 10.30.54.0(which has the same subnet with pfsense LAN 10.30.54.1) can go internet.

                    And again what are the rules on this interface in pfsense? Out of the box no other networks would not have access..

                    Yes it pretty vital to keep your firewall current version for many many reasons. But something as simple basic connectivity is not one of them..

                    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

                    I 1 Reply Last reply Reply Quote 0
                    • I
                      icq9988 @johnpoz
                      last edited by

                      @johnpoz since I removed all VLANs from pfSense, only rule I added is to allow any from LAN_net to any.

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

                        @icq9988 said in Cannot connect/ping from internal to pfSense and vice versa:

                        from LAN_net to any.

                        And are these downstream networks in lan net? No they have different IP range.. So no they are not going to work..

                        I refer to my previous post where I went over all of this. And even gave you a picture that includes all the pertinent details needed

                        https://forum.netgate.com/post/998526

                        drawing.jpg

                        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

                        I 1 Reply Last reply Reply Quote 1
                        • I
                          icq9988 @johnpoz
                          last edited by

                          @johnpoz Sorry I missed that details. I will stop by tonight to install another Cisco Aeronet WAP, will try for that.

                          Again appreciate for your help on this :)

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            marvosa @icq9988
                            last edited by

                            @icq9988 Yes, you will need an any/any (or defined alias/any) on the LAN interface assuming that's where 10.30.54.1 is addressed.

                            If the other VLANs still aren't communicating once you've added the firewall rule(s) to the LAN, post the running-config, "sh ip route" from the switch, and the routing table from PFsense.

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