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

IP address assignment

Scheduled Pinned Locked Moved
General Problems
3
11
1.3k
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.
  • W
    wreckignize
    last edited by Dec 10, 2019, 3:10 PM

    We have our fog server on vlan 4 and the desktops we intend to image on vlan 100. Since the desktops are pxe booting into the fog server - does it get an IP address from the vlan 4 (fog server) or vlan 100 (default desktop subnet)?

    This is just a general question

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Dec 10, 2019, 9:14 AM Dec 10, 2019, 3:14 PM

      @wreckignize All depends on your setup. There is not much chance we can answer this not knowing how you setup FOG (yes or no when the installer asked to setup DHCP for you?) and the rest of your network.

      Maybe start explaining a bit more.

      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
      • W
        wreckignize
        last edited by Dec 10, 2019, 3:16 PM

        When the FOG server was setup it was a NO for the dhcp service. DHCP is handled by our core aruba switch. Hope that helps - 1st time using this tech.

        G 1 Reply Last reply Dec 10, 2019, 3:19 PM Reply Quote 0
        • G
          george1421 Moderator
          last edited by Dec 10, 2019, 3:18 PM

          I agree with Sebastian, the answer is it depends…

          If you turn off the fog server, would the clients on vlan 100 still get an IP address? If so your dhcp server isn’t the fog server so your main dhcp server is still handing out IP addresses.

          If the clients on vlan 100 are not pxe booting (if that is the root of your question) , then you need to update your main dhcp server with dhcp options 66 and 67. Where dhcp option 66 is the IP address of your fog server and dhcp option 67 will be undionly.kpxe for bios computers or ipxe.eft for uefi based computers.

          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
          • G
            george1421 Moderator @wreckignize
            last edited by george1421 Dec 10, 2019, 9:21 AM Dec 10, 2019, 3:19 PM

            @wreckignize said in IP address assignment:

            DHCP is handled by our core aruba switch.

            I will make a suggestion since you are using an aruba switch. Install dnsmasq on your fog server and configure your dhcp-helper service to include the FOG server’s IP address as the last server in the dhcp-helper service list.

            It should take no more than 10 minutes to setup dnsmasq just be sure to follow it exactly. You will need to get with your infrastructure folks to update the vlan router dhcp-helper service.
            https://forums.fogproject.org/topic/12796/installing-dnsmasq-on-your-fog-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!

            W 2 Replies Last reply Dec 10, 2019, 3:25 PM Reply Quote 1
            • W
              wreckignize @george1421
              last edited by Dec 10, 2019, 3:25 PM

              @george1421 Thanks! I’ll get on this and update this thread when I see the result of the change.

              G 1 Reply Last reply Dec 10, 2019, 3:35 PM Reply Quote 0
              • G
                george1421 Moderator @wreckignize
                last edited by Dec 10, 2019, 3:35 PM

                @wreckignize I little bit longer explanation is that the aruba switch-dhcp doesn’t support dynamic boot loaders based on the target computer. The issue is that bios based computers require undionly.kpxe to boot and uefi computers take ipxe.efi to boot. You can’t mix up the boot loaders between the two firmware types. So with the aruba dhcp it only supports one boot loader name. So you can choose to either pxe boot bios or uefi based computers but not both without changing the boot loader configured in dhcp. Most companies need to support both types of firmware on their campus. So the aruba dhcp is insufficient for pxe booting both types at the same time. So in this case we are going to load a service on the fog server called dnsmasq. In this configuration the dnsmasq server is going to supply the pxe boot information only. The rest of the dhcp information will come from your dhcp server as normal. With this configuration if your fog server gets turned off then no pxe boot information will be given, but you need your fog server to pxe boot anyway so no loss or impact to your network.

                For the dnsmasq service to be able to “hear” the dhcp boot request on a remote subnet, your dhcp-relay service running on your vlan router will need to forward the dhcp request to both your main dhcp server and the fog server so both can respond correctly to support pxe booting.

                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
                • W
                  wreckignize @george1421
                  last edited by Dec 10, 2019, 4:45 PM

                  @george1421 Question - how does one enable dnsmasq repo? I performed “sudo yum -y install dnsmasq” and it says there are no enabled repos.

                  G 1 Reply Last reply Dec 10, 2019, 6:00 PM Reply Quote 0
                  • G
                    george1421 Moderator @wreckignize
                    last edited by Dec 10, 2019, 6:00 PM

                    @wreckignize Sorry I was working on another issue. What OS is your FOG server running on? the yum command only works for centos and rhel.

                    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!

                    W 1 Reply Last reply Dec 10, 2019, 6:52 PM Reply Quote 0
                    • W
                      wreckignize @george1421
                      last edited by Dec 10, 2019, 6:52 PM

                      @george1421 ubuntu 18.04 - the command sudo apt-get install dnsmasq worked for me.

                      G 1 Reply Last reply Dec 10, 2019, 6:57 PM Reply Quote 0
                      • G
                        george1421 Moderator @wreckignize
                        last edited by Dec 10, 2019, 6:57 PM

                        @wreckignize The rest of the setup should be the same, just how it gets installed is different.

                        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
                        • 1 / 1
                        1 / 1
                        • First post
                          2/11
                          Last post

                        204

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project