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

    Loss of default gateway following upgrade to V2.2

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 2 Posters 731 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.
    • K
      keithc
      last edited by

      I have a two interface system that was recently upgraded to v2.2.  Following the upgrade, the default gateway is no longer present in the routing table (netstat -nr) following a reboot.  When I manually add a default gateway from the command prompt (route add default 10.108.145.129) I can gain access with webconfigurator and ssh over the network until the next reboot.

      (wan) bge0 = 10.108.145.136
      (lan) em0 = 192.168.0.5

      Does anyone know a way to set a persistent default gateway manually from the command prompt or a config file that can be edited?  The info on freeBSD indicates /etc/rc.conf should be edited but that does not seem to be the case with PFsense.

      Also, I can take a backup of the system and apply it to a fresh non upgraded install of v.2.2 and the default gateway does persist through system reboots.

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

        System > Routing > Gateways > Edit > Check default > Save

        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
        • K
          keithc
          last edited by

          I checked System > Routing > Gateways > Edit > Check default and it was already selected.  I saved it again and rebooted.  Still no default gateway is shown with netstat -nr and I can't access the system after reboot.

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

            Weird.  Sounds like interface assignments or ?  Anything in the logs or dmesg while you boot?

            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
            • K
              keithc
              last edited by

              I am not seeing anything in the logs or dmesg during boot.  It is odd that I can backup and restore to another system and everything works.

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