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

Unable to re-issue static IP to awakening client without pfsense reboot

Scheduled Pinned Locked Moved DHCP and DNS
17 Posts 3 Posters 8.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.
  • W
    wallabybob
    last edited by May 2, 2012, 7:50 AM

    @cmb:

    On the link recovery, is it going into a constant state of link down/up there? Seems to do that at least once but not sure if it's more than that.

    Earlier reply says @Pennyless:

    The following pattern repeats without ending about every 7 seconds.
    Network connection is established for about 2 seconds then lost for 5, over and over.

    which strongly suggests to me its more than once.

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by May 2, 2012, 8:00 AM

      Ah yeah I didn't see that. The problem at one point in the past was the Intel drivers cycle link when you add an interface to a bridge, which then causes the interface to be added back to the bridge, which cycles link, which causes the interface to be added to the bridge, and repeats the process over and over endlessly. Though the OP makes no mention of which version, 2.0 and 2.0.1 release versions shouldn't exhibit this behavior. We ran into that scenario on a customer's system pre-2.0 release and fixed it prior to release.

      1 Reply Last reply Reply Quote 0
      • P
        Pennyless
        last edited by May 2, 2012, 4:12 PM May 2, 2012, 3:50 PM

        @cmb:

        Ah yeah I didn't see that. The problem at one point in the past was the Intel drivers cycle link when you add an interface to a bridge, which then causes the interface to be added back to the bridge, which cycles link, which causes the interface to be added to the bridge, and repeats the process over and over endlessly. Though the OP makes no mention of which version, 2.0 and 2.0.1 release versions shouldn't exhibit this behavior. We ran into that scenario on a customer's system pre-2.0 release and fixed it prior to release.

        Thank you

        Version 2.0.1
        Intel Pro 16.8 drivers
        This behavior accurately discribes the issue.
        Is there anything that I can do to resolve this cycling, short of rebooting pfSense every time a client is awakened?

        1 Reply Last reply Reply Quote 0
        • W
          wallabybob
          last edited by May 2, 2012, 11:18 PM

          @Pennyless:

          Is there anything that I can do to resolve this cycling, short of rebooting pfSense every time a client is awakened?

          Are you able to try my suggestion in reply 5?

          1 Reply Last reply Reply Quote 0
          • P
            Pennyless
            last edited by May 2, 2012, 11:22 PM

            Thank you, not yet.
            But it's underway.
            Take a couple of days.

            1 Reply Last reply Reply Quote 0
            • P
              Pennyless
              last edited by May 3, 2012, 2:38 AM May 3, 2012, 2:17 AM

              @wallabybob:

              @Pennyless:

              Is there anything that I can do to resolve this cycling, short of rebooting pfSense every time a client is awakened?

              Are you able to try my suggestion in reply 5?

              As you recommended, a switch was placed between the pfSense nic and a Server.
              This test was accomplished with 1 to 5 dis-similar servers, individually and concurrently.
              In each case all servers operated correctly with no "nic linkup cycling" whatsoever.
              Every configuration we could think of performed correctly.
              Each client device was cycled from a cold shutdown to a stable connection numerous times with static IP assignment, dynamic IP assignment, and "statically mapped" dynamic assignment.
              We were completely unable to reproduce the "cycling" with an intermediate switch in place.

              However immediately upon removal of the recommended switch, the exact same previous behavior returned.

              We need these servers connected directly to the pfSense bridge nics without intermediate switches.
              That should be a perfectly acceptable configuration because on a cold startup everything does exactly what it is suppose to do and no "cycling" occurs.   So it does work without a switch.  Just not on a restart of any of the client devices.

              Do you have any ideas how to stop this "cycling" upon reconnect?

              Thank you!

              1 Reply Last reply Reply Quote 0
              • W
                wallabybob
                last edited by May 3, 2012, 5:21 AM

                @Pennyless:

                We need these servers connected directly to the pfSense bridge nics without intermediate switches.

                Why? If readers know a bit more about your requirements they might be better able to suggest a solution.

                @Pennyless:

                Do you have any ideas how to stop this "cycling" upon reconnect?

                1. Unfortunately you have already rejected what seemed to me (in my ignorance of the nuances of your requirements) a quite workable solution.

                2. The log reports @Pennyless:

                08:52:36  php: : rc.newwanip: Informational is starting em13.
                08:52:36  php: : rc.newwanip: on (IP address: ) (interface: opt24) (real interface: em13).
                08:52:36  php: : rc.newwanip: Failed to update opt24 IP, restarting…

                The section of /etc/rc.newwanip that reports this reads:```
                if($curwanip == "0.0.0.0" || !is_ipaddr($curwanip)) {
                        log_error("rc.newwanip: Failed to update {$interface} IP, restarting...");
                        send_event("interface reconfigure {$interface}");
                        exit;
                }

                
                > 08:52:31  php: : Hotplug event detected for opt24 but ignoring since interface is configured with static IP ()
                
                which might imply the interface has an "empty" IP address. At this point I'm thinking its not a good use of my volunteer time to pursue this any further especially when I have a couple of still unresolved pfSense issues of my own.
                
                3\. Wait for another reader to come up with a solution.
                
                4\. File a pfSense bug report on [http://redmine.pfsense.org](http://redmine.pfsense.org)
                
                5\. Offer a bounty to have it fixed
                
                6\. Purchase pfSense support
                
                etc.
                1 Reply Last reply Reply Quote 0
                • C
                  cmb
                  last edited by May 3, 2012, 10:44 AM

                  Disabling the link up actions entirely may suffice for your scenario, check the source where wallabybob gave you some pointers.

                  1 Reply Last reply Reply Quote 0
                  • P
                    Pennyless
                    last edited by May 3, 2012, 1:39 PM

                    OK, understood.
                    Thank you both again for your time.

                    I apologize for not making our requirements clear.

                    We simply needed to connect a static IP server directly to a bridged subnet within our pfSense box, shut the server down in the evening, and wake it up in the AM…without restarting pfSense.

                    1 Reply Last reply Reply Quote 0
                    • P
                      Pennyless
                      last edited by May 14, 2012, 12:00 AM May 13, 2012, 11:59 PM

                      For anyone else having trouble with this particular cycling nic issue, this problem has been previously documented.
                      It was marked as resolved 2 months ago by Chris Buechler.
                      Just as this thread indicates;

                      http://redmine.pfsense.org/issues/1572

                      The only solution in my particular case was setting the "Speed and Duplex to nothing other than "default"."
                      All cycling vanished.

                      v2.0.1

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