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

Gateways do not work after changing the default gateway to another

Scheduled Pinned Locked Moved General pfSense Questions
21 Posts 7 Posters 4.0k 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.
  • D Offline
    doktornotor Banned
    last edited by Dec 14, 2015, 12:27 PM

    What's this nonsense about? Make two WANs, not one! WTF.

    1 Reply Last reply Reply Quote 0
    • N Offline
      Nobbie
      last edited by Dec 14, 2015, 3:00 PM Dec 14, 2015, 2:08 PM

      I just had this very same problem last week and was pulling out my hair to sort it out. What I finally realized is that switching the gateway works fine in the Interface GUI but no web browsing works. I was able to ping but browsing did not work. What I eventually discovered is that the previous Gateway remains as the default under the Gateway assignment under System–--Routing----Gateways. To fix the problem edit the settings for the gateway you want to use by checking the box next to Default Gateway. Just to verify this was the problem I changed to the previous gateway and had the same problem.

      Please note that I had configurations for two different providers and this occurred when I was switching over. However I think that's where your problem is.

      P.S. just to be clear I was changing the config between providers when I had this problem. Not only the gateway. (Just in case someone thought I was only changing the gateway and not the corresponding IP configurations).

      1 Reply Last reply Reply Quote 0
      • J Offline
        jahonix
        last edited by Dec 16, 2015, 3:26 PM

        @doktornotor:

        Make two WANs, not one!

        That's where I wanted to guide him gently.
        I'm unsure a "WTF" statement helps here.  ::)

        1 Reply Last reply Reply Quote 0
        • S Offline
          shersinghrawat
          last edited by Dec 18, 2015, 4:40 AM

          Thanks to all of you friends,

          One of my gateway was not working and was not able to ping to internet.

          But my second gateway was onilne and I am not able to understand why the second gateway was showing  offline.

          Is it possible to configure pfsense in such a way that it the default gateway is down, the second one which is working would become default automatically.

          SSR

          1 Reply Last reply Reply Quote 0
          • C Offline
            cmb
            last edited by Dec 18, 2015, 5:00 AM

            There are too many complications in trying to put two WANs on a single NIC, it's really ugly. Just add a NIC and keep only one WAN per NIC.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jahonix
              last edited by Dec 18, 2015, 10:37 AM

              @cmb:

              two WANs on a single NIC

              You could of course use two VLAN interfaces on the same physical NIC, but that implies a managed switch et al.

              1 Reply Last reply Reply Quote 0
              • A Offline
                andyroo54
                last edited by Dec 18, 2015, 11:33 AM

                @jahonix:

                @cmb:

                two WANs on a single NIC

                You could of course use two VLAN interfaces on the same physical NIC, but that implies a managed switch et al.

                We have a pfsense appliance and seem to be having the same issue, our second WAN has got an IP from the ISP but it won't show as online, can't ping google DNS. We know the internet for that wan is working if we patch a dhcp laptop into it, the internet works.

                We are using the C2758, we have one wan plugged into the top left port, and the second wan plugged into the bottom left port. Are you saying we have to install a second NIC to this appliance in order to use two WAN's? Because we have two wans working on another gateway but it's the SG-2440 appliance. Why is it different?

                1 Reply Last reply Reply Quote 0
                • D Offline
                  doktornotor Banned
                  last edited by Dec 18, 2015, 12:01 PM

                  @andyroo54:

                  Are you saying we have to install a second NIC to this appliance in order to use two WAN's?

                  Sigh… Again, start here: https://doc.pfsense.org/index.php/Multi-WAN

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jahonix
                    last edited by Dec 18, 2015, 12:25 PM

                    @andyroo54:

                    Are you saying we have to install a second NIC to this appliance

                    Absolutely not what I'm saying.
                    You already have four (4) NICs in your appliance.

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      andyroo54
                      last edited by Dec 18, 2015, 12:45 PM Dec 18, 2015, 12:38 PM

                      @doktornotor:

                      @andyroo54:

                      Are you saying we have to install a second NIC to this appliance in order to use two WAN's?

                      Sigh… Again, start here: https://doc.pfsense.org/index.php/Multi-WAN

                      Sorry I've read that page it doesn't help. We have it all configured correctly as far as we can tell. I'm not an expert but the guy I work sure is but he is stumped too. It just doesn't make sense. The gateway is set to dynamic because the ISP gives out an IP, it's a UNDI port on a NBN (National broadband network) NTD. You can patch anything in there an if you are set to DHCP you will get on the internet.

                      If it's so obvious to you what I'm doing wrong can you please just tell me? Give me a hint or something?  :'(

                      I just noticed this, we are monitoring google DNS to say if the gateway is up or down, but in here it says the ISP is also using google DNS, could this be causing an issue? It's weird because the gateway appears to be up but we can't ping or traceroute etc…

                      http://imgur.com/jw6FiqA

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        andyroo54
                        last edited by Dec 18, 2015, 12:54 PM

                        @jahonix:

                        @andyroo54:

                        Are you saying we have to install a second NIC to this appliance

                        Absolutely not what I'm saying.
                        You already have four (4) NICs in your appliance.

                        But it's not like each of those 4 Ethernet ports are seperate network interface cards..? They are a quad port nic.. right?

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          doktornotor Banned
                          last edited by Dec 20, 2015, 9:39 AM

                          @andyroo54:

                          If it's so obvious to you what I'm doing wrong can you please just tell me? Give me a hint or something?  :'(

                          This is what you are doing wrong:

                          I am having one LAN and one WAN interface with two gateways.

                          ::) ::) ::)

                          Now, go read the docs a couple more times and please tell us where do they suggest to create a single WAN with two GWs.

                          ::) ::) ::)

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            jahonix
                            last edited by Dec 21, 2015, 12:10 AM

                            @doktornotor:

                            This is what you are doing wrong:

                            I am having one LAN and one WAN interface with two gateways.

                            Really?

                            @andyroo54:

                            …our second WAN has got an IP from the ISP ...

                            It's the typical scenario: "I have the exact same problem! Well, totally different setup, but EXACTLY the same problem. Promised!"

                            Andyroo54, please start a new thread and post screenshots of your interfaces and gateway configs in there.

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              jahonix
                              last edited by Dec 21, 2015, 12:16 AM

                              @andyroo54:

                              They are a quad port nic.. right?

                              Still separate interfaces like em0, em1, etc… for the OS.
                              A quad-port NIC is NOT a switch. Those are 4 dedicated NICs on a single plug-in card.

                              1 Reply Last reply Reply Quote 0
                              21 out of 21
                              • First post
                                21/21
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                This community forum collects and processes your personal information.
                                consent.not_received