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

pfSense can ping ISP gateway but not connect to internet

General pfSense Questions
6
16
2.2k
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.
  • D
    DominikHoffmann
    last edited by DominikHoffmann Jan 28, 2023, 11:11 PM Jan 28, 2023, 11:10 PM

    I have switched ISPs. I cannot get out to the internet from my LAN. My new ISP is Spectrum, but I am not thinking that this has anything to do with my troubles.

    I can ping the WAN gateway address:

    dominik@DominikMBP ~ % ping 47.227.192.1
    PING 47.227.192.1 (47.227.192.1): 56 data bytes
    64 bytes from 47.227.192.1: icmp_seq=0 ttl=254 time=6.944 ms
    64 bytes from 47.227.192.1: icmp_seq=1 ttl=254 time=25.989 ms
    64 bytes from 47.227.192.1: icmp_seq=2 ttl=254 time=7.132 ms
    64 bytes from 47.227.192.1: icmp_seq=3 ttl=254 time=7.688 ms
    

    The pfSense gateway has an IP address:
    login-to-view

    I am using the ISP’s DNS servers:

    209.18.47.61
    209.18.47.62
    

    The LAN firewall rules are alright, as well:
    login-to-view

    And, finally, when I connect my laptop directly to the cable modem through an Ethernet cable, the laptop is online without issues.

    The Spectrum support agent told me she could see my modem but not the router on my side of it, which she would expect to be able to see.

    What are things I might be missing?

    D N 2 Replies Last reply Jan 28, 2023, 11:15 PM Reply Quote 0
    • D
      DominikHoffmann @DominikHoffmann
      last edited by Jan 28, 2023, 11:15 PM

      @dominikhoffmann: I have a tendency to answer my own questions. This may not quite be the answer, but may lead me there:

      Troubleshooting Network Connectivity in the Netgate Docs.

      I will report back with what I find, when I am back at my client’s on Monday.

      J 1 Reply Last reply Jan 29, 2023, 12:45 AM Reply Quote 1
      • S
        stephenw10 Netgate Administrator
        last edited by Jan 28, 2023, 11:46 PM

        If pfSense can ping the gateway but nothing beyond (even by IP) I'd suspect a bad or missing default route. Check Diag > Routes. If there's no default route go to Sys > Routing > Gateways and resave the WAN gateway.

        Steve

        D 1 Reply Last reply Jan 30, 2023, 6:19 PM Reply Quote 1
        • J
          Jarhead @DominikHoffmann
          last edited by Jan 29, 2023, 12:45 AM

          @dominikhoffmann
          If the pc can work then the modem has that MAC in is address table.
          Plug the router into the modem and power cycle the modem.

          D 1 Reply Last reply Jan 29, 2023, 1:48 AM Reply Quote 1
          • N
            NollipfSense @DominikHoffmann
            last edited by Jan 29, 2023, 12:52 AM

            @dominikhoffmann said in pfSense can ping ISP gateway but not connect to internet:

            I am using the ISP’s DNS servers:

            Just to confirm whether pfSense is configured to use ISP's DNS?

            pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
            pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

            D 1 Reply Last reply Jan 29, 2023, 1:50 AM Reply Quote 1
            • D
              DominikHoffmann @Jarhead
              last edited by Jan 29, 2023, 1:48 AM

              @jarhead: I had done that multiple times, every time I tried something different. That was not the issue.

              I had realized that changing devices on the LAN side of the modem required a restart of the modem. Why does it have to take that long to re-establish the connection with cable-based service?

              S 1 Reply Last reply Jan 29, 2023, 2:05 AM Reply Quote 0
              • D
                DominikHoffmann @NollipfSense
                last edited by Jan 29, 2023, 1:50 AM

                @nollipfsense: A reverse lookup of 209.18.47.61 results in dns-cac-lb-01.rr.com, and 209.18.47.62 brings up dns-cac-lb-02.rr.com.

                1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @DominikHoffmann
                  last edited by Jan 29, 2023, 2:05 AM

                  @dominikhoffmann said in pfSense can ping ISP gateway but not connect to internet:

                  I had realized that changing devices on the LAN side of the modem required a restart of the modem. Why does it have to take that long to re-establish the connection with cable-based service?

                  Some tie one MAC address to the account and disallow others. Restarting is generally a fast way to clear it. Alternatively MAC spoofing often works.

                  I had a situation recently where the data center forgot to allow outbound routing even though they configured inbound. (On a second public subnet). It could ping the gateway but a traceroute out further returned no response from the gateway.

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote 👍 helpful posts!

                  D 1 Reply Last reply Jan 29, 2023, 2:14 AM Reply Quote 2
                  • D
                    DominikHoffmann @SteveITS
                    last edited by Jan 29, 2023, 2:14 AM

                    @steveits said in pfSense can ping ISP gateway but not connect to internet:

                    Some tie one MAC address to the account and disallow others. Restarting is generally a fast way to clear it. Alternatively MAC spoofing often works.

                    I tried that, to no avail.

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Jan 29, 2023, 3:49 PM

                      If pfSense can ping it's gateway and that gateway is some upstream public IP then it's nothing to do with the modem or MAC addresses.
                      If it was a DNS issue then pfSense could still ping, say, 8.8.8.8.

                      Did you check for a correct default route as I suggested?

                      D 1 Reply Last reply Jan 29, 2023, 7:27 PM Reply Quote 1
                      • D
                        DominikHoffmann @stephenw10
                        last edited by Jan 29, 2023, 7:27 PM

                        @stephenw10: I can’t physically get to it until tomorrow. I wish, I could check on that remotely, but then I wouldn’t have this problem, because the gateway would already be online.

                        1 Reply Last reply Reply Quote 0
                        • D
                          DominikHoffmann @stephenw10
                          last edited by DominikHoffmann Jan 30, 2023, 6:19 PM Jan 30, 2023, 6:19 PM

                          @stephenw10: The gateway configuration was the issue.

                          In System → Routing → Gateways I had this
                          login-to-view

                          When I changed the setting to this
                          login-to-view
                          it started working immediately. How could I have been thinking that “Automatic” would automatically select the correct gateway.

                          F 1 Reply Last reply Nov 26, 2024, 4:13 PM Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Jan 30, 2023, 6:23 PM

                            It normally would, it may have lost it for some reason. Did you check Diag > Routes?

                            Setting anything there re-creates the default route even if you had just resaved that page without making any changes.

                            Steve

                            D 1 Reply Last reply Jan 31, 2023, 5:09 AM Reply Quote 2
                            • D
                              DominikHoffmann @stephenw10
                              last edited by Jan 31, 2023, 5:09 AM

                              @stephenw10: I admit, I didn’t pursue it any further, after setting it explicitly it started working. This is what it shows now:

                              login-to-view

                              … and I honestly don’t at all know, what I can diagnose from that information.

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Jan 31, 2023, 1:40 PM

                                You can see it has a default route at the top of the table and I would guess that it would would not have shown that before. It might show in logs still but it probably won't tell you anything.
                                If it happens again check the routing table before making any gateway changes. I doubt it will though.

                                Steve

                                1 Reply Last reply Reply Quote 0
                                • F
                                  frankb101 @DominikHoffmann
                                  last edited by Nov 26, 2024, 4:13 PM

                                  @DominikHoffmann Thank you!

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