ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.

    IT Discussion
    dhcp ip helper iphelper vlan
    7
    46
    3.9k
    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.
    • DashrenderD
      Dashrender
      last edited by

      Why are you moving DHCP to Windows from your SonicWall?

      FYI - DHCP/DNS usage requires Windows CALs - i.e. if you are putting this on a guest network, technically you'll need licenses for every device that gets a DHCP address (company users should be covered by their user CAL, but guests would need one). This is why you should leave DHCP for any guest networks on something that doesn't costs licenses - like the Sonicwall.

      J 1 Reply Last reply Reply Quote 2
      • J
        JasGot @Dashrender
        last edited by

        @Dashrender said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

        First things first - did this ever work? or is this a new setup?

        It's been problematic since we moved the Guest WiFi to a VLAN. The more visitors, the more serious and aggressive the problem.

        Is the sonicwall what is routing packets between VLANs?

        Yes.

        If the sonicwall is routing packets between the VLANs, then it will need an interface in all the VLANs.

        There is only the non VLAN LAN (X0) and the VLAN (X0:10)

        When you created the VLAN 10 interface on the X0 interface, did you also assign tagged VLAN 10 traffic to that port on the Cisco switch side?

        When I mentioned Cisco above, it was only in reference of the documentation I found online. This environment is a Sonicwall acting as the router/firewall and all UniFi switches.

        The sonicwall is plugged into port 48 on one of the switches and that port is set to the All profile.

        Appreciate your time on this.

        J DashrenderD 2 Replies Last reply Reply Quote 0
        • J
          JasGot @Dashrender
          last edited by

          @Dashrender said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

          FYI - DHCP/DNS usage requires Windows CALs - i.e. if you are putting this on a guest network, technically you'll need licenses for every device that gets a DHCP address

          And I really appreciate this reminder! What a catastrophe that would have been!

          1 Reply Last reply Reply Quote 0
          • J
            JasGot @JasGot
            last edited by

            @JasGot said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

            There is only the non VLAN LAN (X0) and the VLAN (X0:10)

            I should rephrase this. There is a VLAN 100 that is mostly isolated from the LAN and it is for the phones. They have their own dhcp server and PBX managed by someone else. (For now!)

            DashrenderD 1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender @JasGot
              last edited by Dashrender

              @JasGot said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

              The sonicwall is plugged into port 48 on one of the switches and that port is set to the All profile.

              OK, so this is how the SonicWall can get access to the third VLAN physically, though since you don't have a second virtual port created on that connection on the SonicWall side, I don't see how the SonicWall is talking to that network.

              Can you give us a bit more detail?

              i.e. something like this
              SonicWall
              Internal
              X0 - LAN (192.168.100.x/24) (DHCP - AD)
              X0:10 - Guest (192.168.10.x/24) (DHCP - SonicWall)

              VLAN 3 - phones/VOIP (10.10.10.x/24) (DHCP - PBX)

              *edit - After seeing your last post, I think the above is what you have.

              J 2 Replies Last reply Reply Quote 0
              • DashrenderD
                Dashrender @JasGot
                last edited by

                @JasGot said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                @JasGot said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                There is only the non VLAN LAN (X0) and the VLAN (X0:10)

                I should rephrase this. There is a VLAN 100 that is mostly isolated from the LAN and it is for the phones. They have their own dhcp server and PBX managed by someone else. (For now!)

                Awww, so this network has not internet access at this time?

                J 1 Reply Last reply Reply Quote 0
                • J
                  JasGot @Dashrender
                  last edited by

                  @Dashrender said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                  OK, so this is how the SonicWall can get access to the third VLAN physically, though since you don't have a second virtual port created on that connection on the SonicWall side, I don't see how the SonicWall is talking to that network.

                  The Sonicwall has no interaction with that third VLAN (which is the phones). The phone talk to their own PBX, the PBX has two NICs, one for the phones, one on my LAN.

                  DashrenderD 1 Reply Last reply Reply Quote 0
                  • J
                    JasGot @Dashrender
                    last edited by

                    @Dashrender said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                    Awww, so this network has not internet access at this time?

                    Correct, and should never have it.

                    @JasGot said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                    The Sonicwall has no interaction with that third VLAN (which is the phones). The phone talk to their own PBX, the PBX has two NICs, one for the phones, one on my LAN.

                    1 Reply Last reply Reply Quote 0
                    • J
                      JasGot @Dashrender
                      last edited by

                      @Dashrender said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                      Can you give us a bit more detail?
                      i.e. something like this
                      SonicWall
                      Internal
                      X0 - LAN (192.168.100.x/24) (DHCP - AD)
                      X0:10 - Guest (192.168.10.x/24) (DHCP - SonicWall)
                      VLAN 3 - phones/VOIP (10.10.10.x/24) (DHCP - PBX)

                      You are spot on.
                      I just mocked this up, does it help?
                      a0356842-ea23-4074-92d0-36b73c80d0c9-image.png

                      1 Reply Last reply Reply Quote 0
                      • DashrenderD
                        Dashrender @JasGot
                        last edited by

                        @JasGot said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                        @Dashrender said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                        OK, so this is how the SonicWall can get access to the third VLAN physically, though since you don't have a second virtual port created on that connection on the SonicWall side, I don't see how the SonicWall is talking to that network.

                        The Sonicwall has no interaction with that third VLAN (which is the phones). The phone talk to their own PBX, the PBX has two NICs, one for the phones, one on my LAN.

                        yeah, this is the way that many PBX vendors pretty much demand to be setup, though they can't really tell you why - they'll say "it's about ensuring traffic to the devices because of QOS", etc... but then - is QOS actually setup on your switches for the given VLAN?
                        But really, in modern networking, if you have to rely on QOS because of network congestion at the switch level, you should really be solving that problem, not using the bandaid of QOS.

                        So with all that in mind, moving the PBX and phones onto the same VLAN as the production LAN should not be an issue - though, you will have to solve the DHCP issues since you'll likely not be using the PBX DHCP server, but instead either SonicWall or AD (you'll have to add some scope options) will be updated.

                        1 Reply Last reply Reply Quote 2
                        • DashrenderD
                          Dashrender
                          last edited by

                          In your setup, you should not need an IP helper address. The Sonicwall is directly attached to both corporate LAN and guest LAN, so there is no routing of DHCP packets happening.

                          If DHCP is not being handed out - I would suspect the SonicWall is broken - is there a firmware update for it?

                          J 2 Replies Last reply Reply Quote 0
                          • J
                            JasGot @Dashrender
                            last edited by

                            @Dashrender said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                            In your setup, you should not need an IP helper address. The Sonicwall is directly attached to both corporate LAN and guest LAN, so there is no routing of DHCP packets happening.

                            Right, but if I move DHCP to another device, I will. (Even if not, I would still like to understand it better. Which for me, means making it work, then reverting to the original config.)

                            If DHCP is not being handed out - I would suspect the SonicWall is broken - is there a firmware update for it?

                            I'll check. But I think it is current. Don't forget, I also suspect it's the scenario that introduces the problem, which means it could be the IPhone, the Unifi, or the Sonicwall.

                            1 Reply Last reply Reply Quote 0
                            • J
                              JasGot @Dashrender
                              last edited by JasGot

                              @Dashrender said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                              I would suspect the SonicWall is broken

                              I read where the Sonicwalls have a hard time with complex DHCP configs and large pools. I'm consolidating and cleaning up right now. It'll be a few days before I see the changes in pool usage.

                              Someone said to use two /24 instead of a single /23 on the sonicwall. They said it behaves much better.

                              I may try that too.

                              DashrenderD scottalanmillerS 2 Replies Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender @JasGot
                                last edited by

                                @JasGot said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                                @Dashrender said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                                I would suspect the SonicWall is broken

                                I read where the Sonicwalls have a hard time with complex DHCP configs and large pools. I'm consolidating and cleaning up right now. It'll be a few days before I see the changes in pool usage.

                                Someone said to use two /24 instead of a single /23 on the sonicwall. They said it behaves much better.

                                I may try that too.

                                How are you using a single /23? that would be a single network... I could see you having two /23 networks, one for LAN and one for Guest, nothing should be wrong with that. You don't have to put the whole range into the DHCP available addresses either, you could limit it to say 100, or what actually fits your needs.

                                If you have more than 250 devices, using a /23 is every helpful, preventing you from needing to have multiple LANs of /24 and routing between them.

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  JasGot @Dashrender
                                  last edited by

                                  @Dashrender said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                                  How are you using a single /23? that would be a single network

                                  X0 - 192.168.0.1/23 - LAN
                                  X0:10 - 192.168.10.0/23 - VLAN

                                  DashrenderD 1 Reply Last reply Reply Quote 0
                                  • DashrenderD
                                    Dashrender @JasGot
                                    last edited by

                                    @JasGot said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                                    @Dashrender said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                                    How are you using a single /23? that would be a single network

                                    X0 - 192.168.0.1/23 - LAN
                                    X0:10 - 192.168.10.0/23 - VLAN

                                    OK - man, if the sonicwall has issues with that, I'd dump them.... well, I'd dump them anyway. 😉

                                    1 Reply Last reply Reply Quote 1
                                    • scottalanmillerS
                                      scottalanmiller @JasGot
                                      last edited by

                                      @JasGot said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                                      Someone said to use two /24 instead of a single /23 on the sonicwall. They said it behaves much better.

                                      Someone thinks that that hardware is garbage! I'm no fan, but I've never even hinted at a SonicWall being that bad. That's a serious level of not believing in the gear.

                                      dbeatoD 1 Reply Last reply Reply Quote 1
                                      • notverypunnyN
                                        notverypunny
                                        last edited by

                                        Off the top of my head, another option would be to throw a Pi with pihole directly on your vlan10 and have it do your DHCP as well as all of the pihole adblocking. Just food for thought. Looking at the setup, I'd also make sure that you don't have anything else on that vlan10 set as a dhpc server or with a dhcp-relay.

                                        DashrenderD 1 Reply Last reply Reply Quote 0
                                        • DashrenderD
                                          Dashrender @notverypunny
                                          last edited by

                                          @notverypunny said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                                          Off the top of my head, another option would be to throw a Pi with pihole directly on your vlan10 and have it do your DHCP as well as all of the pihole adblocking. Just food for thought. Looking at the setup, I'd also make sure that you don't have anything else on that vlan10 set as a dhpc server or with a dhcp-relay.

                                          good point - hadn't considered that.

                                          @JasGot - you could put a device with wireshark on that network and look for DHCP requests/responses...

                                          1 Reply Last reply Reply Quote 0
                                          • dbeatoD
                                            dbeato @scottalanmiller
                                            last edited by

                                            @scottalanmiller said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                                            @JasGot said in Need to better understand IP Helper for accessing Windows DHCP Server from VLAN.:

                                            Someone said to use two /24 instead of a single /23 on the sonicwall. They said it behaves much better.

                                            Someone thinks that that hardware is garbage! I'm no fan, but I've never even hinted at a SonicWall being that bad. That's a serious level of not believing in the gear.

                                            I have been using Sonicwalls for a long time and recently moved to Sophos XG Firewalls but that has never been an issue. /23 when planned properly works well on Sonicwall.

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