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

    Bridge interface broken with upgrade

    Scheduled Pinned Locked Moved CE 2.7.0 Development Snapshots (Retired)
    9 Posts 2 Posters 727 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.
    • T
      tedquade
      last edited by tedquade

      QOTOM Q355G4
      4 x Intel I211-AT 10/100/1000 GbE Controller
      Intel Core i5-5200U Processor

      WAN (wan) -> igb0 -> v4: 24.89.64.78/24
      LAN (lan) -> bridge0 -> v4: 192.168.177.1/24
      P4 (opt1) -> igb2 ->
      P3 (opt2) -> igb3 ->
      P2 (opt3) -> igb1 ->
      WLAN (opt4) -> ath0_wlan0 ->

      Had been functioning as expected prior to upgrade to currrent snapshot from FreeBSD 12.3-STABLE snapshot. (all CE 2.7.0).

      There is no ip connectivity on the lan interfaces and no associated evidence of dhcp. Wan works as expected so not likely a driver issue.

      Possible bug or regression?

      Help appreciated.

      Ted Quade

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Run ifconfig at the command line and check the bridge is being created correctly.

        Steve

        T 2 Replies Last reply Reply Quote 0
        • T
          tedquade @stephenw10
          last edited by

          @stephenw10 Following is the ifconfig output (this has been transcribed and carefully confirmed).

          bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
          description: LAN
          ether 02:97:3e:2e:3c:00
          id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
          maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
          root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
          member: igb1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
          ifmaxaddr 0 port 2 priority 128 path cost 55
          member: igb3 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
          ifmaxaddr 0 port 4 priority 128 path cost 2000000
          member: igb2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
          ifmaxaddr 0 port 3 priority 128 path cost 55
          groups: bridge
          nd6 options=1<PERFORMNUD>

          What is missing is the line as follows (taken from a functioning installation):

          inet 192.168.177.1 netmask 0xffffff00 broadcast 192.168.177.255

          Ted Quade

          1 Reply Last reply Reply Quote 0
          • T
            tedquade @stephenw10
            last edited by tedquade

            @stephenw10 I tried to set the lan / bridge0 ip address via the console option 2) and the following error was thrown (again transcribed):

            Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/rc.initial.setlanip:75
            Stack trace:
            #0 /etc/rc.initial.setlanip(364): Console_get_interface_from_ppp('bridge0')
            #1 /etc/rc.initial.setlanip(375): Console_configure_ip_address(4)
            #2 (main)
            thrown in /etc/rc.initial.setlanip on line 75
            PHP ERROR: Type: 1, File: /etc/rc.initial.setlanip, Line: 75, Message: Uncaught TypeError: Cannot access offset of type string on string in /etc/rc.initial.setlanip:75
            Stack trace:
            #0 /etc/rc.initial.setlanip(364): Console_get_interface_from_ppp('bridge0')
            #1 /etc/rc.initial.setlanip(375): Console_configure_ip_address(4)
            #2 (main)
            thrownpfsense - Netgate Device ID: (obfuscated by me)

            Ted Quade

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              @tedquade said in Bridge interface broken with upgrade:

              Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/rc.initial.setlanip:75
              Stack trace:
              #0 /etc/rc.initial.setlanip(364): Console_get_interface_from_ppp('bridge0')
              #1 /etc/rc.initial.setlanip(375): Console_configure_ip_address(4)
              #2 (main)
              thrown in /etc/rc.initial.setlanip on line 75

              Ah, nice catch!

              You didn't see any similar php errors generated trying to set it via the GUI?

              T 1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by stephenw10

                What snapshot are you running exactly? I'm failing to replicate that in the current snap.

                Edit: Rather I can replicate the console menu bug but not the main issue. Assigning it in the gui comes up as expected.

                1 Reply Last reply Reply Quote 0
                • T
                  tedquade @stephenw10
                  last edited by tedquade

                  @stephenw10 I have no lan access so no gui (see my original post).

                  Ted Quade

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Hmm, the bridge comes up with an ip address at boot for me. As I expect it to.

                    I assume you have rebooted since the upgrade and it's still failing?

                    Any errors shown in the boot log when it tries to bring up LAN?

                    Steve

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      tedquade @stephenw10
                      last edited by

                      @stephenw10 Has been rebooted and no errors during boot that I can catch. I only have the vga console access to the appliance. I have no lan access which makes for more difficult troubleshooting.

                      I have since trashed the installation and will take another run at it next week (it's Canadian Thanksgiving this weekend).

                      Ted Quade

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