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

    Either DHCP failed or we were unable to access http://(ip)/fog//index.php for connection testing

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    16
    2.9k
    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.
    • L
      Lucas Sônego
      last edited by

      I’m setting up FOG in the computer labs of my university, i already have tested in one of them, and everything works fine, but in the other one i couldn’t even register the PCs in the FOG server, im getting this error:

      alt text

      I have done some tests. That’s how the network infrastructure looks like, and the tests i did.
      alt text

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @Lucas-Sônego Please give us a bit more information on your setup. In the picture I see two FOG servers. Which IPs do those have? Is it all the same subnet? What is serving DHCP in your network? The FOG server or an “external” DHCP server?

        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

        L 1 Reply Last reply Reply Quote 0
        • L
          Lucas Sônego
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • L
            Lucas Sônego @Sebastian Roth
            last edited by Lucas Sônego

            @Sebastian-Roth This two FOG servers in the image are the same, but i tryed to show the case that it works and the cases that it doesn’t worked. All the switches are on the same subnet, the ips of that subnet: 200.236.22.129 to 254, and the DHCP is beeng served by an “external” DHCP server.

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @Lucas Sônego
              last edited by george1421

              @Lucas-Sônego So both labs have the same ip subnet?

              Both are using the same dhcp server?

              What device is your external dhcp 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!

              L 1 Reply Last reply Reply Quote 0
              • L
                Lucas Sônego @george1421
                last edited by

                @george1421 yes, both them are using the same DHCP server and the DHCP is distributed by a server machine on our network central that distribute internet to all the subnets in the university (and the image represents one of those subnets).

                george1421G 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @Lucas Sônego
                  last edited by george1421

                  @Lucas-Sônego OK very good.

                  For the lab with 43 systems. Do you have a dumb (unmanaged) switch you can use for testing? The more basic switch the better. I want you to insert that dumb switch between the building network switch and one of the pxe booting computers, then pxe boot it to see if it works for you.

                  Since this issue is impacting the entire lab and not random hosts in both labs, I’m going to suspect its a spanning tree issue, where these 43 PC lab switch have spanning tree enabled (good thing) but don’t have one of the fast spanning tree protocols (RSTP, MSTP, fast-STP) enabled (a bad thing).

                  If you don’t have a dumb switch then we can find out the issue the hard way. But inserting a dumb switch is the quickest way to test if 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!

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    Lucas Sônego @george1421
                    last edited by

                    @george1421

                    blue cable = fog server
                    white = network
                    red = pxe booting pc
                    alt text

                    alt text

                    alt text

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @Lucas Sônego
                      last edited by george1421

                      @Lucas-Sônego Ok this only creates more questions than answers.

                      In the second picture why are you getting a 192.168.1.1 IP address?

                      That TP link looks like a home router, does it have dhcp services turned on? I might think yes, If it does you need to turn it off or you will cause chaos on your campus network. But that is a good idea to use a home router switch for a dumb switch. Those should not support spanning tree.

                      The dumb switch only needs to be between the pxe booting computer and the building network. The FOG server is OK to stay on the building network since it never drops its network link.

                      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!

                      L 2 Replies Last reply Reply Quote 0
                      • L
                        Lucas Sônego @george1421
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • L
                          Lucas Sônego @george1421
                          last edited by

                          @george1421 oh, it works, i disabled the DHCP of the home router and connect the fog server back to the building network

                          george1421G 1 Reply Last reply Reply Quote 1
                          • george1421G
                            george1421 Moderator @Lucas Sônego
                            last edited by

                            @Lucas-Sônego said in Either DHCP failed or we were unable to access http://(ip)/fog//index.php for connection testing:

                            i disabled the DHCP of the home router and connect the fog server back to the building network

                            OK great. That tells us you need to get your networking team to look at the switches in the 43 system lab. They (network team) need to enable one of the fast spanning tree protocols on those switches.

                            Simply with standard spanning tree the port doesn’t start forwarding data for 27 seconds every time the network link winks. It will wink 2 times during pxe booting the first time is when the PXE rom hands over network control to the FOG iPXE menu, and the second time is when iPXE hands over the network to FOS Linux. Every time the network winks, it starts the 27 second time over again. FOG/FOS linux boots so fast by the time 27 seconds are up and the port starts forwarding data FOS has already given up. You need to use one of the fast spanning tree options in your switch so that it starts forwarding traffic right away then listens for 27 seconds for a loop back packet.

                            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!

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              Lucas Sônego @george1421
                              last edited by

                              @george1421 ok, so what the network team needs to do is enable RSTP, MSTP, or fast-STP and FOG should work?

                              george1421G 1 Reply Last reply Reply Quote 0
                              • george1421G
                                george1421 Moderator @Lucas Sônego
                                last edited by

                                @Lucas-Sônego said in Either DHCP failed or we were unable to access http://(ip)/fog//index.php for connection testing:

                                @george1421 ok, so what the network team needs to do is enable RSTP, MSTP, or fast-STP and FOG should work?

                                In a word, yes.

                                In a few more words, the lab with 23 computers is configured correctly. So if they compare the settings between the 2 switch groups they should see the solution.

                                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!

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  Lucas Sônego @george1421
                                  last edited by

                                  @george1421 ok, thanks for the help : )

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

                                    I recently ran across this same issue, but it was not due to the fast spanning tree protocols. Our IT department added 802.1x authentication on the wired ports of all our switches, but the time out to fail back to MAC authentication was just longer than the 27 seconds @george1421 referenced in his post. We had a handful of hosts work, but a large majority failed. Our IT department had to shorten the 802.1X authentication timeout in order to make this work for us.

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

                                    191

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project