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

    Keep loosing WAN IP Address - dhclient does not seem to do update

    Scheduled Pinned Locked Moved DHCP and DNS
    199 Posts 27 Posters 112.4k 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.
    • S
      sullrich
      last edited by

      Can someone else please test?  This absolutely works for me after 20 hours when normally it would break in 30 minutes…

      1 Reply Last reply Reply Quote 0
      • K
        Krakke
        last edited by

        @sullrich:

        Can someone else please test?  This absolutely works for me after 20 hours when normally it would break in 30 minutes…

        Works fine for me, only lost my ip 2 times, and that was before the latest snapshot.

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by

          @Krakke:

          Works fine for me, only lost my ip 2 times, and that was before the latest snapshot.

          Great!  Almost started to go insane, because I know this fixed my issue.  Please, someone else test?

          1 Reply Last reply Reply Quote 0
          • K
            Krakke
            last edited by

            @sullrich:

            @Krakke:

            Works fine for me, only lost my ip 2 times, and that was before the latest snapshot.

            Great!  Almost started to go insane, because I know this fixed my issue.  Please, someone else test?

            Im sorry sullrich, went out for a while, when i came back

            Feb 21 20:01:24 dhclient[300]: DHCPREQUEST on fxp0 to 172.21.249.50 port 67
            Feb 21 20:01:24 dhclient[300]: DHCPACK from 172.21.249.50
            Feb 21 20:01:24 dhclient[300]: short write: wanted 21 got 0 bytes
            Feb 21 20:01:24 dhclient[300]: short write: wanted 21 got 0 bytes
            Feb 21 20:01:24 dhclient[300]: exiting.
            Feb 21 20:01:24 dhclient[300]: exiting.

            1 Reply Last reply Reply Quote 0
            • H
              hoba
              last edited by

              Atm there is a workaround in pllace that will restart the dhclient when it exits. Does it get restarted?

              1 Reply Last reply Reply Quote 0
              • K
                Krakke
                last edited by

                @hoba:

                Atm there is a workaround in pllace that will restart the dhclient when it exits. Does it get restarted?

                Nope at 20:01:24 it exited, at 21:01 i lost my ip, then i had to do a renew.

                1 Reply Last reply Reply Quote 0
                • S
                  sullrich
                  last edited by

                  It can take up to 5 minutes to restart dhclient depending on if check_reload_status is running.

                  So if you still have trouble please check that check_reload_status is running from a shell by doing:

                  ps awux | grep check_reload_status

                  Also, cat /etc/crontab | grep check

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by

                    I found yet another problem.  This WAN DHCP issue has been nothing but fun!

                    Try out a recent snapshot atleast an hour from now.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Selective
                      last edited by

                      damn! snapshot 02-21 is not working  :'( :'( :'(
                      –----------------

                      Feb 22 20:02:39 dhclient[283]: exiting.
                      Feb 22 20:02:39 dhclient[283]: exiting.
                      Feb 22 20:02:39 dhclient[283]: short write: wanted 21 got 0 bytes
                      Feb 22 20:02:39 dhclient[283]: short write: wanted 21 got 0 bytes
                      Feb 22 20:02:39 dhclient[283]: DHCPACK from 90.224.168.1
                      Feb 22 20:02:39 dhclient[283]: DHCPREQUEST on rl0 to 255.255.255.255 port 67
                      Feb 22 19:59:46 last message repeated 5 times
                      Feb 22 19:56:08 last message repeated 6 times
                      Feb 22 19:54:11 last message repeated 4 times
                      Feb 22 19:53:39 dhclient[283]: DHCPREQUEST on rl0 to 213.67.15.234 port 67
                      Feb 22 19:44:03 php: : FTP proxy disabled for interface opt2 - ignoring.
                      Feb 22 19:44:03 php: : FTP proxy disabled for interface opt1 - ignoring.
                      Feb 22 19:44:03 php: : FTP proxy disabled for interface LAN - ignoring.
                      Feb 22 19:44:02 check_reload_status: reloading filter

                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by

                        @Selective:

                        damn! snapshot 02-21 is not working  :'( :'( :'(

                        Yes the problem still exists and we have been racking our brains out – literally.

                        1 Reply Last reply Reply Quote 0
                        • S
                          sullrich
                          last edited by

                          Please try http://snapshots.pfsense.com/FreeBSD6/RELENG_1/updates/pfSense-Full-Update-1.0.1-SNAPSHOT-02-21-2007.tgz

                          1 Reply Last reply Reply Quote 0
                          • S
                            Selective
                            last edited by

                            Sorry, not working either (snap 02-21)

                            –----------------------

                            Feb 24 05:03:45 dhclient[282]: exiting.
                            Feb 24 05:03:45 dhclient[282]: exiting.
                            Feb 24 05:03:45 dhclient[282]: short write: wanted 21 got 0 bytes
                            Feb 24 05:03:45 dhclient[282]: short write: wanted 21 got 0 bytes
                            Feb 24 05:03:45 dhclient[282]: DHCPACK from 90.224.168.1
                            Feb 24 05:03:45 dhclient[282]: DHCPREQUEST on rl0 to 255.255.255.255 port 67
                            Feb 24 05:02:41 last message repeated 4 times
                            Feb 24 04:58:09 last message repeated 3 times
                            Feb 24 04:56:02 last message repeated 3 times
                            Feb 24 04:55:34 dhclient[282]: DHCPREQUEST on rl0 to 213.67.15.234 port 67
                            Feb 24 04:45:58 php: : FTP proxy disabled for interface opt2 - ignoring.
                            Feb 24 04:45:58 php: : FTP proxy disabled for interface opt1 - ignoring.
                            Feb 24 04:45:58 php: : FTP proxy disabled for interface LAN - ignoring.
                            Feb 24 04:45:56 check_reload_status: reloading filter

                            1 Reply Last reply Reply Quote 0
                            • S
                              sullrich
                              last edited by

                              At this point reinstall.  My dhclient has been rock solid for over 24 hours!

                              1 Reply Last reply Reply Quote 0
                              • S
                                Selective
                                last edited by

                                mine to, but only after i pushed the renew button the first time it died, strange

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sullrich
                                  last edited by

                                  Make that 48 hours.  And Vescovo has been running it for 48 hours on 2 wans with 180 second renewal time.

                                  This issue is fixed for sure and verified now by 3 different people.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Selective
                                    last edited by

                                    Thats nice to hear =)

                                    But just one thing, could you reboot your pfsense and monitor it again ?

                                    My issue always come after a while when pfsense is rebooted, and the issue disappears after i push the renew button.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sullrich
                                      last edited by

                                      Yes, it has been rebooted once.

                                      1 Reply Last reply Reply Quote 0
                                      • Y
                                        yoda715
                                        last edited by

                                        Mine has been steady for the last 2 days as well.

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          ThomasF
                                          last edited by

                                          I also get the dhcp problem only one time after each boot.
                                          I have also been losing functionality of the DNS forwarder since upgrading to 1.0.2-0221 from 1.0.1 but that seems to have vanished since I started out with a fresh config.

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            Selective
                                            last edited by

                                            as i said, happens one time after reboot, then press renew and the issue disappears,
                                            there is something magic about the renew button that doesn´t happen in the reboot process =)

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