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

FOG unable to PXE boot beyond the VLAN/subnet that the server is on

Scheduled Pinned Locked Moved
FOG Problems
4
14
882
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 Former User
    last edited by Aug 2, 2022, 8:58 PM

    Hello,

    I was trying to set up FOG on some HP elitedesk Windows 10 machines to capture and deploy images. But after downloading the FOG client, add the machine to the server and trying to capture its image, nothing happens.

    When I looked into the BOOT order, I noticed that the PXE boot on the machine we want to image doesn’t connect to FOG (the FOG ascii art doesn’t pop up) and our network engineers do not see any traffic between the machine and the server. From what I understand they aren’t able to ping the server from their side as well.

    Has anyone encountered something like this before?

    G 1 Reply Last reply Aug 2, 2022, 9:37 PM Reply Quote 0
    • G
      george1421 Moderator @A Former User
      last edited by Aug 2, 2022, 9:37 PM

      @rrtern There are a few gaps in what you have said you have done so far.

      Have you configured your dhcp server dhcp options 66 and 67 correctly?
      Do you get to the FOG iPXE menu at all?

      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!

      J 1 Reply Last reply Aug 3, 2022, 8:51 PM Reply Quote 0
      • J
        JaPe @george1421
        last edited by JaPe Aug 3, 2022, 2:53 PM Aug 3, 2022, 8:51 PM

        @george1421

        Hi George, I am working with Rich in our lab. Specifically we havea group of VMs on the same VLAN and subnet as the FOG server . Each time we boot to legacy ethernet on those VMs we see the FOG client menu that rich descibe. Buuut , although we have set up IP helpers on the switch when we boot physical machines on a separate VLAN/Subnet we are not getting an IP and seeing the PXE boot.

        FOG server is running on an Ubuntu server . I am not clear where to change the DHCP settings?

        G 1 Reply Last reply Aug 4, 2022, 1:51 AM Reply Quote 0
        • G
          george1421 Moderator @JaPe
          last edited by george1421 Aug 3, 2022, 7:52 PM Aug 4, 2022, 1:51 AM

          @jape said in FOG unable to PXE boot beyond the VLAN/subnet that the server is on:

          VMs we see the FOG client menu

          I’m still battling terminology here. The FOG Client is an application that gets installed on a target computer. The FOG Client is responsible for contacting the fog server post deployment for scheduled tasks. That is different than the FOG iPXE menu which is what you get to via pxe booting.

          So on both subnets what device is your dhcp server? You need to make sure the dhcp scopes for each vlan have dhcp options 66 and 67 set correctly. 66 should be the IP address of the fog server and dhcp option 67 should be undionly.kpxe for a bios computer and ipxe.efi or snp.efi for a uefi computer. FOG images correctly across subnets as long as the network packets are routable across your subnets.

          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!

          J 1 Reply Last reply Aug 4, 2022, 4:57 PM Reply Quote 0
          • J
            JaPe @george1421
            last edited by Aug 4, 2022, 4:57 PM

            @george1421 said in FOG unable to PXE boot beyond the VLAN/subnet that the server is on:

            FOG iPXE menu

            So specifically on subnet A where the FOG server is located we see the FOG iPXE menu when any system boots to network card. Everything works great . On subnet B we don’t see the FOG iPXE menu when a system boots to ethernet.

            The Fog server is a Ubuntu 18 system it is also the DHCPD server .I have not changed the option 66 or 67.

            G 1 Reply Last reply Aug 4, 2022, 5:58 PM Reply Quote 0
            • G
              george1421 Moderator @JaPe
              last edited by Aug 4, 2022, 5:58 PM

              @jape said in FOG unable to PXE boot beyond the VLAN/subnet that the server is on:

              The Fog server is a Ubuntu 18 system it is also the DHCPD server .I have not changed the option 66 or 67.

              OK now we have a direction. So can you tell me why you are using the FOG server as a dhcp server? Do you have a campus dhcp server or is FOG on a dedicated imaging network.

              The question is not as cheeky as it sounds. There are valid use cases for having FOG be the dhcp server, I just want to make sure you have one of those cases.

              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!

              J 2 Replies Last reply Aug 5, 2022, 8:13 PM Reply Quote 1
              • J
                JaPe @george1421
                last edited by Aug 5, 2022, 8:13 PM

                Thanks @george1421
                Well, we did not have a separate dhcp server in our environment when we setup FOG. So we used the same server. If this isn’t advisable we can probably move the service to another host

                G 1 Reply Last reply Aug 5, 2022, 8:18 PM Reply Quote 0
                • J
                  JaPe @george1421
                  last edited by Aug 5, 2022, 8:18 PM

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • G
                    george1421 Moderator @JaPe
                    last edited by george1421 Aug 5, 2022, 2:19 PM Aug 5, 2022, 8:18 PM

                    @jape Just to be clear you did not have a preexisting dhcp server on your site until fog was installed? Not even a router or other device that acted in place of a traditional dhcp server? its a bit strange (I feel) that you would have vlans/subnets without an existing dhcp server.

                    If this is true, no worries its pretty simple to get the remote subnets to work.

                    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!

                    J 1 Reply Last reply Aug 5, 2022, 8:22 PM Reply Quote 0
                    • J
                      JaPe @george1421
                      last edited by Aug 5, 2022, 8:22 PM

                      @george1421 ok I see. Yes, there is a separate DHCP server serving a separate range within that same subnet. So perhaps that will complicate things

                      G 1 Reply Last reply Aug 5, 2022, 8:31 PM Reply Quote 0
                      • G
                        george1421 Moderator @JaPe
                        last edited by george1421 Aug 5, 2022, 2:32 PM Aug 5, 2022, 8:31 PM

                        @jape said in FOG unable to PXE boot beyond the VLAN/subnet that the server is on:

                        So perhaps that will complicate things

                        Yes it will. dhcp works off from broadcast messages, so it communicates by sending out broadcast messages on the same vlan/network. Having 2 dhcp servers on the same network segment will cause you grief.

                        Fog can integrate into an environment where there is an existing dhcp server no problem. FOG’s internal dhcp server would be typically used if you were to setup an isolated imaging network where there was no device except the pxe booting computer and the fog server.

                        So lets start out with this, what device is your preexisting 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!

                        J 1 Reply Last reply Aug 8, 2022, 8:51 PM Reply Quote 0
                        • J
                          JaPe @george1421
                          last edited by Aug 8, 2022, 8:51 PM

                          @george1421 Thanks. The existing DHCPD server is not adminstrated by us. Its managed somewhere else by another group. I can reserve a certian segment of the range , but thats about it It sounds like maybe it will be simpler to have a separate FOG server in each subnet.

                          G 1 Reply Last reply Aug 8, 2022, 9:05 PM Reply Quote 0
                          • G
                            george1421 Moderator @JaPe
                            last edited by george1421 Aug 8, 2022, 3:11 PM Aug 8, 2022, 9:05 PM

                            @jape Do you have control of your subnet router? If yes can you add a dhcp server (fog server’s IP address) to the dhcp-helper/relay service in the router?

                            The thought is to provide just pxe boot info we will use dnsmasq. The only thing is if you have multiple ip subnets, the dnsmasq service needs to hear the pxe boot request. It will only provide pxe boot info everything else comes from your main dhcp server. We use this method when the dhcp server can’t be modified or is broken and can’t provide the proper pxe boot info.

                            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
                            • D
                              DBCountMan
                              last edited by Aug 10, 2022, 12:47 PM

                              @rrtern Just wondering, did you create a route between the two subnets? The firewall(s) may also need rules to allow pxe, http, and tftp traffic between those subnets. I didn’t see anything mentioned about routes so that’s why I asked. For instance in pfsense, by default different VLANs can communicate with each other. But at my job’s network environment they have to create routes so that vlans and subnets can communicate.

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

                              201

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project