• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to increase time to get DHCP lease?

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    6
    724
    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.
    • A
      asch75
      last edited by

      Hi guys,

      Hope you can help me. My current network is slow getting DHCP leases. I suspect from STP, but right now I can’t reconfigure our switches.

      Maybe it’s possible to increase the time to get a DHCP lease during the pxe boot?

      Thanks!

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @asch75
        last edited by

        @asch75 To test for a spanning tree issue place a dumb (cheap unmanaged switch) between building switch and the pxe booting computer. When you pxe boot that should mask a STP issue. This way you know for sure or not if its a problem.

        There is a ipxe boot image that delays dhcp for 10 seconds that you can try. Its in the tftpboot directory there is a folder called 10second or something like that (I’m not in front of a fog server at the moment). Try that boot file.

        If you can absolutely not fix a spanning tree issue we can look into creating a custom boot loaders. We can provide instructions for you.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        A 1 Reply Last reply Reply Quote 0
        • A
          asch75 @george1421
          last edited by

          @george1421 Thanks for your ultrafast response.
          I will try to place a dumb swith and see the results.
          Also I will try the image in /tftpboot/10secdelay/

          Thanks!!

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @asch75
            last edited by

            @asch75 I have access to a fog server now.

            So in dhcp option 67 you will want to configure into that field

            Bios: 10secdelay/undionly.kpxe
            uefi: 10secdelay/ipxe.efi

            Realize that 10 seconds is not enough for standard STP to start forwarding packet. That forwarding timeout is 27 seconds. But I’m hoping that PC boot time plus the 10 second delay will be just enough.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            A 1 Reply Last reply Reply Quote 0
            • A
              asch75 @george1421
              last edited by

              @george1421 Thanks for your support! Tested the dumb switch and… BINGO! You’re right. Mistery solved.
              I’m actively studying for CCNA right now, so I understand the STP behaviour.
              Next thing: redesign our network topology and reconfigure the cisco switch/es.

              Regards!

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @asch75
                last edited by

                @asch75 said in How to increase time to get DHCP lease?:

                Next thing: redesign our network topology and reconfigure the cisco switch/es.

                Glad you have it sorted out. All you “need” to do is enable portfast on all of the interfaces where you need to pxe boot from. As you found the dumb switch is the quickest check if its spanning tree or not. Plus with it inline you can image before you get your infrastructure updated. So it has an extra benefit.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                263

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project