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

How to use fog with two different VLANs

Scheduled Pinned Locked Moved Unsolved
FOG Problems
4
9
512
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.
  • P
    professorb24
    last edited by Jun 24, 2024, 4:14 PM

    Is it possible to use two different VLANs with the same fog server? If so, what are the steps? One VLAN is on 192.168.52.X, and the other is on 192.168.54.X.

    G J R 4 Replies Last reply Jun 24, 2024, 7:34 PM Reply Quote 0
    • G
      george1421 Moderator @professorb24
      last edited by Jun 24, 2024, 7:34 PM

      @professorb24 The quick answer is if both vlans are routable back to the fog server then yes.

      If they are not, then no.

      The FOG server can only support a single imaging interface. FOG is not designed to have multiple imaging interfaces.

      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
      • J
        JJ Fullmer Testers @professorb24
        last edited by Jun 24, 2024, 8:29 PM

        @professorb24
        I use fog within multiple VLANs but they are all routable to one another.
        If you have isolated vlans you’d have to at least have storagenodes on the other vlans and then could maybe make that work with multiple adapters having replication take place on an adapter on the same vlan as the master and imaging take place on the other vlan with a separate adapter.

        The steps to configure routing depend on your network infrastructure and can involve switch config and firewall config.

        Have you tried the FogApi powershell module? It's pretty cool IMHO
        https://github.com/darksidemilk/FogApi
        https://fogapi.readthedocs.io/en/latest/
        https://www.powershellgallery.com/packages/FogApi
        https://forums.fogproject.org/topic/12026/powershell-api-module

        1 Reply Last reply Reply Quote 0
        • J
          JJ Fullmer Testers @professorb24
          last edited by Jun 24, 2024, 8:49 PM

          @professorb24 If they are routable, you need to make sure the DHCP options are set for both vlans/scopes.
          If you can give more info on what is and isn’t working we can give you more directed help.
          Like do you have it working in 1 of the 2 vlans?

          Have you tried the FogApi powershell module? It's pretty cool IMHO
          https://github.com/darksidemilk/FogApi
          https://fogapi.readthedocs.io/en/latest/
          https://www.powershellgallery.com/packages/FogApi
          https://forums.fogproject.org/topic/12026/powershell-api-module

          P 1 Reply Last reply Jun 25, 2024, 1:45 PM Reply Quote 0
          • R
            RogerBrownTDL @professorb24
            last edited by Jun 25, 2024, 12:06 PM

            @professorb24 I run the same setup but because they are VLANs the whole point is that they are different subnets Therefore best way is to have 2x separate DHCP servers - I have one on 17.x and one on 15,x

            You really have 3 options

            1. Maintain them as VLANs but have a DHCP server on both
            2. Set the VLANs as routable between each other
              or
            3. Superscope so it uses (as an example) /16 subnet and then control it that way but it becomes messy. Option 1 is easiest
            1 Reply Last reply Reply Quote 0
            • P
              professorb24 @JJ Fullmer
              last edited by Jun 25, 2024, 1:45 PM

              @JJ-Fullmer Is it possible to use two different VLANs with the same fog server? If so, what are the steps? One VLAN is on 192.168.52.X, where the fog server is, and the other is on 192.168.54.X. for testing deployment with fog. I don’t know how to create a scope for the 192.168.54.X VLAN.

              G 1 Reply Last reply Jun 25, 2024, 2:35 PM Reply Quote 0
              • G
                george1421 Moderator @professorb24
                last edited by Jun 25, 2024, 2:35 PM

                @professorb24 from 192.168.52.X can you ping devices on 192.168.54.X. If yes then you have network routing setup.

                Once you pass full routing, what is your dhcp server for 192.168.52.X and 192.168.54.X?

                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!

                P 1 Reply Last reply Jun 26, 2024, 8:51 PM Reply Quote 1
                • P
                  professorb24 @george1421
                  last edited by Jun 26, 2024, 8:51 PM

                  @george1421 Yes, I can ping the 192.168.54.X network. The DHCP server is on the fog server, which is 192.168.52.X

                  G 1 Reply Last reply Jun 26, 2024, 9:05 PM Reply Quote 0
                  • G
                    george1421 Moderator @professorb24
                    last edited by george1421 Jun 26, 2024, 3:06 PM Jun 26, 2024, 9:05 PM

                    @professorb24 said in How to use fog with two different VLANs:

                    Yes, I can ping the 192.168.54.X network.

                    This is positive. OK hopefully last question, what is device the dhcp server on the 54.x subnet? Is it the fog server on the 52.x subnet or something else?

                    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
                      5/9
                      Last post

                    202

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project