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

Routing and installation problem

Scheduled Pinned Locked Moved Unsolved
Linux Problems
3
19
4.7k
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.
  • D
    DZKeeper @george1421
    last edited by Oct 10, 2016, 1:40 AM

    @george1421

    Same thing for firewalld

    as for ufw disable, I tried it, and rebooted, same problem.

    G 1 Reply Last reply Oct 10, 2016, 1:54 AM Reply Quote 0
    • G
      george1421 Moderator @DZKeeper
      last edited by Oct 10, 2016, 1:54 AM

      @DZKeeper ok how about iptables -F. ??

      I want those firewall rules to have the default policy of accept to continue testing. The forward chain manages data passing through the Linux router.

      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!

      D 1 Reply Last reply Oct 10, 2016, 1:57 AM Reply Quote 0
      • D
        DZKeeper @george1421
        last edited by Oct 10, 2016, 1:57 AM

        @george1421

        xxx@fog-gateway:~$ sudo iptables -F
        xxx@fog-gateway:~$ sudo iptables -L

        Chain INPUT (policy ACCEPT)
        target prot opt source destination

        Chain FORWARD (policy DROP)
        target prot opt source destination

        Chain OUTPUT (policy ACCEPT)
        target prot opt source destination

        Still no go.

        G 1 Reply Last reply Oct 10, 2016, 2:07 AM Reply Quote 0
        • G
          george1421 Moderator @DZKeeper
          last edited by Oct 10, 2016, 2:07 AM

          @DZKeeper That forward policy is still DROP

          Lets try this one: iptables -P FORWARD ACCEPT That should change the forward policy to Accept and pass all data through your FOG/linux/router.

          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!

          D 1 Reply Last reply Oct 10, 2016, 2:13 AM Reply Quote 0
          • D
            DZKeeper @george1421
            last edited by Oct 10, 2016, 2:13 AM

            @george1421 Done, all 3 to ACCEPT now, however, dont work.

            BTW, I appreciate your time.

            G 1 Reply Last reply Oct 10, 2016, 2:26 AM Reply Quote 0
            • G
              george1421 Moderator @DZKeeper
              last edited by george1421 Oct 9, 2016, 8:29 PM Oct 10, 2016, 2:26 AM

              @DZKeeper OK now we can rule out forwarding (sorry about making this drawn out solving as thread discussions adds a certain amount of delay).

              OK now that iptables is out of the way. From a computer on your LAB network, can you ping the business LAN interface (nic) of the FOG server from the lab network (this will test the on linux routing).

              Also do the same from the business side, ping the LAB LAN network interface of your FOG server. I’ll assume from the business lan you can ping and get a response from the business LAN nic of your FOG server already.

              Also from a computer on the LAB LAN computer, can you post here the output of ipconfig /all here? And also could you post the ip addresses of the FOG server both LAB LAN and business LAN?

              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!

              D 1 Reply Last reply Oct 10, 2016, 2:33 AM Reply Quote 0
              • D
                DZKeeper @george1421
                last edited by Oct 10, 2016, 2:33 AM

                @george1421

                Ping No go from Lab -> business nic of FOG
                Ping No go from Business -> lab nic of FOG

                You assumed right.

                FOG Server LAB IP: 192.168.22.99
                Fog Server Business IP: 192.168.2.99

                PRetty hard for me to post the result of ipconfig /all from lab

                G 1 Reply Last reply Oct 10, 2016, 2:42 AM Reply Quote 0
                • G
                  george1421 Moderator @DZKeeper
                  last edited by george1421 Oct 9, 2016, 8:44 PM Oct 10, 2016, 2:42 AM

                  @DZKeeper Well this is disappointing its still not working, it should be.

                  The reason why I wanted to see the ipconfig /all just to show that the default router for the LAB LAN is the LAB LAN nic interface of the FOG server.

                  Also from the business side I wanted to make sure there was a router to tell business computers about the computers beyond the FOG server. My intuition is telling me its a routing issue and not related directly to the FOG upgrade since FOG doesn’t mess with IP tables (actually one of the setup prerequisites is that you must disable the firewall all together as well as selinux).

                  If I had to listen to my intuition (assuming routing was working before you upgraded fog). I would almost suspect that the ip_forward setting was disabled. This command should return ( 1 ) enabled cat /proc/sys/net/ipv4/ip_forward

                  You can confirmed that the IP address of the FOG server hasn’t changed for either NIC adapters?

                  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!

                  D 1 Reply Last reply Oct 10, 2016, 2:53 AM Reply Quote 0
                  • D
                    DZKeeper @george1421
                    last edited by Oct 10, 2016, 2:53 AM

                    @george1421 Your last comment on “default router” made me change the option router settings in dhcpd.conf, which changed the default gateway in my lab client… boom, I can ping 8.8.8.8

                    Something changed my option router setting back to 192.168.2.1 instead of 192.168.22.99

                    G 1 Reply Last reply Oct 10, 2016, 2:57 AM Reply Quote 1
                    • G
                      george1421 Moderator @DZKeeper
                      last edited by Oct 10, 2016, 2:57 AM

                      @DZKeeper said in Routing and installation problem:

                      Something changed my option router setting back to 192.168.2.1 instead of 192.168.22.99

                      I can see/understand the fog installer “could” do this if you told FOG to configure the dhcp server for you. Running the installer would have (possibly) reset the routing options.

                      Since we messed with iptables, (which only would impact in memory configuration). Please reboot your FOG server to restore IP tables and clear any dynamic changes that we made. Then test again to make sure everything is back to normal. Then you can call it resolved.

                      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!

                      D 1 Reply Last reply Oct 10, 2016, 3:08 AM Reply Quote 0
                      • D
                        DZKeeper @george1421
                        last edited by Oct 10, 2016, 3:08 AM

                        @george1421 How should I disable this option in FOG config file ?

                        1 Reply Last reply Reply Quote 0
                        • W
                          Wayne Workman
                          last edited by Oct 10, 2016, 2:46 PM

                          I’m confident the installer doesn’t touch iptables or firewalld. The plainrouter and router and other stuff in .fogsettings is only for configuring DHCP. I think that DHCP is messed up.

                          If you modify /opt/fog/.fogsettings and change these fields:

                          dodhcp='Y'
                          bldhcp='1'
                          

                          To:

                          dodhcp='N'
                          bldhcp='0'
                          

                          Then the FOG installer will never again touch the DHCP configuration or DHCP service. Then you can configure /etc/dhcp/dhcpd.conf the way it needs to be for your setup. Feel free to post this file to get help with configuring it if you need.

                          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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          1 Reply Last reply Reply Quote 1
                          • 1 / 1
                          1 / 1
                          • First post
                            17/19
                            Last post

                          156

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project