• 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
    510
    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

      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.

      george1421G JJ FullmerJ R 4 Replies Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @professorb24
        last edited by

        @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
        • JJ FullmerJ
          JJ Fullmer Testers @professorb24
          last edited by

          @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
          • JJ FullmerJ
            JJ Fullmer Testers @professorb24
            last edited by

            @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 Reply Quote 0
            • R
              RogerBrownTDL @professorb24
              last edited by

              @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

                @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.

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

                  @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 Reply Quote 1
                  • P
                    professorb24 @george1421
                    last edited by

                    @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

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

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

                      160

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project