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

    Centos 7 Fog Setup with 2 network cards, Public / Private

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    21
    7.9k
    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.
    • A
      ally_uk
      last edited by

      The main reason was to have the imaging side isolated because of the DHCP server running on the main network I wanted to avoid any potential conflicts.

      The first Ethernet card connected to main network;

      192.168.1.102/24
      ( This network has gateway and DNS setup the router handles DHCP I have manually set it as a static I,P this card is for server to get to outside world)

      The second card is isolated for imaging connected to a separate switch.

      192.168.2.12
      255.255.255.0
      No Gateway


      Firstly are these networking details ok?

      Go easy on me lads as this is all new to me 🙂 during the initial fog setup it asks for a default network card to use? am I right in saying it would be the first Ethernet card?

      Secondly it is asking me whether to use DHCP and which device to use this part is giving me a headache I assume I set it to the second network card?

      Again thank you

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

        @ally_uk Your network settings look correct based on what we know so far.

        As for your default network card, you want to select the one for your imaging network. You want the imaging servers (dhcp especially) to bind to the imaging LAN interface and not to your business LAN (which would be a bad thing).

        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
        • A
          ally_uk
          last edited by

          Please tell me if any of this information is wrong. I have put a # next to items I am unsure of

          #Server I.P Address: 192.168.1.102
          Server S/M 255.255.255.0
          #Interface enp3s9 ( Second network card has different i.p from server i.p addy)
          Installation type: normal server
          Image storage location /images
          Using Fog DHCP: yes
          #DHCP Router address:

          Again many thanks for holding my hand I will document everything once it is working lol

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

            @ally_uk As far as FOG goes, ignore that you have a business LAN nic installed in this computer. It (fog) only needs to know about interfaces it must use. So for server IP it would be the nic address on the imaging LAN.

            As for dhcp router address, that should be blank because there is no path data out of your isolated 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!

            A 1 Reply Last reply Reply Quote 0
            • A
              ally_uk @george1421
              last edited by

              Thank you my man 🙂

              1 Reply Last reply Reply Quote 0
              • A
                ally_uk
                last edited by

                I am getting a warning after the mysql update that says there is no dns / dhcp address is this ok to proceed?

                george1421G 2 Replies Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @ally_uk
                  last edited by

                  @ally_uk Is this the first time you’ve got this far with the installer?

                  I can’t say for sure, I don’t remember the exact steps the installer uses on a fresh install. As long as you told the installer you wanted to have fog manage the dhcp server we can get you to where you need. The key is getting the isc-dhcp installed.

                  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
                  • george1421G
                    george1421 Moderator @ally_uk
                    last edited by

                    @ally_uk Knowing what we know now, you may want to review Wayne’s post https://forums.fogproject.org/topic/8861/centos-7-fog-setup-with-2-network-cards-public-private/3 because it pretty much covered what we are talking about now.

                    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 1
                    • A
                      ally_uk
                      last edited by

                      I will fire up the machine and report progress tommorow.

                      Regarding DHCP I assumed FOG would automatically setup a range and automatically configure the DHCP side of things.

                      The installation guide I have been following on the wiki had no mention of how to configure DHCP.

                      Ahwell least I am learning loads 🙂

                      I need a Centos7 DHCP tutorial now lol

                      Thank you guys

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @ally_uk
                        last edited by

                        @ally_uk said in Centos 7 Fog Setup with 2 network cards, Public / Private:

                        I need a Centos7 DHCP tutorial now lol

                        The configuration file on all linux distributions is setup exactly the same. The only variation is the commands to install, start, and enable.

                        I didn’t include DHCP instructions in the CentOS 7 wiki article because no one-size fits all, and I figured people either have a pre-existing DHCP server they want to use, or they want FOG to do it all and in which case they just answer “yes” to DHCP during the fog installer and the installer does take care of it.

                        You can’t do that though because you have two NICs.

                        You need a custom configuration, and you cannot let FOG manage it - because it’ll mess it up, because it’s written under the assumption of one Network Interface being used, and every time you run the installer with FOG managing DHCP, it’ll write-over the custom configuration unless you just totally disable FOG touching DHCP.

                        There’s no way around this, not at all. You must manually edit or create a DHCP configuration - and it’s not all that tough, and all the instructions are already written in my first post in this thread.

                        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/

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          ally_uk @Wayne Workman
                          last edited by

                          @Wayne-Workman

                          Many Thanks for the guidance I really do appreciate it because of yourself and others on this fantastic forum I have learned alot.

                          I haven’t had a chance today to play with the FOG stuff. However hopefully I can look at the DHCP configuration side of things tommorow.

                          I will report back my progress and any problems.

                          Many Thanks

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

                          155

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project