• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Jul 21, 2023, 8:12 PM

    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.

    G 1 Reply Last reply Jul 22, 2023, 12:31 AM Reply Quote 0
    • G
      george1421 Moderator @DBCountMan
      last edited by Jul 22, 2023, 12:31 AM

      @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 Jul 25, 2023, 6:41 PM Reply Quote 0
      • J
        JulianDudek
        last edited by Jul 25, 2023, 10:37 AM

        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 Jul 25, 2023, 6:41 PM

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

          G 1 Reply Last reply Jul 25, 2023, 10:41 PM Reply Quote 0
          • G
            george1421 Moderator @DBCountMan
            last edited by Jul 25, 2023, 10:41 PM

            @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 Jul 26, 2023, 3:49 PM Reply Quote 0
            • J
              JulianDudek
              last edited by george1421 Jul 26, 2023, 3:02 PM Jul 26, 2023, 5:11 AM

              Hy

              I hope my msg helped you thanks and regards.

              1 Reply Last reply Reply Quote 0
              • D
                DBCountMan @george1421
                last edited by Jul 26, 2023, 3:49 PM

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

                136

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project