Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Maximum IP adresses issued on LAN, and I can not get internet access.

    Scheduled Pinned Locked Moved DHCP and DNS
    33 Posts 7 Posters 5.9k Views
    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.
    • R
      ronboth
      last edited by

      @doktornotor:

      Sigh. I give up. Making your LAN smaller will NOT help to solve lack of available IPs caused by assigning a yet even smaller subset of the available LAN range to the DHCP server. Kindly Google for some subnet calculator.

      Ok .

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        So pfsense gets 10.0.3.9 on its wan, what is its gateway - can it ping that?  So your behind a nat already,so double nat.

        Until pfsense itself can get to the internet, no clients will ever be able to get to the internet.

        What do you have in front of pfsense?

        As to the mask stuff.. So your lan with /16 gives you 65k addresses to work with 192.168.0.1 to 192.168.255.254, you could your make your dhcp scope had out all of those or any portion of those you want to hand out.

        That mask is to big if you ask me, if you need 1000 users then I would make the mask on the lan /22 - or I would make multiple segments vs putting all those users in 1 segment.  Please don't take this the wrong way - but if your having issues with this basic stuff, I am curious why are you trying to set this up.  Wifi network for 1000 users would normally require way more than 3 AP, unless you only expected a very small portion of that user base to ever be on at the same time.

        Lets say you you had = split between 3 AP, that is 333 users on each AP all sharing the bandwidth.  What APs did you put in?  Hope some very high end enterprise grade - or do you have some soho routers your trying to use as AP?  Even the highest end AP wouldn't do very good with 300 clients on them ;)

        I would suggest you hire company/consultant that deals with wifi installs of this nature to best help you make the users happy, etc.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • R
          ronboth
          last edited by

          @johnpoz:

          So pfsense gets 10.0.3.9 on its wan, what is its gateway - can it ping that?  So your behind a nat already,so double nat.

          YES

          Until pfsense itself can get to the internet, no clients will ever be able to get to the internet.

          What do you have in front of pfsense?

          As to the mask stuff.. So your lan with /16 gives you 65k addresses to work with 192.168.0.1 to 192.168.255.254, you could your make your dhcp scope had out all of those or any portion of those you want to hand out.

          That mask is to big if you ask me, if you need 1000 users then I would make the mask on the lan /22 - or I would make multiple segments vs putting all those users in 1 segment.  Please don't take this the wrong way - but if your having issues with this basic stuff, I am curious why are you trying to set this up.  Wifi network for 1000 users would normally require way more than 3 AP, unless you only expected a very small portion of that user base to ever be on at the same time.

          We are installing 18, 3 is a test. There are a 1000 people in the building for the summer months, almost empty off season. I just want not to run out of IPs, I have no idea howe many devices. tablets computers and phones. 10 per unit maybe.

          Lets say you you had = split between 3 AP, that is 333 users on each AP all sharing the bandwidth.  What APs did you put in?  Hope some very high end enterprise grade - or do you have some soho routers your trying to use as AP?  Even the highest end AP wouldn't do very good with 300 clients on them ;)

          The 18 APs will service no more than 60 users each and we will add more later when adoption ramps up.

          I would suggest you hire company/consultant that deals with wifi installs of this nature to best help you make the users happy, etc.

          Anyone interested ? I do not want to F it up.

          1 Reply Last reply Reply Quote 0
          • R
            ronboth
            last edited by

            I put netgear nighthawk wireless routers r7000 ac1900 for the test some with tomato firmware and netgear, and will be running them as APs. They are limited to 32 connections per channel running netgears firmware.

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              "The 18 APs will service no more than 60 users each and we will add more later when adoption ramps up. "
              "I put netgear nighthawk wireless routers r7000 ac1900 for the test "

              So these home routers AC1900, r7000 are just tests.. What AP are you going to use in production?  You can not be serious that you would roll out home routers as AP in such a setup??

              60 users each is a LOT if you expect any sort of actual performance.

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

              1 Reply Last reply Reply Quote 0
              • K
                kejianshi
                last edited by

                @doktornotor:

                Sorry I still do not get why are you using so small DHCP range (subset of /24) when you already have /16 in use on your LAN.

                I'm not sure if you understand /24 /16 /8 etc prefixes, so I will post this.

                https://www.ripe.net/images/cidr_working42.jpg

                The reason I said use 2 /24s or maybe even 3 if you have the interfaces for it is because thats simple and easy and most consumer equipment defaults to using /24s anyway.

                You can get lots of IPs on a single interface by making your prefix size larger (which means using smaller namubers - /16 is bigger than /24)

                For instance, using a /23 on your LAN would get you 512 addresses.

                1 Reply Last reply Reply Quote 0
                • DerelictD
                  Derelict LAYER 8 Netgate
                  last edited by

                  What's the budget for the project?

                  What do you have in place for switching and PoE?

                  Are you running new cables to the optimal locations (usually in ceilings) or are you just putting them wherever there is already a run? If the latter, where are they typically located?

                  Are you going to try to rely on meshing in any locations?

                  What's the general building construction?  How many floors?

                  How did you arrive at the 18 AP number?  Seems WAY too low at 10.3 apartment units per AP.

                  What kind of performance is expected?

                  Growth over 5-7 years (think about increases in associated devices)?

                  Any other requirements (captive portal, multiple BSSIDs, etc)?

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • DerelictD
                    Derelict LAYER 8 Netgate
                    last edited by

                    @kejianshi:

                    The reason I said use 2 /24s or maybe even 3 if you have the interfaces for it is because thats simple and easy and most consumer equipment defaults to using /24s anyway.

                    Using multiple subnets on the same SSID is tricky.  I don't believe there is any requirement to renew DHCP when roaming from AP to AP.

                    With wired you can do whatever you want.  Wireless, not so much.

                    Chattanooga, Tennessee, USA
                    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                    Do Not Chat For Help! NO_WAN_EGRESS(TM)

                    1 Reply Last reply Reply Quote 0
                    • K
                      kejianshi
                      last edited by

                      Then that leaves changing prefix size.  Its just that anyone who could set that up easily wouldn't have asked the question to begin with.

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        ^ exactly those are all basic questions on setting up something like this.

                        Plus many more, many!  Budget for a rollout of this sort of thing is going to be in the 10's of Ks most likely.  There is a huge difference between setting up a wifi ap in your house or smb vs something like this with 1000 users in a high rise anything.  Are you attempting to just cover common areas in the building or the apt themselves.

                        Are the apt owners running their own wifi?  Do they have wired internet now?  That could cause huge issues with wifi noise.  To think such a project could be done by someone that does not even understand basic netmasks..  No offense but you are so far over head..

                        Only thing I can say positive is you picked pfsense ;)

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                        1 Reply Last reply Reply Quote 0
                        • R
                          ronboth
                          last edited by

                          Thank you all ! I got it running….. moved the server in between the cable modem and the switch.

                          I would buy everyone here a few beers for your help. You all have brought from me from semi retarded IP class, to handicapped level !

                          @kejianshi:

                          @doktornotor:

                          Sorry I still do not get why are you using so small DHCP range (subset of /24) when you already have /16 in use on your LAN.

                          I'm not sure if you understand /24 /16 /8 etc prefixes, so I will post this.

                          https://www.ripe.net/images/cidr_working42.jpg

                          The reason I said use 2 /24s or maybe even 3 if you have the interfaces for it is because thats simple and easy and most consumer equipment defaults to using /24s anyway.

                          You can get lots of IPs on a single interface by making your prefix size larger (which means using smaller namubers - /16 is bigger than /24)

                          For instance, using a /23 on your LAN would get you 512 addresses.

                          1 Reply Last reply Reply Quote 0
                          • R
                            ronboth
                            last edited by

                            Thank you , now I understand  that Ethernet interfaces gives more IPs.

                            @kejianshi:

                            Use 2 interfaces with each having a /24

                            Use 3 if you need a management interface.

                            This is easy and cheap.

                            1 Reply Last reply Reply Quote 0
                            • K
                              kejianshi
                              last edited by

                              And so does using a /23 or /16 or whatever.  So, be sure of your needs.

                              1 Reply Last reply Reply Quote 0
                              • R
                                ronboth
                                last edited by

                                Any recommendations  for ones you have used ? Fast and reliable ….and off the shelf ..

                                I like off the shelf ones, the maintance department in the building can plug a spare preconfigured one in , for a hot swap, go to local store 10 minutes away and replace.

                                I meant that net gear published a max of around 30 users per channel.  Most users will be just surfing or email. The reason I am installing this software to manage and monitor the bandwidth.  I just want them to support the highest speed, for the least amount of money, with of course reliability. I am in the testing phase. The netgear router did not fart or burp with 10 simo video streams. I have no way to test more right now.

                                thank you

                                @johnpoz:

                                "The 18 APs will service no more than 60 users each and we will add more later when adoption ramps up. "
                                "I put netgear nighthawk wireless routers r7000 ac1900 for the test "

                                So these home routers AC1900, r7000 are just tests.. What AP are you going to use in production?  You can not be serious that you would roll out home routers as AP in such a setup??

                                60 users each is a LOT if you expect any sort of actual performance.

                                1 Reply Last reply Reply Quote 0
                                • DerelictD
                                  Derelict LAYER 8 Netgate
                                  last edited by

                                  I just want them to support the highest speed, for the least amount of money, with of course reliability.

                                  "Pick any two"

                                  The bare minimum I would look at for this is Ubiquiti UniFi.

                                  I like off the shelf ones, the maintance department in the building can plug a spare preconfigured one in , for a hot swap, go to local store 10 minutes away and replace.

                                  Except that when something fails in 18 months you find that what you've deployed was discontinued and is no longer available.

                                  Have spares.

                                  It truly boggles the mind that people think Wi-Fi home routers scale to something like this.

                                  I would start by buying a UniFi UAP Pro, installing it, and performing a survey to see how well it covers your construction.  As a GENERAL rule of thumb, I would shoot for no less than -67 on 5GHz.  2.4 will be stronger.

                                  I would stop worrying about users per AP/radio.  I believe you are going to find that in an apartment setting, you cannot get a strong enough signal to enough people to have to worry about it with anything resembling quality radios.

                                  Chattanooga, Tennessee, USA
                                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                  1 Reply Last reply Reply Quote 0
                                  • johnpozJ
                                    johnpoz LAYER 8 Global Moderator
                                    last edited by

                                    Dude if I was trying to do something like this on shoestring budget I would deploy unifi AP, the entry levels are $70 - pros would be better at $200 each.

                                    They are the cheapest AP with at least some enterprise features, etc.  And a controller to give you details of how many clients, how they are connected, bandwidth used, etc. etc.  Zero Handoff, etc..  Ceiling mounted POE.

                                    https://www.ubnt.com/unifi/unifi-ap/

                                    These would allow someone to just swap new on it, etc.  Not sure how you expect someone to swap in a soho router as AP unless its been pre setup as AP, etc.

                                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                                    If you get confused: Listen to the Music Play
                                    Please don't Chat/PM me for help, unless mod related
                                    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      ronboth
                                      last edited by

                                      @Derelict:

                                      What's the budget for the project?

                                      I am personally funding the test trial, budget is low of course.

                                      What do you have in place for switching and PoE?

                                      All Gig managed switches and 200 mb comcast connection

                                      Are you running new cables to the optimal locations (usually in ceilings) or are you just putting them wherever there is already a run? If the latter, where are they typically located?

                                      cat5e between gig switch to each AP.

                                      Are you going to try to rely on meshing in any locations?

                                      No.

                                      What's the general building construction?  here is their web site :http://thegardensplaza.com/

                                      1 FT Cement floors, I am getting 3 floors with 75 % speed and very strong signal, there are cement columns in certain locations

                                      How many floors?

                                      15 floors - each floor has 14 units, building is 340 FT wide by approx 60 FT.

                                      How did you arrive at the 18 AP number?

                                      10 Apartments per AP. some what educated guess. Maybe If I put four per every other floor it would be better.

                                      Seems WAY too low at 10.3 apartment units per AP.

                                      Yes, you are right. the average age of owners is 50 to 60 years old plus is the demographic.

                                      Initally , I think it will be enough, but when the season hits, I am worried. I have a 900 SF unit, and my family has 5-7 devices, multiple that by 185. Some units might have one.

                                      What kind of performance is expected?

                                      High, network should support video streaming Roku, apple TV and Amazon boxes, bandwidth is top priority.

                                      Growth over 5-7 years (think about increases in associated devices)?

                                      More bandwidth usage, not number of users.

                                      Any other requirements (captive portal, multiple BSSIDs, etc)?

                                      Captive portal, authentication

                                      1 Reply Last reply Reply Quote 0
                                      • DerelictD
                                        Derelict LAYER 8 Netgate
                                        last edited by

                                        @ronboth:

                                        What's the budget for the project?

                                        I am personally funding the test trial, budget is low of course.

                                        What do you have in place for switching and PoE?

                                        All Gig managed switches and 200 mb comcast connection

                                        PoE?

                                        Are you running new cables to the optimal locations (usually in ceilings) or are you just putting them wherever there is already a run? If the latter, where are they typically located?

                                        cat5e between gig switch to each AP.

                                        You didn't really answer the questions.

                                        What's the general building construction?  here is their web site :http://thegardensplaza.com/

                                        1 FT Cement floors, I am getting 3 floors with 75 % speed and very strong signal, there are cement columns in certain locations

                                        I call bullshit on this one. 1 foot of concrete decimates 2.4 and especially 5.  What are the numbers?

                                        As occupancy goes up, so does noise.  What works in testing will fall on its face when you have everyone bringing in their phones and Mi-Fis on nonstandard channels.  You want this to work well enough everywhere that they never even think about getting the Mi-Fi out of their laptop bag.

                                        How many floors?

                                        15 floors - each floor has 14 units, building is 340 FT wide by approx 60 FT.

                                        How did you arrive at the 18 AP number?

                                        10 Apartments per AP. some what educated guess. Maybe If I put four per every other floor it would be better.

                                        Seems WAY too low at 10.3 apartment units per AP.

                                        Yes, you are right. the average age of owners is 50 to 60 years old plus is the demographic.

                                        Initally , I think it will be enough, but when the season hits, I am worried. I have a 900 SF unit, and my family has 5-7 devices, multiple that by 185. Some units might have one.

                                        What kind of performance is expected?

                                        High, network should support video streaming Roku, apple TV and Amazon boxes, bandwidth is top priority.

                                        You and your users are going to be extremely disappointed.

                                        Growth over 5-7 years (think about increases in associated devices)?

                                        More bandwidth usage, not number of users.

                                        Take another look at the trends.  There's this current buzzword called the Internet of Things.

                                        Any other requirements (captive portal, multiple BSSIDs, etc)?

                                        Captive portal, authentication

                                        Authentication against what?

                                        Chattanooga, Tennessee, USA
                                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                        1 Reply Last reply Reply Quote 0
                                        • johnpozJ
                                          johnpoz LAYER 8 Global Moderator
                                          last edited by

                                          You don't just throw some home wifi routers together and call it a trial for wifi to cover a building of this nature.

                                          Unless your wanting to just give guest access in the lobby or something?

                                          My suggestion to you is hire someone to do this correctly, or what is going to happen is spend money and time just to crash and burn..

                                          As to your budget - low would be 20K for a project of this nature if you ask me for shoot from the hip number, and that dreaming low to be honest.

                                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                                          If you get confused: Listen to the Music Play
                                          Please don't Chat/PM me for help, unless mod related
                                          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                          1 Reply Last reply Reply Quote 0
                                          • DerelictD
                                            Derelict LAYER 8 Netgate
                                            last edited by

                                            Just for hardware.

                                            Chattanooga, Tennessee, USA
                                            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                            Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.