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

2.1.5 -> 2.2.2: Default Route Wrong

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
8 Posts 3 Posters 1.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.
  • E
    ewhac
    last edited by Apr 28, 2015, 6:44 AM

    I am attempting to upgrade from pfSense 2.1.5 to 2.2.2.  After applying the upgrade, I can no longer talk to the Internet.  This happens whether I use the auto-update feature, or if I perform a fresh install and restore my config.xml.

    After poking around, it seems like it's setting the default route incorrectly.  Under 2.1.5, my routing table looks like this.  As you might guess, the LAN interface is em0; the WAN interface is bge0:

    $ netstat -rn
    Routing tables
    
    Internet:
    Destination        Gateway            Flags    Refs      Use  Netif Expire
    default            173.228.113.1      UGS         0      175   bge0
    10.0.0.0/16        link#1             U           0      344    em0
    10.0.0.1           link#1             UHS         0       88    lo0
    10.3.0.0/16        link#7             U           0        0 em0_vl
    10.3.0.1           link#7             UHS         0        0    lo0
    127.0.0.1          link#5             UH          0       63    lo0
    173.228.113.0/24   link#2             U           0       44   bge0
    173.228.113.XXX    link#2             UHS         0        0    lo0
    [ ... ]
    

    After performing a fresh install of 2.2.2 and restoring the 2.1.5 config, my routing table becomes this:

    $ netstat -rn
    Routing tables
    
    Internet:
    Destination        Gateway            Flags      Netif Expire
    default            10.0.0.1           UGS         em0
    10.0.0.0/16        link#1             U           em0
    10.0.0.1           link#1             UHS         lo0
    10.3.0.0/16        link#7             U      em0_vlan
    10.3.0.1           link#7             UHS         lo0
    127.0.0.1          link#5             UH          lo0
    173.228.113.0/24   link#2             U          bge0
    173.228.113.XXX    link#2             UHS         lo0
    [ ... ]
    

    Everything else looks correct, but the default route is clearly nuts.  In both cases, the WebGUI correctly shows WANGW as 173.228.113.1, so I can't understand why it's selecting the LAN interface for the default route.

    What might I have messed up?

    1 Reply Last reply Reply Quote 0
    • G
      Gertjan
      last edited by Apr 28, 2015, 8:29 AM

      Interfaces LAN et WAN (em0 and bge0) got swapped ?

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      1 Reply Last reply Reply Quote 0
      • E
        ewhac
        last edited by Apr 28, 2015, 9:23 AM

        @Gertjan:

        Interfaces LAN et WAN (em0 and bge0) got swapped ?

        I don't think so.  Both still have the correct IP addresses, the WAN's gateway has the correct WANGW IP address, and the LAN's gateway is set to "None," as the instructions on that page dictate.

        1 Reply Last reply Reply Quote 0
        • E
          ewhac
          last edited by Apr 29, 2015, 10:59 PM

          So, no clues, then?  Should I file a bug?

          Normally I'd just go, "Meh," and set everything back up from scratch, except that I have a long-ish list of static DHCP assignments for the LAN that I'd rather not have to type in again.

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by Apr 30, 2015, 6:29 AM

            @ewhac:

            @Gertjan:

            Interfaces LAN et WAN (em0 and bge0) got swapped ?

            I don't think so.  Both still have the correct IP addresses, the WAN's gateway has the correct WANGW IP address, and the LAN's gateway is set to "None," as the instructions on that page dictate.

            Are those actually assigned to WAN and LAN properly? Look at the Interfaces - Assign screen.

            1 Reply Last reply Reply Quote 0
            • G
              Gertjan
              last edited by Apr 30, 2015, 6:54 AM

              @ewhac:

              Normally I'd just go, "Meh," and set everything back up from scratch, except that I have a long-ish list of static DHCP assignments for the LAN that I'd rather not have to type in again.

              Set up by hand and then do a restore, selecting ONLY DHCP settings … from your config.xml  ;)

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • E
                ewhac
                last edited by May 1, 2015, 5:51 AM

                @doktornotor:

                @ewhac:

                @Gertjan:

                Interfaces LAN et WAN (em0 and bge0) got swapped ?

                I don't think so.  Both still have the correct IP addresses, the WAN's gateway has the correct WANGW IP address, and the LAN's gateway is set to "None," as the instructions on that page dictate.

                Are those actually assigned to WAN and LAN properly? Look at the Interfaces - Assign screen.

                Just reloaded 2.2.2 to check:  Yes, the WebGUI reports both interfaces assigned properly – bge0 is WAN, and em0 is LAN.

                1 Reply Last reply Reply Quote 0
                • E
                  ewhac
                  last edited by May 1, 2015, 5:53 AM

                  @Gertjan:

                  Set up by hand and then do a restore, selecting ONLY DHCP settings … from your config.xml  ;)

                  I didn't know you could selectively restore bits of the config.  If this problem persists, I will definitely check that out.

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