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

Setting up FOG 1.2.0 in Multiple VLANs

Scheduled Pinned Locked Moved
General
7
34
21.4k
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.
  • C
    Christian Nichols
    last edited by Sep 22, 2014, 4:58 PM

    This is some of the output of ‘show running-config’ command on the FOG server switch.

    Interface GigabitEthernet1/0/16 is the FOG Server

    [CODE]system mtu routing 1500
    ip subnet-zero
    ip routing
    !
    !
    !
    !
    no file verify auto
    !
    spanning-tree mode rapid-pvst
    spanning-tree extend system-id
    !
    vlan internal allocation policy ascending

    !
    interface GigabitEthernet1/0/16
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast trunk
    [/CODE]

    1 Reply Last reply Reply Quote 0
    • C
      Christian Nichols
      last edited by Sep 22, 2014, 5:54 PM

      [url]http://www.fogproject.org/wiki/index.php/Chainloading_PXE_to_iPXE_using_pxelinux.0[/url]

      Followed that guide and I can get to the menu from at least one VLAN now (I will check the others soon).

      Only different thing I did from the guide is use FOG’s hostname instead of IP - works fine.
      [CODE]DEFAULT vesamenu.c32
      MENU TITLE Fog Reimage Menu
      MENU COLOR TITLE 1;36;44 #ffffffff #00000000 std
      LABEL iPXE Boot
      MENU DEFAULT
      KERNEL ipxe.krn
      APPEND dhcp && chain http://fogserver/fog/service/ipxe/boot.php?mac=${net0/mac}
      PROMPT 0
      TIMEOUT 1[/CODE]

      Hope it images okay tho. One step at a time! I’ll report back.

      1 Reply Last reply Reply Quote 0
      • C
        Christian Nichols
        last edited by Sep 22, 2014, 6:41 PM

        Meh… doesn’t work in the other VLANs lol. [I]clenches fists[/I]

        1 Reply Last reply Reply Quote 0
        • C
          Christian Nichols
          last edited by Sep 25, 2014, 3:17 PM

          I’m going to take a step back and make sure I have my router configured properly.

          [QUOTE][I]Tom Wrote[/I]: We have 12 separate VLANs in our organization. All have their own Gateway’s that lead back to our routing switch. Our routing switch has an ip-helper setting back to our central DHCP server for their related Gateway. This way there’s still a gate to communicate across, and the routing switch has all the routes configured to allow pass of traffic from one subnet to another.[/QUOTE]

          I’m researching how to configure our FortiGate router to make FOG’s IP visible across all VLANs. If anyone knows how I should setup the FortiGate so the VLANs can communicate with the FOG Server’s IP I’d appreciate it. My network engineering experience is limited.

          1 Reply Last reply Reply Quote 0
          • J
            Jaymes Driver Developer
            last edited by Sep 25, 2014, 3:21 PM

            does this help any? [url]http://fogproject.org/forum/threads/multicasting-over-vlans-get-stuck-at-please-wait.5436/#post-14158[/url]

            Sorry I don’t know anything about fortigate 😞

            WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

            1 Reply Last reply Reply Quote 0
            • C
              Christian Nichols
              last edited by Sep 25, 2014, 3:34 PM

              Reading the wiki on setting up DNSMasq to try. Will report back.

              Still would like to know how to setup an ip-helper setting on a FortiGate router if anyone knows.

              1 Reply Last reply Reply Quote 0
              • C
                Christian Nichols
                last edited by Sep 25, 2014, 3:38 PM

                [quote=“Jaymes Driver, post: 37013, member: 3582”]does this help any? [url]http://fogproject.org/forum/threads/multicasting-over-vlans-get-stuck-at-please-wait.5436/#post-14158[/url]

                Sorry I don’t know anything about fortigate :([/quote]

                I’ll check it out and try that; however, multicasting isn’t the main problem right now. It’s just being able to use FOG across all VLANs. I can’t even PXE boot from another VLAN - only the VLAN that the FOG server is located. 😞

                1 Reply Last reply Reply Quote 0
                • C
                  Christian Nichols
                  last edited by Sep 25, 2014, 3:46 PM

                  I mistyped on previous post.

                  It will boot to the fogserver’s PXE (not the FOG menu) - it will timeout when default.ipxe is trying to load.

                  Chainloading solved the issue but only for the VLAN FOG is on.

                  1 Reply Last reply Reply Quote 0
                  • J
                    Junkhacker Developer
                    last edited by Sep 25, 2014, 6:07 PM

                    here’s something for you to try
                    [CODE]chain http://10.52.4.23/fog/service/ipxe/boot.php?mac=${net0/mac} || chain http://10.52.8.23/fog/service/ipxe/boot.php?mac=${net0/mac} || chain http://10.52.1.23/fog/service/ipxe/boot.php?mac=${net0/mac} || etc[/CODE]
                    on each failure, it will try the next chain command

                    signature:
                    Junkhacker
                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                    1 Reply Last reply Reply Quote 0
                    • C
                      Christian Nichols
                      last edited by Sep 25, 2014, 7:35 PM

                      Nice hack! It almost worked.

                      While I was testing it on another VLAN from the FOG server it did as you said and went down the list trying the different IP’s; however, when it finally got to the right VLAN IP and wanted to download bg.png it failed because it was trying to download it from FOG’s native IP (10.52.4.23). I say “native” because that’s the IP that’s setup in FOG’s settings because I had no choice as I couldn’t add FOG’s hostname instead.

                      I was in the Elementary 10.52.[B]16[/B] vlan
                      [QUOTE][url]http://10.52[/url].[B]4[/B].23/fog/service/ipxe/bg.png… Connection timeout[/QUOTE]

                      1 Reply Last reply Reply Quote 0
                      • C
                        Christian Nichols
                        last edited by Oct 7, 2014, 4:42 PM

                        [quote=“Jaymes Driver, post: 37013, member: 3582”]does this help any? [url]http://fogproject.org/forum/threads/multicasting-over-vlans-get-stuck-at-please-wait.5436/#post-14158[/url]

                        Sorry I don’t know anything about fortigate :([/quote]

                        I read on another thread that you use the DNSMASQ technique for FOG - I followed the wiki guide and set it up here as well. I’ve set the ip-helper/dhcp relay up to point back to the FOG server; however, it still cannot boot to the FOG menu because everytime iPXE loads it tries to pull the boot.php file from the wrong IP (much like the above result).

                        Should the dhcp-relay/ip-helper be different on each VLAN (I’m using FOG’s respective VLAN IP)

                        Any ideas?

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jaymes Driver Developer
                          last edited by Oct 7, 2014, 5:20 PM

                          [quote=“Christian Nichols, post: 37570, member: 2195”]I read on another thread that you use the DNSMASQ technique for FOG - I followed the wiki guide and set it up here as well. I’ve set the ip-helper/dhcp relay up to point back to the FOG server; however, it still cannot boot to the FOG menu because everytime iPXE loads it tries to pull the boot.php file from the wrong IP (much like the above result).

                          Should the dhcp-relay/ip-helper be different on each VLAN (I’m using FOG’s respective VLAN IP)

                          Any ideas?[/quote]

                          I’ve never had success (in my messed up network) booting to my fog server from another VLAN. I know that with dnsmasq it is technically possible but I don’t have any experience in doing so.

                          My network stems from one building and is dished out to each of the other buildings. Each building is a VLAN itself.

                          I would assume (and you know what happens when you assume) that the ip address would be the same across all VLANs, the ip helper is just to help point that VLAN back to your fog server ip.

                          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                          1 Reply Last reply Reply Quote 0
                          • C
                            Christian Nichols
                            last edited by Oct 7, 2014, 5:53 PM

                            [quote=“Jaymes Driver, post: 37572, member: 3582”]I’ve never had success (in my messed up network) booting to my fog server from another VLAN. I know that with dnsmasq it is technically possible but I don’t have any experience in doing so.

                            My network stems from one building and is dished out to each of the other buildings. Each building is a VLAN itself.

                            I would assume (and you know what happens when you assume) that the ip address would be the same across all VLANs, the ip helper is just to help point that VLAN back to your fog server ip.[/quote]

                            I just tried a couple of different things. Changing the dhcp-relay/ip-helper IP, removing the Scope Options from the DHCP server, re-enabling Scope Options with FOG’s hostname instead of VLAN IP.

                            Meh… I’m giving up. I’ll just make the proper changes to get them to work on one of the VLANs everytime we need to re-image a computer.

                            Thanks to all of you that tried to help

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jaymes Driver Developer
                              last edited by Oct 7, 2014, 6:06 PM

                              Sorry I can’t be of more help, I set up a server at each of my locations, but that works out to my benefit because each building uses the same base, but this lets me tweak the settings to better fit that novell context.

                              WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

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

                              219

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project