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

Wake on LAN over different VLANS

Scheduled Pinned Locked Moved Solved
FOG Problems
6
73
46.5k
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.
  • S
    szecca1
    last edited by Tom Elliott Jun 5, 2015, 4:34 AM Jun 4, 2015, 6:05 PM

    Good afternoon,

    I have trying to test wake on lan through fog over different vlans. On the same vlan as the fog server, wake on lan works perfectly, but when I try wake on lan over a different vlan thats when the packet seems to not go through. For example:

    My fog server IP is 10.1.0.119, if I try to wake on lan a pc with an IP address of 10.1.x.x, wake on lan works perfectly. I then tested computers with an IP of 10.2.x.x and an IP of 10.3.x.x, and the computer never wakes up. I used the same computer in all locations so the settings are the same just something is blocking the packet from going through.

    Anyone have any ideas?

    C 1 Reply Last reply Jun 5, 2015, 10:22 AM Reply Quote 0
    • T
      Tom Elliott
      last edited by Jun 4, 2015, 8:24 PM

      What version of fog? The trunk version has a plugin designed specifically for this. It’s called wol broadcast.

      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

      S 1 Reply Last reply Jun 16, 2015, 4:22 PM Reply Quote 1
      • C
        ch3i Moderator @szecca1
        last edited by Jun 5, 2015, 10:22 AM

        @szecca1 And ensure you have configure your switchs for WOL across VLAN.
        Cisco example : http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/91672-catl3-wol-vlans.html

        1 Reply Last reply Reply Quote 0
        • S
          szecca1
          last edited by Jun 16, 2015, 3:56 PM

          I apologize for the long delay, I have been very sick. I am running FOG version 1.2.0 and am able to Wake on LAn with a program call Goverlan.

          I saw this on the wiki site
          https://wiki.fogproject.org/wiki/index.php/How_to_use_the_wakeonlan_perl_script_instead_of_etherwake.exe
          wasnt sure if that was relevant.
          We are running Avaya and Nortel switches through our district and have opened the ports, at least we believe unless we are missing something. The wake on lan works on the same vlan but crossing vlans is wake it stops.

          C 1 Reply Last reply Jun 16, 2015, 4:26 PM Reply Quote 0
          • S
            szecca1 @Tom Elliott
            last edited by Jun 16, 2015, 4:22 PM

            @Tom-Elliott The wol broadcast plugin is not in the plugins for some reason so I cant install that

            1 Reply Last reply Reply Quote 0
            • C
              ch3i Moderator @szecca1
              last edited by Jun 16, 2015, 4:26 PM

              @szecca1 said:

              Goverlan

              With Goverlan you can WOL through vlans ?

              S 1 Reply Last reply Jun 16, 2015, 4:28 PM Reply Quote 0
              • S
                szecca1 @ch3i
                last edited by Jun 16, 2015, 4:28 PM

                @ch3i Yes, thats what is confusing. I tested today turning off a computer in a different vlan and then the computer woke right up with my wake on lan from Goverlan but wont do the same in FOG

                C 1 Reply Last reply Jun 16, 2015, 4:32 PM Reply Quote 0
                • C
                  ch3i Moderator @szecca1
                  last edited by Jun 16, 2015, 4:32 PM

                  @szecca1 Goverlan is on the same VLAN than FOG Server ? I ask you for that because in my network only one VLAN can WOL on other vlans.

                  S 1 Reply Last reply Jun 16, 2015, 4:35 PM Reply Quote 0
                  • S
                    szecca1 @ch3i
                    last edited by Jun 16, 2015, 4:35 PM

                    @ch3i Yes I am running goverlan from my machine which is on the 10.1 VLAN and FOG is a VM that also running on the 10.1 VLAN

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Jun 16, 2015, 4:36 PM

                      @szecca1 when I refer to Trunk, i am referring to “SVN”, the current/latest development side of fog. Trunk is just a shorter term than constantly saying here’s 3559, or 3560, or so on and so forth. If you can Upgrade to trunk (the link is embedded here to the wiki article) you will have the WOLBroadcast Plugin. I did make a custom version of it for my work place as we had similar problems, but I don’t feel comfortable spreading that out with 1.2.0 having so many bugs in its nature. Hopefully you understand.

                      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

                      S 1 Reply Last reply Jun 16, 2015, 5:36 PM Reply Quote 0
                      • J
                        Joseph Hales Testers
                        last edited by Jun 16, 2015, 4:42 PM

                        I suspect you are running some sort of traffic management device and the reason your desktop can wake on lan across vlans is that it is authenticated to the traffic shaper and the linux server is not.

                        RTFM

                        1 Reply Last reply Reply Quote 0
                        • S
                          szecca1 @Tom Elliott
                          last edited by Jun 16, 2015, 5:36 PM

                          @Tom-Elliott I completely understand and fully appreciate all your help. I just updated the trunk and got the wolbroadcast plugin installed. Is there anything else I need to do or technically now it should work?
                          @Joseph-Hales The Fog server is probably more authenticated than my computer is as it no longer needs to authenticate to out iPrism and my computer still does every so often.

                          T 1 Reply Last reply Jun 16, 2015, 5:53 PM Reply Quote 0
                          • T
                            Tom Elliott @szecca1
                            last edited by Jun 16, 2015, 5:53 PM

                            @szecca1 You need to instlal and activate the plugin of course. The last step is add in all your broadcast addresses with names (for simplicity all around)

                            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

                            S 1 Reply Last reply Jun 16, 2015, 6:05 PM Reply Quote 0
                            • S
                              szecca1 @Tom Elliott
                              last edited by Jun 16, 2015, 6:05 PM

                              @Tom-Elliott Ok so I installed and activated the plugin and when I click on it i am getting this:
                              Capture.PNG

                              You’re saying all I have to do now is name the broadcast whatever i want and then give the broadcast IP of what VLAN it is?

                              T 1 Reply Last reply Jun 16, 2015, 6:07 PM Reply Quote 0
                              • T
                                Tom Elliott @szecca1
                                last edited by Jun 16, 2015, 6:07 PM

                                @szecca1 yes

                                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

                                S 2 Replies Last reply Jun 16, 2015, 6:14 PM Reply Quote 0
                                • S
                                  szecca1 @Tom Elliott
                                  last edited by Jun 16, 2015, 6:14 PM

                                  @Tom-Elliott Ok awesome I will give that a try tomorrow and let you guys know how that works. I appreciate all the help.

                                  1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman
                                    last edited by Jun 17, 2015, 3:07 AM

                                    That’s a pretty awesome plugin… for real…

                                    I’m going to use that when I setup FOG in vmware at our central site.

                                    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 0
                                    • S
                                      szecca1 @Tom Elliott
                                      last edited by Jun 17, 2015, 1:52 PM

                                      @Tom-Elliott I apologize in advance but where would I get this broadcast ip? Would this be the gateway ip from each building? I’m not sure where to pull this broadcast IP from?

                                      Wayne WorkmanW 1 Reply Last reply Jun 17, 2015, 2:26 PM Reply Quote 0
                                      • Wayne WorkmanW
                                        Wayne Workman @szecca1
                                        last edited by Wayne Workman Jun 17, 2015, 8:28 AM Jun 17, 2015, 2:26 PM

                                        @szecca1

                                        You basically jot down any valid IP for a network, then jot down your subnet mask.

                                        Convert both to binary, with each of the four octets separated by a decimal as normal.

                                        Then, for each ‘0’ in the subnet mask, you’d flip that to a 1, but you’d still use the network portion of the valid IP, those binary bits would just “fall through”

                                        So… example time…

                                        Subnet mask: 255.255.240.0

                                        IP 10.2.3.8

                                        Binary IP Subnet:

                                        00001010.00000010.00000011.00001000
                                        11111111.11111111.11110000.00000000

                                        (Client IP network portion: 00001010.00000010.0000 Client portion: 0011.00001000)

                                        the fall through numbers for the network address:
                                        00001010.00000010.0000000.00000000 (Where 1 is set in the subnet mask, binary from the client ‘fall through’ to form a network address)
                                        This gives us a network address of 10.2.0.0

                                        The broadcast address is the network address combined with all-on client bits.
                                        00001010.00000010.00001111.11111111
                                        (binary in the subnet mask set to ‘0’ ‘fall through’ to the broadcast address as ‘1’)

                                        Convert to decimal: 10.2.15.255

                                        So, 10.2.15.255 would be the broadcast address for that IP and that subnet mask.

                                        And, that’s correct, that’s my particular building’s broadcast address.

                                        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/

                                        S 1 Reply Last reply Jun 17, 2015, 2:58 PM Reply Quote 0
                                        • S
                                          szecca1 @Wayne Workman
                                          last edited by Jun 17, 2015, 2:58 PM

                                          @Wayne-Workman The 10.2.3.8 address that you used in your example, where did you get that from? Is that just a random IP of a client in the 10.2 VLAN or is that something in particular?

                                          Wayne WorkmanW 1 Reply Last reply Jun 17, 2015, 3:00 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 1 / 4
                                          • First post
                                            Last post

                                          189

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project