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

    How to configure DHCP Proxy?

    Scheduled Pinned Locked Moved
    General
    5
    32
    19.5k
    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

      here is the pcap file:
      [url]https://copy.com/iH3hRuI7Xcb6dfnY[/url]

      I forgot to mention that the remote host is a vm, and the network interface configured as a bridge

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        The problem is that the client is asking for the wrong file.

        It’s asking for pxelinux.0 which is not only wrong, but according to your screenshot that file does not exist - for real.

        Re-examine ltsp.conf, make sure it’s giving either undionly.kpxe or undionly.0 and also restart the dnsmasq service and try again.

        1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          Also,

          I’m not seeing a packet sent from 10.0.0.210 telling the client to use undionly.0, or 10.0.0.210 as the next-server…

          If you look at the capture you posted, there are a total of TWO packets sent from the FOG server to the client.

          This might mean that the DHCP server is already handing out the boot-server and file name, options 066 and 067.

          Do you have a network hub? (not a switch)

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            here is my ltsp.conf file:

            [CODE]port=0
            log-dhcp
            tftp-root=/tftpboot
            dhcp-boot=undionly.kpxe,10.0.0.210,10.0.0.210
            dhcp-option=17,/images
            dhcp-option=vendor:PXEClient,6,2b
            dhcp-no-override
            pxe-prompt=“Press F8 for boot menu”, 0
            pxe-service=X86PC, “Boot from network”, pxelinux
            pxe-service=X86PC, “Boot from local hard disk”, 0
            dhcp-range=10.0.0.210,proxy
            [/CODE]

            I dont have a network hub.
            again, I’m running the client under virtual box. does it matter?

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              Change
              [code]port=0
              log-dhcp
              tftp-root=/tftpboot
              dhcp-boot=undionly.kpxe,10.0.0.210,10.0.0.210
              dhcp-option=17,/images
              dhcp-option=vendor:PXEClient,6,2b
              dhcp-no-override
              pxe-prompt=“Press F8 for boot menu”, 0
              pxe-service=X86PC, “Boot from network”, pxelinux
              pxe-service=X86PC, “Boot from local hard disk”, 0
              dhcp-range=10.0.0.210,proxy[/code]

              To:

              [code]port=0
              log-dhcp
              tftp-root=/tftpboot
              dhcp-boot=undionly.kpxe,10.0.0.210,10.0.0.210
              dhcp-option=17,/images
              dhcp-option=vendor:PXEClient,6,2b
              dhcp-no-override
              pxe-prompt=“Press F8 for boot menu”, 0
              pxe-service=X86PC, “Boot from network”, undionly.kpxe
              pxe-service=X86PC, “Boot from local hard disk”, 0
              dhcp-range=10.0.0.210,proxy[/code]

              Then make a copy of the undionly.kpxe to undionly.kpxe.0

              [code]sudo cp /tftpboot/undionly.kpxe /tftpboot/undionly.kpxe.0[/code]

              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
              • Jaymes DriverJ
                Jaymes Driver Developer
                last edited by

                [quote=“Amit Madmoni, post: 45626, member: 29386”]here is my ltsp.conf file:

                [CODE]port=0
                log-dhcp
                tftp-root=/tftpboot
                dhcp-boot=undionly.kpxe,10.0.0.210,10.0.0.210
                dhcp-option=17,/images
                dhcp-option=vendor:PXEClient,6,2b
                dhcp-no-override
                pxe-prompt=“Press F8 for boot menu”, 0
                pxe-service=X86PC, “Boot from network”, pxelinux
                pxe-service=X86PC, “Boot from local hard disk”, 0
                dhcp-range=10.0.0.210,proxy
                [/CODE]

                I dont have a network hub.
                again, I’m running the client under virtual box. does it matter?[/quote]

                Did you restart the service after inserting the LTSP.conf file?

                you need to successfully restart the service for your updated LTSP.conf file to be of any use to dnsmasq.

                WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman
                    last edited by

                    [quote=“Tom Elliott, post: 45628, member: 7271”]Change
                    [code]port=0
                    log-dhcp
                    tftp-root=/tftpboot
                    dhcp-boot=undionly.kpxe,10.0.0.210,10.0.0.210
                    dhcp-option=17,/images
                    dhcp-option=vendor:PXEClient,6,2b
                    dhcp-no-override
                    pxe-prompt=“Press F8 for boot menu”, 0
                    pxe-service=X86PC, “Boot from network”, pxelinux
                    pxe-service=X86PC, “Boot from local hard disk”, 0
                    dhcp-range=10.0.0.210,proxy[/code]

                    To:

                    [code]port=0
                    log-dhcp
                    tftp-root=/tftpboot
                    dhcp-boot=undionly.kpxe,10.0.0.210,10.0.0.210
                    dhcp-option=17,/images
                    dhcp-option=vendor:PXEClient,6,2b
                    dhcp-no-override
                    pxe-prompt=“Press F8 for boot menu”, 0
                    pxe-service=X86PC, “Boot from network”, undionly.kpxe
                    pxe-service=X86PC, “Boot from local hard disk”, 0
                    dhcp-range=10.0.0.210,proxy[/code]

                    Then make a copy of the undionly.kpxe to undionly.kpxe.0

                    [code]sudo cp /tftpboot/undionly.kpxe /tftpboot/undionly.kpxe.0[/code][/quote]

                    But, there are zero packets sent from the FOG machine that are even assigning the next-boot server or boot file…

                    FOG sent two packets, both simply saying “File not found.” If dnsmasq were sending out additional IP configuration, we’d see a few more packets for DHCP, coming from FOG, Probably about 2 more packets.

                    So, DHCP must be telling the client to use 10.0.0.210 and pxelinux.0

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User
                      last edited by

                      Yeeeeeessssss!!!
                      It’s finally working!!!

                      I just did what TOM offered and it’s working!

                      thanks a lot guys!

                      1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman
                          last edited by

                          Wiki Updated to provide troubleshooting steps for this in the future:
                          [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#Troubleshooting[/url]

                          1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User
                            last edited by

                            wow. I should be proud.

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

                            161

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project