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

    DHCP(DHCLIENT) on wan Unusable

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    10 Posts 4 Posters 5.2k 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.
    • N
      NiteSnow
      last edited by

      ========================================================================
      Version: 2.0-RC1 (i386) built on Sun Mar 20 18:27:34 EDT 2011
      ARCH: i386(32bit)
      Dual Port Gigabit IBM(broadcom) Nic
      bge0@pci0:0:13:0:      class=0x020000 card=0x164814e4 chip=0x164814e4 rev=0x10 hdr=0x00
      bge1@pci0:0:13:1:      class=0x020000 card=0x164814e4 chip=0x164814e4 rev=0x10 hdr=0x00

      When I unplug/restart my modem from Ethernet my network card wont pull an ip via dhcp anymore the interface constantly goes up and down it's completely unstable and requires me to restart my pfsense box every time I restart/unplug my modem from Ethernet to even make it stick but static assignments like lan work fine

      1 Reply Last reply Reply Quote 0
      • J
        jrfranklin
        last edited by

        I've seen the same problem, can't give exact builds as I'm not at home, but the install at my parents house I believe is currently experiencing the same problem. I work for their ISP, and I'm watching the pfSense install renew DHCP about every 10 seconds. I'm heading over there after work to check on it. I'll post more details later, and then next week at home do some testing to reproduce the issue and see if I can narrow down what's happening.

        1 Reply Last reply Reply Quote 0
        • E
          eri--
          last edited by

          Can you post your system logs?

          1 Reply Last reply Reply Quote 0
          • N
            NiteSnow
            last edited by

            There's nothing in the system logs pertaining to it, that's why I'm asking here. It seems the interface goes up and down and if I do something like dhclient bge1 when it's going up and down it attempts to grab an ip and the interface goes down again. There seems to be a cross build issue because I've had this problem and have been constantly updating for two months now.

            1 Reply Last reply Reply Quote 0
            • E
              eri--
              last edited by

              Post it and let me decide no?

              1 Reply Last reply Reply Quote 0
              • N
                NiteSnow
                last edited by

                Here is the output after I recreated the problem this log clears after reboot(at least in the webui) that's why it didn't say anything

                Mar 23 00:09:32 check_reload_status: reloading filter
                Mar 23 00:09:33 php: : Gateways status could not be determined, considering all as up/active.
                Mar 23 00:09:33 php: : Could not find gateway for interface(wan).
                Mar 23 00:09:33 php: : Could not find gateway for interface(wan).
                Mar 23 00:09:33 check_reload_status: Linkup starting bge1
                Mar 23 00:09:33 kernel: arpresolve: can't allocate llinfo for Ga.Te.Wa.y
                Mar 23 00:09:33 kernel: bge1: link state changed to UP
                Mar 23 00:09:33 php: : DEVD Ethernet attached event for wan
                Mar 23 00:09:33 kernel: arpresolve: can't allocate llinfo for Ga.Te.Wa.y
                Mar 23 00:09:33 php: : HOTPLUG: Configuring interface wan
                Mar 23 00:09:34 dhclient: PREINIT
                Mar 23 00:09:34 dhclient[47008]: DHCPREQUEST on bge1 to 255.255.255.255 port 67
                Mar 23 00:09:34 dhclient[47008]: DHCPACK from Cbl.ISP.CM.TS
                Mar 23 00:09:34 dhclient: REBOOT
                Mar 23 00:09:34 dhclient: Starting add_new_address()
                Mar 23 00:09:34 dhclient: ifconfig bge1 inet My.IP.Add.y netmask 255.255.240.0 broadcast 255.255.255.255
                Mar 23 00:09:34 dhclient: New IP Address (bge1): My.IP.Add.y
                Mar 23 00:09:34 dhclient: New Subnet Mask (bge1): 255.255.240.0
                Mar 23 00:09:34 dhclient: New Broadcast Address (bge1): 255.255.255.255
                Mar 23 00:09:34 dhclient: New Routers (bge1): Ga.Te.Wa.y
                Mar 23 00:09:34 dhclient: Adding new routes to interface: bge1
                Mar 23 00:09:34 dhclient: /sbin/route add default Ga.Te.Wa.y
                Mar 23 00:09:34 dhclient: Creating resolv.conf
                Mar 23 00:09:34 check_reload_status: rc.newwanip starting bge1
                Mar 23 00:09:34 dhclient[47008]: bound to My.IP.Add.y – renewal in 12096 seconds.
                Mar 23 00:09:34 php: : rc.newwanip: Informational is starting bge1.
                Mar 23 00:09:34 php: : rc.newwanip: on (IP address: My.IP.Add.y) (interface: wan) (real interface: bge1).
                Mar 23 00:09:36 check_reload_status: Linkup starting bge1
                Mar 23 00:09:36 kernel: bge1: link state changed to DOWN
                Mar 23 00:09:36 php: : Static Routes: Gateway IP could not be found for 192.168.100.0/26
                Mar 23 00:09:36 php: : DEVD Ethernet detached event for wan
                Mar 23 00:09:36 dhclient[63918]: connection closed
                Mar 23 00:09:36 dhclient[63918]: connection closed
                Mar 23 00:09:36 dhclient[63918]: exiting.
                Mar 23 00:09:36 dhclient[63918]: exiting.
                Mar 23 00:09:37 check_reload_status: reloading filter
                Mar 23 00:09:37 apinger: Starting Alarm Pinger, apinger(13101)
                Mar 23 00:09:37 apinger: No usable targets found, exiting
                Mar 23 00:09:38 php: : Gateways status could not be determined, considering all as up/active.
                Mar 23 00:09:38 php: : Could not find gateway for interface(wan).
                Mar 23 00:09:38 php: : Could not find gateway for interface(wan).
                Mar 23 00:09:39 check_reload_status: Linkup starting bge1
                Mar 23 00:09:39 kernel: arpresolve: can't allocate llinfo for Ga.Te.Wa.y
                Mar 23 00:09:39 kernel: bge1: link state changed to UP
                Mar 23 00:09:39 dhclient: PREINIT
                Mar 23 00:09:39 dhclient[9170]: DHCPREQUEST on bge1 to 255.255.255.255 port 67
                Mar 23 00:10:35 dhclient[30570]: DHCPACK from Cbl.ISP.CM.TS
                Mar 23 00:10:35 php: : DEVD Ethernet attached event for wan
                Mar 23 00:10:35 dhclient: REBOOT
                Mar 23 00:10:35 dhclient: Starting add_new_address()
                Mar 23 00:10:35 dhclient: ifconfig bge1 inet My.IP.Add.y netmask 255.255.240.0 broadcast 255.255.255.255
                Mar 23 00:10:35 dhclient: New IP Address (bge1): My.IP.Add.y
                Mar 23 00:10:35 php: : HOTPLUG: Configuring interface wan
                Mar 23 00:10:35 dhclient: New Subnet Mask (bge1): 255.255.240.0
                Mar 23 00:10:35 dhclient: New Broadcast Address (bge1): 255.255.255.255
                Mar 23 00:10:35 dhclient: New Routers (bge1): Ga.Te.Wa.y
                Mar 23 00:10:35 dhclient: Adding new routes to interface: bge1
                Mar 23 00:10:35 dhclient: /sbin/route add default Ga.Te.Wa.y
                Mar 23 00:10:35 dhclient: Creating resolv.conf
                Mar 23 00:10:35 php: : The command '/sbin/dhclient -c /var/etc/dhclient_wan.conf bge1 > /tmp/bge1_output > /tmp/bge1_error_output' returned exit code '15', the output was ''
                Mar 23 00:10:35 check_reload_status: rc.newwanip starting bge1
                Mar 23 00:10:35 dhclient[32640]: short write: wanted 12 got 0 bytes
                Mar 23 00:10:35 dhclient[32640]: short write: wanted 12 got 0 bytes
                Mar 23 00:10:35 dhclient[32640]: exiting.
                Mar 23 00:10:35 dhclient[32640]: exiting.
                Mar 23 00:10:36 php: : rc.newwanip: Informational is starting bge1.
                Mar 23 00:10:36 php: : rc.newwanip: on (IP address: ) (interface: wan) (real interface: bge1).
                Mar 23 00:10:36 php: : rc.newwanip: Failed to update wan IP, restarting…
                Mar 23 00:10:36 check_reload_status: configuring interface wan
                Mar 23 00:10:36 check_reload_status: Linkup starting bge1
                Mar 23 00:10:36 kernel: bge1: link state changed to DOWN
                Mar 23 00:10:37 php: : DEVD Ethernet detached event for wan

                1 Reply Last reply Reply Quote 0
                • N
                  NiteSnow
                  last edited by

                  Has any progress been made on this problem yet ?

                  1 Reply Last reply Reply Quote 0
                  • N
                    NiteSnow
                    last edited by

                    Thanks for fixing this.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jrfranklin
                      last edited by

                      @NiteSnow:

                      Thanks for fixing this.

                      What build are you running? Mine needed to be restarted this morning due to a brief storm related service outage. I think I'm a few days behind current though.

                      1 Reply Last reply Reply Quote 0
                      • J
                        jmckenna7
                        last edited by

                        Was this fixed?  I have been experiencing the issue described above as well.  Currently on build:
                        2.0-RC3 (i386)
                        built on Sun Aug 7 01:58:01 EDT 2011

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