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

Problem with dhcp options configuration

Scheduled Pinned Locked Moved
General
6
16
11.0k
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
    Leandro Silva
    last edited by Jun 5, 2014, 2:52 PM

    Hello i instaled the fog version 1.0.1 yesterday and tried to configure it with my existing mikrotik dhcp server.

    The fog is on the same netowork as my host machines, in the dhcp server i created the 66 and 67 options as follows:

    Name Code Value
    next-server 66 172.16.8.2
    bootfile 67 pxelinux.0

    but my host machines give me a message that no configuration are recieved from dhcp, is there any other option that i have to create?
    When i installed fog i choose no when it prompt for it to be the dhcp server.

    1 Reply Last reply Reply Quote 0
    • W
      Wolfbane8653 Developer
      last edited by Jun 5, 2014, 2:53 PM

      [B]Fog v1.0.1 bootfile should be undionly.kpxe[/B]

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Jun 5, 2014, 2:58 PM

        [quote=“Leandro Silva, post: 29351, member: 24513”]Hello i instaled the fog version 1.0.1 yesterday and tried to configure it with my existing mikrotik dhcp server.

        The fog is on the same netowork as my host machines, in the dhcp server i created the 66 and 67 options as follows:

        Name Code Value
        next-server 66 172.16.8.2
        bootfile 67 pxelinux.0

        but my host machines give me a message that no configuration are recieved from dhcp, is there any other option that i have to create?
        When i installed fog i choose no when it prompt for it to be the dhcp server.[/quote]

        When you performed the install, did you pay attention to the output being displayed to you?

        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
        • L
          Leandro Silva
          last edited by Jun 5, 2014, 3:46 PM

          I already tried: undionly.kpxe and have the same problem

          here follows my instalation process

            ..#######:.    ..,#,..     .::##::.
          

          .:###### .:;####:…;#;…
          …##… …##;,;##::::.##…
          ,# …##…##:::## …::
          ## .::###,##. . ##.::#.:######::.
          …##:::###::…#. … .#…#. #…#:::.
          …:####:… …##…##::## … #
          # . …##:,;##;:::#: … ##…
          .# . .:;####;::::.##:::;#:…
          # …:;###…

          ###########################################

          FOG

          Free Computer Imaging Solution

          [url]http://www.fogproject.org/[/url]

          Developers:

          Chuck Syperski

          Jian Zhang

          Peter Gilchrist

          Tom Elliott

          GNU GPL Version 3

          ###########################################

          Version: 1.0.1 Installer/Updater

          What version of Linux would you like to run the installation for?

                1) Redhat Based Linux (Redhat, CentOS)
                2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu)
          

          Choice: [2]

          Starting Debian / Ubuntu / Kubuntu / Edubuntu Installtion.

          FOG Server installation modes:
          * Normal Server: (Choice N)
          This is the typical installation type and
          will install all FOG components for you on this
          machine. Pick this option if you are unsure what to pick.

            * Storage Node: (Choice S)
                This install mode will only install the software required
                to make this server act as a node in a storage group
          

          More information:
          [url]http://www.fogproject.org/wiki/index.php?title=InstallationModes[/url]

          What type of installation would you like to do? [N]

          What is the IP address to be used by this FOG Server? [end.:]172.16.8.2

          Would you like to setup a router address for the DHCP server? [Y/n] 172.16.8.1
          Invalid input, please try again.

          Would you like to setup a router address for the DHCP server? [Y/n] y
          What is the IP address to be used for the router on the DHCP server? []172.16. 8.1

          Would you like to setup a DNS address for the DHCP server and client boot imag e? [Y/n] y
          What is the IP address to be used for DNS on the DHCP server and client boot i mage? [172.16.0.106]

          Would you like to change the default network interface from eth0?
          If you are not sure, select No. [y/N]y
          What network interface would you like to use? p4p1

          Would you like to use the FOG server for DHCP service? [Y/n] n

          This version of FOG has internationalization support, would
          you like to install the additional language packs? [y/N] n

          Would you like to donate computer resources to the FOG Project
          to mine cryptocurrency? This will only take place during active
          tasks and should NOT have any impact on performance of your
          imaging or other tasks. The currency will be used to pay for
          FOG Project expenses and to support the core developers working
          on the project. For more information see:

          [url]http://fogproject.org/?q=cryptocurrency[/url]

          Would you like to donate computer resources to the FOG Project? [y/N] n

          #####################################################################

          FOG now has everything it needs to setup your server, but please
          understand that this script will overwrite any setting you may
          have setup for services like DHCP, apache, pxe, tftp, and NFS.

          It is not recommended that you install this on a production system
          as this script modifies many of your system settings.

          This script should be run by the root user on Redhat or with sudo on Ubuntu.

          ** Notice ** Redhat users will need to disable SELinux and iptables in
          order to use FOG
          Please see our wiki for more information at [url]http://www.fogproject.org/wiki[/url]

          Here are the settings FOG will use:
          Base Linux: Debian
          Detected Linux Distribution: Ubuntu
          Installation Type: Normal Server
          Server IP Address: 172.16.8.2
          DHCP router Address: 172.16.8.1
          DHCP DNS Address: 172.16.0.106
          Interface: p4p1
          Using FOG DHCP: 0
          Internationalization: 0
          Donate: 0

               DHCP will NOT be setup but you must setup your
               current DHCP server to use FOG for PXE services.
          
               On a Linux DHCP server you must set:
                   next-server
          
               On a Windows DHCP server you must set:
                   option 066 & 067
          
                         Option 066 is the IP of the FOG Server: (e.g.
                         Option 067 is the undionly.kpxe file: (e.g. undionly.kpxe)
          

          Are you sure you wish to continue (Y/N) y

          1 Reply Last reply Reply Quote 0
          • W
            Wolfbane8653 Developer
            last edited by Jun 5, 2014, 3:50 PM

            Can you upload a picture of your exact error message?

            1 Reply Last reply Reply Quote 0
            • L
              Leandro Silva
              last edited by Jun 5, 2014, 5:22 PM

              [IMG]http://en.community.dell.com/cfs-file.ashx/__key/communityserver-discussions-components-files/956/bios_2D00_mode_2D00_pxe_2D00_boot_2D00_fails.png[/IMG]

              1 Reply Last reply Reply Quote 0
              • V
                VincentJ Moderator
                last edited by Jun 5, 2014, 5:31 PM

                it’s complaining it can’t get an IP address.

                what is your DHCP server running on?

                I’ve had this a small amount at my current place of work, but it is only laptops plugged in via their Ethernet ports…

                1 Reply Last reply Reply Quote 0
                • Jaymes DriverJ
                  Jaymes Driver Developer
                  last edited by Jun 5, 2014, 6:27 PM

                  Is this a type-o or did you really enter your ip address as 172.16. 8.1 because there is a space in there.

                  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
                  • L
                    Leandro Silva
                    last edited by Jun 5, 2014, 6:41 PM

                    i’m using a mikrotik as router and dhcp server for this network segment and my fog server and host machines are geting dhcp from it.

                    1 Reply Last reply Reply Quote 0
                    • L
                      Leandro Silva
                      last edited by Jun 5, 2014, 6:44 PM

                      [quote=“Jaymes Driver, post: 29423, member: 3582”]Is this a type-o or did you really enter your ip address as 172.16. 8.1 because there is a space in there.[/quote]

                      It was entered correctly in the configuration the space appered when i copied it in the terminal

                      1 Reply Last reply Reply Quote 0
                      • Jaymes DriverJ
                        Jaymes Driver Developer
                        last edited by Jun 5, 2014, 6:46 PM

                        [quote=“Leandro Silva, post: 29427, member: 24513”]i’m using a mikrotik as router and dhcp server for this network segment and my fog server and host machines are geting dhcp from it.[/quote]

                        Another possibility is to install the dnsmasq service to help alleviate the issues of trying resolve your dhcp information.

                        [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/url]

                        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
                        • L
                          Leandro Silva
                          last edited by Jun 5, 2014, 6:59 PM

                          Now something came to my mind, i’m using supernetting in this network, my network is 172.16.8.0/21, the pxe protocol supports supernetting?

                          1 Reply Last reply Reply Quote 0
                          • L
                            Leandro Silva
                            last edited by Jun 5, 2014, 8:12 PM

                            sorry subnetting, bad english

                            1 Reply Last reply Reply Quote 0
                            • V
                              VincentJ Moderator
                              last edited by Jun 5, 2014, 8:17 PM

                              I use a 10.x.x.x with 255.255.248.0 subnet mask, works fine for me.

                              1 Reply Last reply Reply Quote 0
                              • L
                                Leandro Silva
                                last edited by Aug 12, 2014, 7:08 PM

                                Helo i solved my problem following this awesome tutorial:

                                [url]http://fogproject.org/forum/threads/how-to-setup-ubuntu-server-fog-1-2-0-create-univeral-windows-7-image-using-sysprep-step-by-step.11245/[/url]

                                I had many problems becouse of i tried to use ubuntu 14.04 now i’m using ubuntu 10.04 and it is working well.

                                I had problems configuring my mikrotik dhcp server, becouse i was trying to configure the options 66 and 67 manualy, there are specifc filds in it to configure these options, in the picture below i show the right filds:

                                [IMG]https://dl.dropboxusercontent.com/u/70915108/dhcp_fog_mikrotik.jpg[/IMG]

                                1 Reply Last reply Reply Quote 0
                                • V
                                  Vlad.R
                                  last edited by Jan 8, 2015, 5:04 PM

                                  Hello .

                                  This setting works IF you disable "Allways Broadcast " in DHCP setings .
                                  Thank for sharing . It helped me a lot.

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

                                  166

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project