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

FOG DHCP problems with possible printer interference?

Scheduled Pinned Locked Moved Unsolved
FOG Problems
5
26
7.3k
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
    afriedman
    last edited by Dec 20, 2016, 5:10 PM

    Server
    • FOG Version: 1.3.0-RC-37
    • SVN Revision: 6049
    • OS: Ubuntu 14.04
    • DHCP is running on: Windows Server 2008 R2 Standard

    Hi Fog Community! Happy Holidays!

    I’ve scoured the forums in hope for an answer, but I’m coming up short.

    My FOG server has no problem with some computers on our domain, but I keep getting this error on most of them that are in a different part of the building:

    http://imgur.com/a/ZMuDD

    I looked up that error on the ipxe.org website, and it told me to run a couple commands in the iPXE shell:

    ifconf

    and

    ifconf -c dhcp net0

    After I ran these commands, I get these positive responses:

    http://imgur.com/a/IcdqV

    So when I type ‘exit’ in the iPXE shell, it exits out and immediately boots to the FOG boot menu! Amazing!!

    I may have saw 1 other post on the forums where someone had a similar problem with these DHCP issues, and found that one of their Xerox printers was the problem. We do have multiple Xerox printers in our building, including 1 that is close to the computer in the pictures I provided.

    Any idea what is going on here?

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Dec 20, 2016, 6:25 PM

      What is DHCP option 067 set to in your dhcp server? If it’s not undionly.kkpxe (note the two Ks), then set it as this and give it a whirl.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • A
        afriedman
        last edited by Dec 20, 2016, 8:10 PM

        Hey Wayne! Thanks for the reply.

        I originally had the 067 option set to undionly.kpxe, but I just tried your suggestion and it did work on that computer.

        BUT, I tried booting from a computer next to the cubicle of the computer that worked, and I got a different error this time: No DHCP or proxyDHCP offers were received.

        Looks like we’re getting much closer. Any idea what the next step would be?

        T 1 Reply Last reply Dec 20, 2016, 8:29 PM Reply Quote 0
        • T
          Tom Elliott @afriedman
          last edited by Dec 20, 2016, 8:29 PM

          @afriedman that would lead me one of two things.first a rogue DHCP server, second there is something separating the network between those two systems.

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • G
            george1421 Moderator
            last edited by george1421 Dec 20, 2016, 2:34 PM Dec 20, 2016, 8:33 PM

            This appears to be a spanning tree issue to me. Initially the workstation gets a DHCP address because it’s pxe booting and the iPXE kernel makes it to the target, but that’s when things goes sideways. iPXE can not pick up a dhcp address and it fails. BUT if you issue a few commands in the iPXE kernel you have the FOG menu.

            What is happening here is that PXE boots, and then when the iPXE kernel starts up it winks (monetarily turns off and on the network link) which causes the switch to start the spanning tree counter again. The port will stay in a listening state for 27 seconds then start forwarding data. To lighting fast FOG, 27 seconds is an eternity. FOG has already given up and gone to sleep by the time STP starts forwarding data. This is a function of the switch and not the PC or any of FOG’s sub-components.

            A quick check for spanning tree issues is to just put a dumb (unmanaged) switch between the building switch and the pxe booting computer. If the target computer boots to the fog menu then you found the issue.

            Now fixing the issue, you need to turn on one of the fast STP protocols like (fastSTP, portfast, RSTP) to eliminate this issue while keeping the benefits of spanning tree enabled.

            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
            • A
              afriedman
              last edited by Dec 20, 2016, 8:35 PM

              Hey Tom.

              “A rogue DHCP server”. I don’t see a second DHCP server anywhere on our network, that I’m aware of. Is wireshark one of the only ways to see if there’s a rogue/secret DHCP server hiding somewhere?

              I think there’s a switch in between, but if I even find that switch, would I have to do any type of forwarding with that?

              G 1 Reply Last reply Dec 20, 2016, 8:38 PM Reply Quote 0
              • G
                george1421 Moderator @afriedman
                last edited by george1421 Dec 20, 2016, 2:38 PM Dec 20, 2016, 8:38 PM

                @afriedman said in FOG DHCP problems with possible printer interference?:

                Hey Tom.

                “A rogue DHCP server”. I don’t see a second DHCP server anywhere on our network, that I’m aware of. Is wireshark one of the only ways to see if there’s a rogue/secret DHCP server hiding somewhere?

                Yes, wireshark will tell you this. Since dhcp is broadcast traffic, you just need to attach your wireshark computer the subnet where your target computer is and then set your filters for port 67 and port 68 then pxe boot your target computer. You will see a “DHCP Offer” packets from all of the dhcp servers that can hear the initial client dhcp request.

                But in this case I still think its a spanning tree issue.

                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
                • A
                  afriedman
                  last edited by Dec 20, 2016, 8:40 PM

                  @george1421 Spanning tree issue? Please explain.

                  G 1 Reply Last reply Dec 20, 2016, 8:41 PM Reply Quote 0
                  • G
                    george1421 Moderator @afriedman
                    last edited by george1421 Dec 20, 2016, 2:42 PM Dec 20, 2016, 8:41 PM

                    @afriedman said in FOG DHCP problems with possible printer interference?:

                    @george1421 Spanning tree issue? Please explain.

                    I thought I did in my first post??

                    If you are not using a fast spanning tree protocol the switch port won’t start transmitting data until 27 seconds after the link comes up.

                    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
                    • G
                      george1421 Moderator
                      last edited by Dec 20, 2016, 8:45 PM

                      @Joe-Schmitt I think that Sebastian was working on one too using node-js. I’m not sure if is the same one you were working on or not.

                      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
                      • A
                        afriedman
                        last edited by Dec 20, 2016, 8:45 PM

                        @george1421 sorry I didn’t see your original post - ill look at that.

                        @Joe-Schmitt sounds good. I’ll be waiting for your answer.

                        1 Reply Last reply Reply Quote 0
                        • A
                          afriedman
                          last edited by Dec 20, 2016, 8:49 PM

                          @Joe-Schmitt Thank you very much for this program.

                          When I run this program, I should then turn on a different machine in the same area and look at the results on the computer where im running your program?

                          1 Reply Last reply Reply Quote 0
                          • J
                            Joe Schmitt Senior Developer
                            last edited by Joe Schmitt Dec 20, 2016, 2:50 PM Dec 20, 2016, 8:50 PM

                            @afriedman Nope, the program will simulate a computer booting up requesting PXE information and capture who responds and with what.

                            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            1 Reply Last reply Reply Quote 0
                            • A
                              afriedman
                              last edited by Dec 20, 2016, 8:51 PM

                              @Joe-Schmitt Ahhhhhh okay. I’ll let you know the results very soon!

                              1 Reply Last reply Reply Quote 0
                              • G
                                george1421 Moderator
                                last edited by george1421 Dec 20, 2016, 2:57 PM Dec 20, 2016, 8:56 PM

                                @Joe-Schmitt Side note: it will need to capture at least two if not more offers from dhcp servers. If we are running dnsmasq you will get two offers right away one from the dhcp server and one from the dhcpProxy server.

                                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
                                • A
                                  afriedman
                                  last edited by afriedman Dec 20, 2016, 3:12 PM Dec 20, 2016, 9:11 PM

                                  @Joe-Schmitt

                                  http://imgur.com/a/y57wR

                                  The bottom image is the first half, and the top image is the second half.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    afriedman
                                    last edited by Dec 20, 2016, 9:27 PM

                                    @Joe-Schmitt You weren’t expecting that outcome? Lol interesting.

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      afriedman
                                      last edited by Dec 20, 2016, 9:37 PM

                                      @Joe-Schmitt Oh alright. Well it’s a pretty neat program.

                                      @george1421 I’m going to try to talk to Cisco Technical Support either today or tomorrow about having them remote into our switch and turn on one of the fast STP protocols. I’ll let you know the results, unless you’d prefer I do something else before talking to Cisco.

                                      george1421G 2 Replies Last reply Dec 20, 2016, 9:43 PM Reply Quote 0
                                      • george1421G
                                        george1421 Moderator @afriedman
                                        last edited by Dec 20, 2016, 9:43 PM

                                        @afriedman As I said, if you place the dumbest switch you can find (that’s still functional) between your cisco switch and the target computer. Then pxe boot the target computer, if you can get to the fog menu where you couldn’t without the dumb switch, then its most likely a spanning tree issue.

                                        I can say typically they would turn on one of the fast STP protocols by default (just for this reason). There have been documented cases of target computers not getting dhcp addresses because of this.

                                        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
                                        • george1421G
                                          george1421 Moderator @afriedman
                                          last edited by Dec 20, 2016, 10:05 PM

                                          @afriedman We’ll just taking with Joe through chat. What he’s seeing and what I thought I say was too different things.

                                          It would be helpful if you can capture a pcap of the pxe booting process.

                                          Please do the following (assuming your fog server, dhcp server, and pxe booting clinet are on the same subnet).

                                          1. Install tcpdump on your fog server
                                          2. Launch the tcpdump program with this command tcpdump -w output.pcap port 67 or port 68 or port 69 or port 4011
                                          3. PXE boot the target computer until you get the error
                                          4. Press ctrl-c to exit out of the tcpdump program
                                          5. Upload the pcap file here for review.

                                          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 1
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            4/26
                                            Last post

                                          152

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project