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

Fog server with isolated Lan but able to still join domain

Scheduled Pinned Locked Moved
General
3
4
1.1k
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.
  • B
    Bob Henderson
    last edited by Jun 14, 2016, 3:04 AM

    Forgive spelling errors on mobile.

    I’m helping a company locally to setup fog. Sadly, their network doesn’t support multicast. Ideally I’d like to be able to multicast images. My idea was to setup a fog server that’d host dhcp and image into a cheap managed switch for multicast. Ideally then I’d also setup a way to have the fog server be the ‘gateway’ for the imaged clients to join the domain via the fog client.

    Is this possible, or have I completely failed at explanation.

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Jun 13, 2016, 9:29 PM Jun 14, 2016, 3:27 AM

      It’s possible to configure linux as a router. I’ve done it many times. You’ll find more documentation using iptables than you will with firewalld simple because it’s been around a whole lot longer. Obviously you need two NICs. However if you want domain joining, the most simple path is just to put fog onto a network that can get to a DC. if multicast doesn’t work, just don’t use it. Fog trunk is stupid fast at unicast.

      Multicast doesn’t need a managed switch. I multicast through unmanaged consumer grade ones at home, they do fine for the price.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      B 1 Reply Last reply Jun 14, 2016, 1:35 PM Reply Quote 0
      • G
        george1421 Moderator
        last edited by Jun 14, 2016, 10:16 AM

        You can turn a linux box into a router in just a few steps.

        Actually lets take this back a step and setup FOG first.

        1. Download FOG 1.2.0 stable to your fog server.
        2. Only install one network adapter in the FOG server. This network adapter will be your imaging LAN adapter
        3. Change the IP address imaging LAN adapter to match your new imaging subnet. Make this network IP address routable to your business LAN. For example if your business lan is 10.1.1.1/24 make this subnet 10.1.2.1/24. If you make it a routable address then you don’t need to mess with NAT on your fog server. Don’t set a default router for the imaging LAN.
        4. Now install fog 1.2.0 stable. Since there is only one LAN adapter in the computer FOG will make the correct assumption for your imaging LAN adapter.
        5. Once FOG is installed, add in the second network adapter for your business LAN. Set the default route for this business LAN adapter to what ever the default router is for that subnet. This will allow your FOG server to communicate on the business LAN and to the internet.
        6. On your default router for the business LAN create a static route that describes the imaging LAN subnet and make it via the business LAN IP address of your fog server.
        7. Now that we have the routing basics setup all you need to do is turn routing on your FOG server. All you need to do is edit /etc/sysctl.conf and insert net.ipv4.ip_forward = 1 This will make ip forwarding enabled on reboot. To enable it immediately key in echo 1 > /proc/sys/net/ipv4/ip_forward from the linux command line.

        You should now be able to ping form the imaging LAN to the business LAN and the internet. Now that you have things setup you should probably upgrade to the trunk version of FOG to get the latest enhancements. Then setup FOG as the dhcp server for your imaging LAN, make FOG’s imaging LAN ip address the default route address for the imaging LAN.

        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
        • B
          Bob Henderson @Wayne Workman
          last edited by Jun 14, 2016, 1:35 PM

          @Wayne-Workman

          This is what I’ve done 99% of the time. However, this client routinely needs to image 300+ devices in a short amount of time. Unicast works well, but being able to do 40+ in one go would save hours of man time.

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

          204

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project