• 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.
    • J
      JaPe @george1421
      last edited by

      @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.

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

        @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 Reply Quote 1
        • J
          JaPe @george1421
          last edited by

          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

          george1421G 1 Reply Last reply Reply Quote 0
          • J
            JaPe @george1421
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @JaPe
              last edited by george1421

              @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 Reply Quote 0
              • J
                JaPe @george1421
                last edited by

                @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

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

                  @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 Reply Quote 0
                  • J
                    JaPe @george1421
                    last edited by

                    @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.

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

                      @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

                        @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
                        • First post
                          Last post

                        142

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project