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

    Init - Support for classless static route

    Scheduled Pinned Locked Moved Solved
    Feature Request
    2
    3
    1.1k
    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.
    • K
      kkroflin
      last edited by

      Recently we have reconfigured our network in a way that clients are behind NAT with default router set to our firewall. As we have FOG server (1.5.0 RC9) on a different subnet and the firewall has limited capacity we have created additional classless static route to the FOG server (and some other local servers).

      We have found that udhcpc script in FOG’s init was not setting classless routes defined in (non-fog) DHCP server so I have changed the scripts in init to support this. Files are available on GitHub: https://github.com/kkroflin/fog-init-scripts

      It would be great if this or something similar is implemented in FOG.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        @kkroflin said in Init - Support for classless static route:

        https://github.com/kkroflin/fog-init-scripts

        This is your own thing? I mean adding classless static routes isn’t difficult or anything, but your case is the ONLY one I’ve heard of. That’s not to say others wouldn’t benefit from this, but this seems like a very edge case to me right now. That said, you could use postinit scripts to actually achieve this same effort without having to change the init’s at all.

        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
        • K
          kkroflin
          last edited by

          I wasn’t aware of postinit scripts :(. Looking at postinit now, it seems that it would need network mount to work through default router (the firewall) and we tried to minimize what we are enabling through the firewall. XenServer PXE boot (testing host) doesn’t support classless static routes either so we had to let TFTP through to make this work.

          Maybe we could reconfigure our “single fog server - multiple subnets/vlans” setup? We have tried to create multiple network adapters on the same FOG server and to have clients from each network to communicate with the server through IP address in the same subnet but we were not able to set up this to work and I’m not sure if FOG supports this as I have seen that FOG requires network interface to be specified in some places.

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

          262

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project