• Hi everybody !

    I have a simple question.

    I set up a server with pfsense (proxy, captive portal) and this is my network below.

    -I have a router (box) with as IP connected to the first Nic card
    -I put for WAN ip
    -I put for LAN ip so my server ip is with an access point (captive portal) into the secon Nic card
    -My DHCP server ip range is: from to

    I tested and everything works.

    But is it a problem or not to put for the WAN ip and for the LAN ip ? is there a conflict even if dhcp range is from to ?

    BOX –---------------------------------PFSENSE SERVER-------------------------------ACCESS POINT                      from to

    Thank you so much for your help ;-)

  • LAYER 8 Netgate

    If anything works it's a fluke. covers to  That includes

    Choose subnets that don't overlap/conflict with each other.

  • Hi Derelict

    Thank you for your help.

    If i put for the lan IP and i set up my dhcp server as:  from to
    and i let my ip wan as

    is it good ?

    Thanks !

  • LAYER 8 Global Moderator

    Dude why do you think you need /20 ???  And sorry but network range is to so that overlaps with your WAN

    You do understand that /20 is 4000 address, do you really have need of 4000 addresses on your lan network??

  • LAYER 8 Netgate

    It doesn't matter what you use in the /20.  It covers -  You need to put all other networks OUTSIDE that range.  An example for attached.  Still in the same subnet.

    ![Screen Shot 2015-03-14 at 12.47.04 PM.png](/public/imported_attachments/1/Screen Shot 2015-03-14 at 12.47.04 PM.png)
    ![Screen Shot 2015-03-14 at 12.47.04 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2015-03-14 at 12.47.04 PM.png_thumb)

  • yes i know it is about 3500 IPs !

    i can reduce but i need at least 1000 IPs because it is for a beach with some events during the summer…

  • Banned

    Dude, just pick something out of 192.168.x.x range entirely.


  • LAYER 8 Netgate

    SMH - You might want to hire someone to design this for you.

  • ok thank you for your help !
    I appreciate…

    i will put for the lan IP and i set up my dhcp server as:  from to
    and i let my ip wan as

    Have a nice day

  • LAYER 8 Global Moderator

    So your going to have 1000 devices on how many AP?  On the same segment?  You might want to have multiple segments if you need 1000 plus devices.

    And your going to run this connection behind a double nat?  What do you have in front of pfsense doing nat that its on  Can it handle the number of sessions 1000 devices would create.. I don't think so if its some soho device.  Shoot a p2p client can take down many soho routers.

    Im with Derelict on this - I think your over your head if you don't even understand basic network masks and trying to design something that 1000 devices will be using.

    Dude sorry but /22 is -, again your overlapping..  You just don't understand subnetting at all I take it..

    If you want to use a /22 mask, then your lan could be and then set your dhcp scope from to

  • Banned

    Which part of move it out of 192.168.x.x entirely is so horribly hard to get…

  • LAYER 8 Global Moderator

    ^ while I agree that would be the simple solution dok, it for sure will not teach him anything ;)

    Subnets break at specific points depending on the mask, you can't just take any number and start your network at that mark.

    He mentions a beach and needing a 1000 IPs - so how many AP is that?  What kind?  And what is in front of this pfsense..  What I don't want to happen is your network crash and burn and you blame it on pfsense.  Which can handle 1000 devices without breaking a sweat if on the right hardware.  What are you running pfsense on?  What is your bandwidth that these 1000 users are going to share?

  • Finally I follow doktornotor advice, and I put for LAN and it works !

    (6 Cisco AP behind a switch)

  • Banned


    (6 Cisco AP behind a switch)

    Hope you don't mean the Linksys/Belkin "Ciscos".

  • Cisco Aironet 702i

  • LAYER 8 Netgate

    With an even distribution of users (wishful thinking) and typical 5GHz take you're looking at 100 associations per radio on 2.4 and 66 associations on 5GHz.

    I have no real-world experience with the Cisco 702s.  They ought to be able to handle it.  I know ruckus 7372s and 7982s have no problem with that number of associations.  Hopefully you also have a controller.  I think there are wireless controllers built into current Cisco switches.

  • normally, i have 100-200 connections per day but sometimes (1 or 2 days per month, i have an event between 500-800 persons can come this day and they want to Tag or put Selfie on facebook  :(

  • LAYER 8 Global Moderator

    6 AP with 1000 clients is = 166 clients each if you got an pure equal dist, good luck with that.  Those are controller based, you have controller setup?  Those are indoor APs - thought you said this was on a beach?

    What kind of area are you talking?  Those ae only 2x2 AP.. Not going to be the best for lots of clients each, etc.

    There is a huge difference of 200 a DAY over 6 AP compared to 800 at the same time sharing those 6.

  • When i say 800 clients it is a maximum. They will not be there in the same time, because we are opening from 1pm to 8pm and maybe 300-400 it is the maximum in one hour.

    this is a great beach, and people will be scattered equally because they can not stand in one place. So i think 6 cisco ap with 300-400 persons at the maximum (because they stay 2 or 3 hours maximum), i think it will be good… and it is only for 1 or 2 days per month !

    they won't donwload, only go on facebook or read emails.

  • LAYER 8 Global Moderator

    how do you have these indoor AP mounted at a beach?  They must actually be inside structures?