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

    Network with Static Configuration

    Scheduled Pinned Locked Moved
    Windows Problems
    2
    18
    5.2k
    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.
    • S
      stockwizard
      last edited by

      Hi thanks a lot, one more question, if I deploy 50 new PCs and run multicast do I need to with get the mac address manually of each PC to run fog?

      1 Reply Last reply Reply Quote 0
      • C
        chad-bisd Moderator
        last edited by

        You will have to register them with the Fog server before you can multicast to them. There are modifications to Fog which allow multicasting without registration, but those changes are 3rd party and not officially supported.


        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

        1 Reply Last reply Reply Quote 0
        • S
          stockwizard
          last edited by

          Hi,

          I’m having issue setting up my fog server as a DHCP
          [COLOR=black][FONT=Arial]below are the IP configrationof my VLAN.[/FONT][/COLOR]

          [COLOR=black][FONT=Arial]My 1st Vlan[/FONT][/COLOR]
          [COLOR=black][FONT=Arial]Static IP Range: 10.225.161.164 to 10.225.161.190[/FONT][/COLOR]
          [COLOR=black][FONT=Arial]Subnet Mask: 255.255.255.224
          Gateway 10.225.161.161[/FONT][/COLOR]

          My 2nd VLan
          [COLOR=black][FONT=Arial]Static IP Range: [/FONT][/COLOR]10.225.161.65 - 10.225.161.94
          [COLOR=black][FONT=Arial]Subnet Mask: 255.255.255.224
          Gateway 10.225.161.164[/FONT][/COLOR]

          I follow the installation in wiki, and change the IP configuration on DHCP conf. I also install dnsmsq.
          But I can’t make it work. My Fog server is on the 1st vlan. any configuration I have to do with dhcp
          or shall I install proxyDHCP?

          Need your advise please.

          1 Reply Last reply Reply Quote 0
          • C
            chad-bisd Moderator
            last edited by

            Are you able to get a DHCP lease from a client machine on the same vlan/subnet as the DHCP server?


            If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

            1 Reply Last reply Reply Quote 0
            • S
              stockwizard
              last edited by

              Yes I was getting IP lease on the same VLAN of my DHCP, but not on the other vlans.
              Anything we could do ?
              Below is my dhcpd.conf:

              DHCP Server Configuration file.

              see /usr/share/doc/dhcp*/dhcpd.conf.sample

              This file was created by FOG

              use-host-decl-names on;
              ddns-update-style interim;
              ignore client-updates;
              next-server 10.225.161.29;

              subnet 10.225.161.0 netmask 255.255.255.0 {
              option subnet-mask 255.255.255.224;
              range dynamic-bootp 10.225.161.25 10.225.161.28;
              default-lease-time 21600;
              max-lease-time 43200;

              option domain-name-servers x.x.x.x;

              option routers x.x.x.x;

                  filename "pxelinux.0";
              

              }

              1 Reply Last reply Reply Quote 0
              • C
                chad-bisd Moderator
                last edited by

                You need to enable DHCP Relay (IP Helper) in all your VLAN aware switches.

                From [url]http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:Ch08:_Configuring_the_DHCP_Server#Using_a_Single_DHCP_Server_to_Serve_Multiple_Networks[/url]

                [QUOTE]
                [LEFT][FONT=sans-serif][COLOR=#000000]As stated before, DHCP clients send their requests for IP addresses to a broadcast address which is limited to the local LAN. This would imply that a DHCP server is required on each subnet. Not so. It is possible to configure routers to forward DHCP requests to a DHCP server many hops away. This is done by inserting the IP address of the router’s interface on the DHCP client’s network into the forwarded packet. To the DHCP server, the non-blank router IP address field takes precedence over the broadcast address and it uses this value to provide a DHCP address that is meaningful to the client. The DHCP server replies with a broadcast packet, and the router, which has kept track of the initial forwarded request, forwards it back towards the client. You can configure this feature on Cisco devices by using the ip helper-address command on all the interfaces on which DHCP clients reside. Here is a configuration sample that points to a DHCP server with the IP address 192.168.36.25:[/COLOR][/FONT][/LEFT]
                [CODE]interface FastEthernet 2/1
                ip address 192.168.1.30 255.255.255.0
                ip helper-address 192.168.36.25[/CODE]
                [/QUOTE]


                If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                1 Reply Last reply Reply Quote 0
                • S
                  stockwizard
                  last edited by

                  Let me check on this, I think this could be a big problem for me… actually I’m working at the airport I believe our network are very complicated and requesting some changes with the switch would take a lot of debate. But let try, I have to check to my boss if we could make such request. Thank you so much for answering all my queries, highly appreciated.

                  I might be posting more questions please be patient with with me cheers !

                  1 Reply Last reply Reply Quote 0
                  • S
                    stockwizard
                    last edited by

                    Hi,
                    I tried to create and imaged but after it finished, I got and error " FTP connection to Storage Server has failed! "
                    I am just using the default user group. Any advice please.

                    1 Reply Last reply Reply Quote 0
                    • C
                      chad-bisd Moderator
                      last edited by

                      Are you using a single FOG server or a Normal server plus one or more FOG servers installed in storage mode?


                      If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                      1 Reply Last reply Reply Quote 0
                      • S
                        stockwizard
                        last edited by

                        Just one server, currently using the default storage management.

                        Config.php below:

                        PXE_IMAGE_DNSADDRESS", “” );
                        define( “STORAGE_HOST”, “10.225.161.29” );
                        define( “STORAGE_FTP_USERNAME”, “fog” );
                        define( “STORAGE_FTP_PASSWORD”, “lounge” );
                        define( “STORAGE_DATADIR”, “/images/” );
                        define( “STORAGE_DATADIR_UPLOAD”, “/images/dev/” );
                        define( “STORAGE_BANDWIDTHPATH”, “/fog/status/bandwidth.php” );
                        define( “CLONEMETHOD”, “ntfsclone” ); // valid values partimage, ntfsclone
                        define( “UPLOADRESIZEPCT”, 5 );
                        define( “WEB_HOST”, “10.225.161.29” );
                        define( “WEB_ROOT”, “/fog/” );
                        define( “WOL_HOST”, “10.225.161.29” );
                        define( “WOL_PATH”, “/fog/wol/wol.php” );
                        define( “WOL_INTERFACE”, “eth0” );
                        define( “SNAPINDIR”, “/opt/fog/snapins/” );
                        define( “QUEUESIZE”, “10” );
                        define( “CHECKIN_TIMEOUT”, 600 );
                        define( “MYSQL_HOST”, “localhost” );
                        define( “MYSQL_DATABASE”, “fog” );
                        define( “MYSQL_USERNAME”, “root” );
                        define( “MYSQL_PASSWORD”, “lounge” );
                        define( “DB_TYPE”, “mysql” );
                        define( “DB_HOST”, MYSQL_HOST );
                        define( “DB_NAME”, MYSQL_DATABASE );
                        define( “DB_USERNAME”, MYSQL_USERNAME );
                        define( “DB_PASSWORD”, MYSQL_PASSWORD );
                        define( “DB_PORT”, null );

                        Do i have to edit any setting for storage node ? any config.php?
                        My default storage node
                        [SIZE=4][B]FOG Storage Nodes[/B][/SIZE]

                        FOG_STORAGENODE_MYSQLUSER
                        FOG_STORAGENODE_MYSQLPASS

                        1 Reply Last reply Reply Quote 0
                        • C
                          chad-bisd Moderator
                          last edited by

                          When you installed Linux, did you create the fog user or let the installfog.sh file create it? You may have to go through the password synchronization steps on the wiki to get the fog username and password fixed for all the different places it’s used.


                          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                          1 Reply Last reply Reply Quote 0
                          • S
                            stockwizard
                            last edited by

                            I let installfog.sh create it …I have check all password synchronization on wiki and follow it thoroughly but still this problem persist. Only thing I am not sure about is the fog storage node, If I have to change anything because I am using the default storage node, as of now it is still on default, (it is using different password).

                            Can you let me know if I have to change the FOG_STORAGENODE_MYSQLPASS, same as my MYSQL root password?

                            [INDENT]FOG_STORAGENODE_MYSQLUSER
                            FOG_STORAGENODE_MYSQLPASS[/INDENT]

                            1 Reply Last reply Reply Quote 0
                            • C
                              chad-bisd Moderator
                              last edited by

                              In the FOG web interface, go to Storage Management, All Storage Nodes, and click on the DefaultMember. Make sure the Management Password is set to the same password as the fog user in the OS, which appears to be “lounge” based on your config.php file you posted.


                              If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                              1 Reply Last reply Reply Quote 0
                              • S
                                stockwizard
                                last edited by

                                You got this right on target !! Thanks a lot !

                                Now my server is working I was able to upload and deploy images. I have my images in XP.
                                Now I have to try doing my Windows 7 Image. Hope not to face any issues.
                                Again, thanks you so much for the help ! Cheers !

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

                                228

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project