• 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.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.
  • S
    szecca1 @Wayne Workman
    last edited by Jun 17, 2015, 6:12 PM

    @Wayne-Workman Capture.PNG

    This is what I entered into that plugin creating it for my high school and just tested it and didnt work.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jun 17, 2015, 6:25 PM

      You likely need to allow udp-broadcast-forwarding on your switches. At the very least, it needs to be enabled for the routing switch. The way to do this varies depending on the switch. HP Procurve allows for udp-broadcast-forwarding on (I think)

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

        @Tom-Elliott We already did that thinking it was a switch problem before doing this plug in

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

          @szecca1 are you 100% sure that 10.2.255.255 is that networks 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! 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 W 2 Replies Last reply Jun 17, 2015, 6:38 PM Reply Quote 0
          • S
            szecca1 @Tom Elliott
            last edited by Jun 17, 2015, 6:38 PM

            @Tom-Elliott I worked with @Wayne-Workman and he helped me figure that out by converting an IP address into that. Previous posts go through it and thats what we came to the conclusion it is.

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Jun 17, 2015, 6:45 PM

              What is the subnet mask of your network? Class A, B, C?

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

                @Tom-Elliott Subnet mask is 255.255.0.0, class B

                1 Reply Last reply Reply Quote 0
                • W
                  Wayne Workman @Tom Elliott
                  last edited by Jun 17, 2015, 6:54 PM

                  @Tom-Elliott said:

                  @szecca1 are you 100% sure that 10.2.255.255 is that networks broadcast address?

                  If the info he gave me is correct, I can assure that what we came up with is correct, but feel free to doublecheck my work using third party tools: http://www.subnetonline.com/pages/subnet-calculators/ip-subnet-calculator.php

                  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, 7:36 PM Reply Quote 0
                  • S
                    szecca1 @Wayne Workman
                    last edited by Jun 17, 2015, 7:36 PM

                    @Wayne-Workman As long as all you needed was a random IP address and the subnet that info is correct. The only thing weird is the website you sent is saying we are a class A even though we are a class B.

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Jun 17, 2015, 7:41 PM

                      That’s often the case class a class B classy are usually directed by the first octet one through 126.whatever is considered class a, 128.whatever through 191.whatever is considered class b,192 up is class c

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

                        @Tom-Elliott ok that makes sense, and I ran another test and still wake on lan is not working. At this point I am not sure what to do. The imaging works perfectly but the clients have to be on in order for the imaging to go through, obviously.

                        1 Reply Last reply Reply Quote 0
                        • W
                          Wayne Workman
                          last edited by Wayne Workman Jun 17, 2015, 1:49 PM Jun 17, 2015, 7:49 PM

                          Your public IP might be a Class B address…

                          But internally, you have Class A addressing via NAT.

                          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, 7:52 PM Reply Quote 0
                          • S
                            szecca1 @Wayne Workman
                            last edited by Jun 17, 2015, 7:52 PM

                            @Wayne-Workman “The three default subnet masks are 255.0.0.0 for Class A, 255.255.0.0 for class B, and 255.255.255.0 for Class C.”

                            From this my impression is we have a class B subnet mask but I could be wrong, but I dont think this matters as whichever class it is, wake on lan isnt working lol

                            W 1 Reply Last reply Jun 17, 2015, 7:57 PM Reply Quote 0
                            • W
                              Wayne Workman @szecca1
                              last edited by Jun 17, 2015, 7:57 PM

                              @szecca1

                              OK… troubleshooting time I suppose.

                              You need to find a utility that will send a wake-on-lan packet to your desired IP address… (the broadcast address).

                              Then,
                              Go on site and see if you can broadcast a WOL packet and see if computers start up. If it works, then your switches / router configurations are to blame.

                              If it doesn’t work… maybe make sure WOL is enabled on those computers… maybe try to WOL an individual client and see if that works.

                              Report back and we will go from there.

                              I’d recommend trying this one:
                              http://sourceforge.net/projects/aquilawol/

                              properties2.png

                              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 18, 2015, 1:26 PM Reply Quote 0
                              • S
                                szecca1 @Wayne Workman
                                last edited by Jun 18, 2015, 1:26 PM

                                @Wayne-Workman I just downloaded this program and tested it exactly how you had asked and the computer wakes up perfectly fine. I then turned it off and attempted to wake on lan again from FOG and again to no avail. So you’re saying it’s a switch/router config thats to blame but I am not sure where that could be.

                                1 Reply Last reply Reply Quote 0
                                • C
                                  cml Moderator
                                  last edited by cml Jun 18, 2015, 8:39 AM Jun 18, 2015, 2:38 PM

                                  One thing you can try is sending the packet from the command line with wakeonlan

                                  wakeonlan 28:D2:44:0C:D9:9B
                                  Sending magic packet to 255.255.255.255:9 with 28:D2:44:0C:D9:9B
                                  

                                  Do you have wireshark? If so set the filter to wol and see if you get a packet, if not your switches may be blocking it.

                                  Here were the relevent Cisco commands I had to set on our 4500:

                                  ***fogserver vlan***
                                  interface Vlan2					
                                   ip helper-address 10.2.255.255
                                  !
                                  ***high network vlan***
                                  interface Vlan1					
                                   ip helper-address 10.1.0.119
                                   ip directed-broadcast 101
                                  !
                                  ip forward-protocol udp echo
                                  ip forward-protocol udp discard
                                  
                                  access-list 101 permit udp host 10.1.0.119 any eq echo
                                  access-list 101 permit udp host 10.1.0.119 any eq discard
                                  
                                  
                                  S 1 Reply Last reply Jun 18, 2015, 5:02 PM Reply Quote 2
                                  • S
                                    szecca1 @cml
                                    last edited by Jun 18, 2015, 5:02 PM

                                    @cml Capture.PNG
                                    I attempted to do that and by the image you see I tried exactly the same thing and the computer doesnt turn on.
                                    I have wireshark but have never used the program to know how to filter to wol

                                    C 1 Reply Last reply Jun 18, 2015, 5:07 PM Reply Quote 0
                                    • C
                                      cml Moderator @szecca1
                                      last edited by Jun 18, 2015, 5:07 PM

                                      @szecca1

                                      In wireshark first select your connection and then click start
                                      upload-e49875ba-fccb-4db4-bd77-9fbaf92d62fe

                                      Once started type wol into the filter box and click on apply.

                                      This is what it looks like when I send a wol:
                                      upload-9b5bc60e-7570-4aff-83dc-0481f839b087

                                      S 1 Reply Last reply Jun 18, 2015, 5:17 PM Reply Quote 1
                                      • S
                                        szecca1 @cml
                                        last edited by Jun 18, 2015, 5:17 PM

                                        @cml Capture.PNG

                                        Ok i did exactly what you said. the top one is from a computer in the 10.1.x.x address and the bottom one which is the one that worked is from the 10.2.x.x address.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          cml Moderator
                                          last edited by Jun 18, 2015, 5:23 PM

                                          The top one is on the same subnet as your fog server correct?

                                          Try running wireshark on the bottom machine (i assume it is on the same subnet as your target), but send the wol from your fog server.

                                          S 1 Reply Last reply Jun 18, 2015, 5:32 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 2 / 4
                                          2 / 4
                                          • First post
                                            35/73
                                            Last post

                                          197

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project