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

Support for multiple nics / subnets

Scheduled Pinned Locked Moved
Feature Request
4
28
11.0k
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.
  • T
    Tom Elliott
    last edited by Jul 3, 2014, 1:58 PM

    the interface for udp-sender is stored in /var/www/fog/lib/fog/Config.class.php under svc_setting method. I believe it’s defined value is:
    MULTICASTINTERFACE

    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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

    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

    1 Reply Last reply Reply Quote 0
    • R
      rado
      last edited by Jul 4, 2014, 10:28 AM

      Hi, thanks. I tried this already, but tried it once again and the same result. Then I realized, that maybe it needs /etc/init.d/FOGMulticastManager restart and yes, now the interface is changed 🙂

      Few questions however - what is that setting - FOG_UDPCAST_INTERFACE - in FOG Configuration for? And why are there 2 configuration places - database and config file? Is it for some legacy reasons, or?

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Jul 4, 2014, 10:41 AM

        I think UDPCAST_INTERFACE is the intentional item to be used for dynamics. I can take a look on the SVN side of the house and get the interface from there.

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jul 4, 2014, 10:56 AM

          SVN 2004 now uses the FOG_UDPCAST_INTERFACE rather than the defined interface in Config.class.php.

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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

          1 Reply Last reply Reply Quote 0
          • R
            rado
            last edited by Jul 4, 2014, 11:44 AM

            So, if I upgrade to SVN 2004, it should no longer use config and there will by only database (via FOG Configuration web interface) as configuration storage?

            And what’s “dynamics”?

            Thanks.

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Jul 4, 2014, 7:11 PM

              Dynamics, I am only guessing here that it works in this way now that we’re pulling from db. You wouldn’t have to restart the FOGMulticastManager service to change which interface you’re attempting to use.

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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

              1 Reply Last reply Reply Quote 0
              • R
                rado
                last edited by Jul 7, 2014, 11:53 AM

                It seem to work - svn 2014 - creates udp-sender processes with right interface no matter what’s in /var/www/fog/lib/fog/Config.class.php. Didn’t test deploying.

                1 Reply Last reply Reply Quote 0
                • R
                  rado
                  last edited by Sep 23, 2014, 5:20 PM

                  OK, so here is what’s needed to switch FOG 1.2.0 between networks (interfaces):

                  • FOG System Settings -> FOG Configuration:
                    * General Settings: FOG_WOL_HOST (change ip); FOG_WOL_INTERFACE (change iface)
                    * Multicast Settings: FOG_UDPCAST_INTERFACE (change iface)
                    * NFS Server: FOG_NFS_ETH_MONITOR (change iface)
                    * TFTP Server: FOG_TFTP_HOST (change ip)
                    * Web Server: FOG_WEB_HOST (change ip)
                  • Storage Management -> DefaultMember:
                    * IP Address (change ip)
                    * Interface: (no changes)
                  • /tftpboot/default.ipxe: change ip in last line
                  • change default gateway using ip command (to make wake on lan work - it uses default gw for broadcasts):
                    * ip r del default - delete current
                    * ip r add default via <gw for second network>
                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 2 / 2
                  • First post
                    Last post

                  167

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project