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

NFS storge synology with different netwokk

Scheduled Pinned Locked Moved
FOG Problems
4
7
635
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.
  • N
    npkhanhs
    last edited by Apr 27, 2020, 10:40 AM

    I can not make image to Nas Synology with vlan different ,

    c33cc4b8-7c7a-408d-b936-7249b3c72d4a-image.png

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Tom Elliott Apr 27, 2020, 6:03 AM Apr 27, 2020, 12:02 PM

      Are your 2 VLANs configured to allow both subnet’s to communicate with one another?

      You’ve literally given is this amount of information:

      Storage on different network, imaging isn’t working. There’s not enough detail. (You gave us the IP’s but that’s it.)

      Can the VLAN’s communicate with one another?

      What version of FOG are you running?

      How did you configure the GUI to recognize your NFS server?

      This ties in with the prior question, Is the NFS storage to be independently a (it’s own) fog storage node, or is the NFS share mounted to the FOG Server, and you’re getting a permission denied issue (An mounted NFS share cannot be NFS shared.)

      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
      • N
        npkhanhs
        last edited by Apr 28, 2020, 6:37 AM

        I want save image to Nas , if Nas and PC same vlan it ok
        The VLAN’s can communicate together
        version of FOG 1.5.8

        T 1 Reply Last reply Apr 28, 2020, 12:25 PM Reply Quote 0
        • T
          Tom Elliott @npkhanhs
          last edited by Apr 28, 2020, 12:25 PM

          @npkhanhs Then your network is not configured properly. See, the NAS and FOG Server are on 192.168.10.X network correct? DHCP the FOG Server is managing is 192.168.9.5. Both networks are 255.255.255.0 (/24)

          What does this mean?

          192.168.9.X can ONLY route through 192.168.9.X
          192.168.10.X can ONLY route through 192.168.10.X

          On the FOG server, you would need routing added to take the 192.168.9.X interface and pass through to the 192.168.10.0

          FOG Can communicate to both networks because both NICs are on the server. Pinging 192.168.9.X goes through the interface 192.168.9.X is configured for. 192.168.10.X goes through the interface 192.168.10.X is configured for.

          Can the Client machine on 192.168.9.X ping the 192.168.10.X network? I suspect it cannot.

          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

          N 1 Reply Last reply May 5, 2020, 7:10 AM Reply Quote 0
          • N
            npkhanhs @Tom Elliott
            last edited by May 5, 2020, 7:10 AM

            @Tom-Elliott , I can ping to 2 vlan (ping to Nas and PC on vlan 192.168.9.0) at fog server, so i not save image to Nas

            57f04a9b-1c64-41d5-aab2-9335ead5bc5e-image.png

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by May 5, 2020, 10:30 AM

              @npkhanhs While this is essentially not a FOG issue we can still try to help. But I have to say that there are way better forums for this specialized on network questions like this.

              In the setup you have in the picture your FOG server needs to be a gateway/router to forward network packets from subnet 192.168.9.0 to 192.168.10.0 and back. You need to enable IP forwarding in the Linux kernel, set allow for the iptables forward chain and tell all the other machines (PCs and NAS) the correct gateway IP address (192.168.10.5 for the NAS and 192.168.9.5 for PCs).

              The picture with the routing table you posted shows two default gateway entries set on the FOG server. This is definitely not a good idea!! You need to decide which “leg” is going “upstream”.

              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
              • G
                george1421 Moderator
                last edited by george1421 May 5, 2020, 5:31 AM May 5, 2020, 11:29 AM

                We’ll need a bit better picture of how your network is constructed.

                Is the 192.168.9.x subnet just a dedicated imaging network, or is it a general business network with printer and an internet connection?

                Is the 192.168.10.x subnet your general business network? Does it have a connection to the internet?

                Where is your upstream router? From that upstream router can you get to the internet?

                Sebastian is right about configuring the fog server as a router to forward packets between the interfaces. Its not the best solution since all of the data between the nas and the target computers will flow through the FOG server. Its totally possible to do, I just want to make sure there isn’t a better way to go about this.

                Is your FOG server a physical box or is it a VM?

                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
                • 1 / 1
                1 / 1
                • First post
                  2/7
                  Last post

                151

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project