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

    Configure FOG Server with two NICs

    Scheduled Pinned Locked Moved
    General
    3
    7
    801
    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.
    • D
      DBCountMan
      last edited by

      Here’s the scenario I’d like to hash out. I want to virtualize FOG with the following config:
      The VM server will have two NICs. Is it possible to serve TFTP on two interfaces, one of which will also host DHCP on the internal VM network? The other interface will function normally as if config’d to work with an existing DHCP server on the prod net. I’m trying to find ways to speed up imaging and reduce prod network load to image a set of VMs on the same hyper-v server.

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

        @brakcounty On the server can you serve tftp on two interfaces. The tftp server is interface agnostic. The problem you will have is the FOG code running on the FOG server only knows about 1 network interface. So event if you pxe boot into the FOG iPXE on either interface, the ipxe menu will only point to the interface FOG considers the its imaging interface.

        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!

        D 1 Reply Last reply Reply Quote 0
        • J
          JulianDudek
          last edited by

          Hy there i can see your post and i have some suggestion

          Network Setup:

          NIC1: Connect NIC1 to your primary network (e.g., LAN) that will serve the FOG Server to clients.
          NIC2: Connect NIC2 to a separate network segment (e.g., a dedicated storage network) for imaging and storage purposes.
          Install FOG Server:

          Install FOG Server on your chosen server hardware. Follow the FOG Server installation instructions for your operating system (commonly Ubuntu or CentOS).
          Configure NICs:

          Assign static IP addresses to both NICs. Use different subnets for each NIC. For example:
          NIC1: IP: 192.168.1.100, Subnet: 255.255.255.0 (LAN network)
          NIC2: IP: 192.168.2.100, Subnet: 255.255.255.0 (Storage network)
          Network Configuration:

          Modify the network configuration files for both NICs to set the static IP addresses. On Ubuntu, the file is typically located at /etc/netplan/; on CentOS, it’s usually in /etc/sysconfig/network-scripts/.

          Thanks and regards
          JulianDudek

          1 Reply Last reply Reply Quote 0
          • D
            DBCountMan @george1421
            last edited by

            @george1421 Even if I configure the storage group with one subnet and tftp with another?

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

              @brakcounty the issue is with the ipxe menu. reguardless how you get to the fog ipxe menu its will point to the interface marked as for imaging.

              With a web browser make a call to http://<fog_server_ip>/fog/service/ipxe/boot.php?mac=00:00:00:00:00:00 this will display the text behind the ipxe menu. At the top it defined a variable that includes the IP address of the imaging interface.

              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!

              D 1 Reply Last reply Reply Quote 0
              • J
                JulianDudek
                last edited by george1421

                Hy

                I hope my msg helped you thanks and regards.

                1 Reply Last reply Reply Quote 0
                • D
                  DBCountMan @george1421
                  last edited by

                  @george1421 I see the set fog-ip variable and set storage-ip variable. Could I set those two variables with IPs of different interfaces? So for example, the interface IP server ipxe will be the “set fog-ip” and the interface IP serving NFS will be the “set storage-ip” var. Would that work?

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

                  148

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project