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

    Configuration of IP Addresses Statically When Computer has Multiple Network Interfaces and Assigning and configuration of dedicated-IP Address to FOG Server

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    7
    665
    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
      Basavarajnc
      last edited by

      Configuration of IP Addresses Statically When Computer has Multiple Network Interfaces and Assigning and configuring of dedicated-IP Address to FOG Server

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

        just to be clear, the fog server can have multiple interfaces, but only one may be defined for imaging. That interface and IP address should not change after FOG is installed or your fog server will not work correctly.

        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
        • S
          Sebastian Roth Moderator
          last edited by

          @Basavarajnc What exactly is your question?

          Yes you can install FOG on a server with multiple interfaces. Make sure you have that one interface configured correctly (static is advised) before you run the installer.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          B 2 Replies Last reply Reply Quote 0
          • B
            Basavarajnc @Sebastian Roth
            last edited by

            @Sebastian-Roth

            Dear Sir,
            I would like to request you to help me… I have some doubts…

            What exactly is your question? ->

            #This enp1s0 is for FOG SERVER (Static)

            auto enp1s0

            iface enp1s0 inet static

            address 192.168.147.XXX
            netmask 255.255.255.0
            network 192.168.147.0
            broadcast 192.168.147.255

            #This enp3s0 is for Our Organization to access Internet and Local Sharing Extra #Extra… (Static)

            auto enp3s0

            iface enp3s0 inet static

            address 10.12.2.XX
            netmask 255.255.254.0
            network 10.12.2.0
            broadcast 10.12.3.255
            gateway 10.12.2.XX
            dns-nameservers 10.10.1.XX 8.8.8.8

            I configured above IP Addresses statically and
            ran the sudo /etc/init.d/networking restart

            OUTPUT : It gives OK message …Everthing is running properly and correctly.

            0_1541734403767_Configuration-FOG-Server-PART-1.jpg

            0_1541734431239_Configuration-FOG-Server-PART-2-Final-Step.jpg

            Now My Questions Are :

            1. Is it required Router Address for FOG Server While Configuring IP Address For enp1s0?

            2. FOG asks a Router Address for DHCP Server?[y/N]… Here I said No Because I have not mentioned Gateway Address in enp1s0… Is it correct way of
              understanding of myself?

            3. FOG asks -> Would you like DHCP to handle DNS? [Y/n]… Here I said Yes
              Again FOG asks -> What DNS address should DHCP allow[10.10.1.2]… Here I Pressed Enter Button… FOG has taken Default DNS…i.e. 10.10.1.2–>> Is it correct way of understanding of myself?

            5)My Kind Request is > What is standard Configuration For FOG Server ?

            1. One More Request is > What is standard Configurations need to be done For FOG Server… So FOG Server gives BEST Performance?

            I would like to request you sir to answer my doubts…

            Warm Regards,
            Basavaraj, From India.

            1 Reply Last reply Reply Quote 0
            • B
              Basavarajnc @Sebastian Roth
              last edited by

              @Sebastian-Roth

              Dear Sir,

              Please kindly do the reply to My Questions… Here… In this Sections… I have some doubts… Please Do Help. It is My Gratitude to you Sir…

              Actually I am Studying on FOG Server Extra Extra… It is needed for me to get Improve Myself in my Technical Field.

              Thanking you Sir,

              Basavaraj From India.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                @Basavarajnc Sure I will answer your questions. Just didn’t have enough time yesterday.

                1. Is it required Router Address for FOG Server While Configuring IP Address For enp1s0?

                No it’s not in your case. You have a second network interface enp3s0 and a proper route set there. You don’t need a route on enp1s0.

                1. FOG asks a Router Address for DHCP Server?[y/N]… Here I said No Because I have not mentioned Gateway Address in enp1s0

                Be aware of this being two different things. On question one we were talking about setting a route® for enp1s0 (or that network). But this questions asks if you also want to set a router address in the DHCP config which means the router address the DHCP server would send out to your clients when handing out IP address information to them. I don’t have enough information to answer this question properly. Should your clients in the 192.168.147.0 network also have internet access or not? If the clients are only in that subnet to be imaged then there is no need to send router information with DHCP. If clients in 192.168.147.0 network need to access internet then you need to say Yes here, send FOG server IP (192.168.147.XXX) as router in the DHCP, plus configure your FOG server to be a router: (settings are lost after reboot, see on the web on how to make those permanent)

                echo 1 > /proc/sys/net/ipv4/ip_forward
                iptables -P FORWARD ACCEPT
                iptables -t nat -A POSTROUTING -o enp3s0 -j MASQUERADE
                
                1. FOG asks -> Would you like DHCP to handle DNS? [Y/n]… Here I said Yes
                  Again FOG asks -> What DNS address should DHCP allow[10.10.1.2]… Here I Pressed Enter Button… FOG has taken Default DNS…i.e. 10.10.1.2

                Same as question number two this is about the IP information your DHCP server sends to the clients. If clients don’t need internet access you can say No here but sending DNS information should not cause much problems. In a way it’s wrong to send 10.10.1.2 as DNS but not send router information in DHCP (question 2.). This way clients think they can use DNS but 10.10.1.2 is not reachable for them.

                5)My Kind Request is > What is standard Configuration For FOG Server ?

                Standard is not using multiple interfaces. With different networks there is no thing like “standard configuration”. It all depends on how you want to structure the networks. Should clients on 192.168.147.0 network be able to access the internet or not?

                1. One More Request is > What is standard Configurations need to be done For FOG Server… So FOG Server gives BEST Performance?

                Again, it’s not easy to answer your question about standard configurations because we don’t know your situation.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                B 1 Reply Last reply Reply Quote 0
                • B
                  Basavarajnc @Sebastian Roth
                  last edited by

                  @Sebastian-Roth

                  Dear Sir(Sebastian-Roth),

                  I understood (Not Everything) what you explained about My Questions…

                  You explained that not to define DNS Address in My Network Scenario…
                  But I already defined it with this Address10.10.1.2

                  Now Whether it is possible to remove it OR let it be as it is…?

                  Kind Hardheartedly Thank you For In Time Help…

                  Kind Regards,

                  Basavaraj, From India.

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

                  185

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project