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

    DHCPs assign wrong pools

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    76 Posts 7 Posters 31.2k 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.
    • A
      alexus
      last edited by

      aaaaaa…. im gonna kill myself....

      ok, lets do that in small steps...

      a. what comercial hotspots have u played with?
      b. lets say I want to use LAN2 and Wireless withr the same DHCP, but so that one of the interfacesc could be down and another work independantly... how would I do that?

      c. if I want to have HOtSpot working for both, 1 wireless port and 1 lan port, how would u do that?

      1 Reply Last reply Reply Quote 0
      • A
        alexus
        last edited by

        yes hotspot is captive portal…
        the boxes are the ports, either physical or logical
        routing is basic NAT from WAN to local

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by

          @alexus:

          aaaaaa…. im gonna kill myself....

          Is this necessary?  If you think you are frustrated then you should take a step back and ponder how we feel receiving this type of behavior.

          @alexus:

          ok, lets do that in small steps…

          a. what comercial hotspots have u played with?
          b. lets say I want to use LAN2 and Wireless withr the same DHCP, but so that one of the interfacesc could be down and another work independantly... how would I do that?

          Okay, you mention LAN2 here, and below you are going to mention LAN1.  Any chance that you can get your story straight?

          @alexus:

          c. if I want to have HOtSpot working for both, 1 wireless port and 1 lan port, how would u do that?

          Turn the wireless router into bridge mode (not pfsense).  On a lot of linksys models you can simply plug one of the included LAN ports into the pfSense LAN segment and it does exactly what you're looking for.

          Then hook the wireless router up to the LAN port on pfSense.  I'm still not understanding how a LAN2 comes into play… If you need 2 lans then simply hang a switch off pfSense's LAN port and plug both of the real LANs and Wireless into this.

          1 Reply Last reply Reply Quote 0
          • A
            alexus
            last edited by

            um what is the point to use 2nd device if i have all avelible ports on my curent device… 1 WAN, 2 LAN, 1 Wireless....
            the point of all of that is that I want to run captive portal for both desktops and wireless from the same device...  + i need to have 1 port that is not beeing identificated...  this is regular setup for alll commersiall products

            as to the LAN nmaming confusion.... on diagram i just added logical port... so i needed the name for it....

            1 Reply Last reply Reply Quote 0
            • B
              billm
              last edited by

              Sounds almost like you're doing something that the current code can't handle.  We'll await your patch.

              –Bill

              pfSense core developer
              blog - http://www.ucsecurity.com/
              twitter - billmarquette

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by

                @alexus:

                um what is the point to use 2nd device if i have all avelible ports on my curent device… 1 WAN, 2 LAN, 1 Wireless....
                the point of all of that is that I want to run captive portal for both desktops and wireless from the same device...  + i need to have 1 port that is not beeing identificated...  this is regular setup for alll commersiall products

                as to the LAN nmaming confusion.... on diagram i just added logical port... so i needed the name for it....

                You need to be a little more descriptive.  What is the 2nd device you refer to?  The switch?

                1 Reply Last reply Reply Quote 0
                • A
                  alexus
                  last edited by

                  well i can ask my programmers to rwite it, since we where to write full OS on our own, but thats too hard…
                  and even if we will write it for you I have no idea how to integrate it with what you have

                  1 Reply Last reply Reply Quote 0
                  • A
                    alexus
                    last edited by

                    @sullrich:

                    You need to be a little more descriptive.  What is the 2nd device you refer to?  The switch?

                    Second device is the Linsys as you advised….

                    1 Reply Last reply Reply Quote 0
                    • S
                      sullrich
                      last edited by

                      Okay, and what is current device?

                      1 Reply Last reply Reply Quote 0
                      • B
                        billm
                        last edited by

                        @alexus:

                        well i can ask my programmers to rwite it, since we where to write full OS on our own, but thats too hard…
                        and even if we will write it for you I have no idea how to integrate it with what you have

                        Uhh, if you write it, you'd be integrating it.  Kinda dumb to reinvent the wheel when you can just make it a little rounder.

                        –Bill

                        pfSense core developer
                        blog - http://www.ucsecurity.com/
                        twitter - billmarquette

                        1 Reply Last reply Reply Quote 0
                        • A
                          alexus
                          last edited by

                          yes, i can plug in the device but that is a point of failure… and i know that the thing  (wire) wont be there in some install and then I will have to trevvel all acros the country to fix the problem ......aaaa
                          I want regular setup like Cisco or Dlink or Zyxel

                          1 Reply Last reply Reply Quote 0
                          • L
                            lsf
                            last edited by

                            Then i suggest you buy a  Cisco or Dlink or Zyxel :)

                            -lsf

                            1 Reply Last reply Reply Quote 0
                            • A
                              alexus
                              last edited by

                              @billm:

                              Kinda dumb to reinvent the wheel when you can just make it a little rounder.

                              Sometimes its faster to start from scrach….

                              and curent device is the WRAP board

                              1 Reply Last reply Reply Quote 0
                              • A
                                alexus
                                last edited by

                                @lsf:

                                Then i suggest you buy a  Cisco or Dlink or Zyxel :)

                                I have them, wanna buy some of them from me? lol…

                                the problem with them is (are): Low power radio, limited qos, limited hotspot functionality... and for Dlink is no stability...

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sullrich
                                  last edited by

                                  I just looked back over your diagrams and I have no clue what you're trying to spell out there.

                                  From what I have loosely gathered (and I really do mean loosely), my suggestion is to bridge LAN(SIS0) to OPT1(SIS2) and plug the 1st LAN network into SIS0.  Plug the second LAN network into SIS2.  Finally plug you're wireless segment into the LAN1 or LAN2 network.

                                  Without showing us all the devices in use (switches and other interconnecting devices) and where everything is plugged in (and that doesn't mean draw a line to a box that says WAN).    For example, is the WAN box in your drawing supposed to be pfSense?

                                  We really want to help you but we are not getting the entire picture since you are in such a rush to bang out responses very rapidly using nouns to describe items that you should be describing by names, etc.

                                  Please take a moment and spell out the entire picture so we can help you.  Otherwise we are over here pissing in the dark trying to understand you're setup fully and not guessing what current device is, old device, new device, my next year device and finally the device i plan on selling yesterday.  Make sense?

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    alexus
                                    last edited by

                                    ok, will do…

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      cmb
                                      last edited by

                                      @lsf:

                                      Then i suggest you buy a  Cisco or Dlink or Zyxel :)

                                      ;D

                                      Or maybe explain yourself better.  From reading this, I don't think any of us have the slightest clue what on earth you're trying to accomplish.  A network diagram might be helpful.

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        alexus
                                        last edited by

                                        Ok, I thought about how to explain what I’m thinking about … so what I want is this:

                                        4 ports:

                                        WAN (sis0) [Assigned by DHCP]

                                        LAN Local (sis1) [Runs as DHCP server pool 192.168.0.2 - 192.168.0.100, provides internet connectivity from WAN port], NetBIOS ports are Allowed

                                        LAN Authentication (sis2) – Runs DHCP with pool 192.168.1.2 - 192.168.1.100, Connected to the hotspot (captive portal) so all users need to have username/password, NetBIOS ports are filtered

                                        Wireless Authentication (ath0) – Uses, the same DHCP as the “LAN Authentication (Sis2) and assigns the same pool IP addresses, is connected to HotSpot (captive portal) so all users mast use their username/password, NetBIOS ports are filtered

                                        Explanation of the need:
                                        Internet connected to WAN is distributed across all available ports, on LAN Local (sis0) any computer connected is allowed to go on the internet without any restriction, they also can use Windows File Sharing and see each other on the network.

                                        Other 2 ports LAN Authentication and Wireless Authentication are connected to the captive portal (HotSpot) and require using their usernames and passwords to get access to the Internet; they don’t have ability to share files because NetBios ports are disabled on that subnet.  The reason to have 2 ports for Captive portal because the LAN Authentication (sis2) port will be used for desktop machines and Wireless Authentication (ath0) port will be used for Mobile clients that are in the range.

                                        Yes we can use only one LAN Authentication and connect the AP to that port, but that would be unreasonable not to utilize the hardware possibilities that in my case WRAP box has. So I want to have this scenario. That’s what Dlink has, and the reason I am not using Dlink is because they have only 80mW radios inside, so I want to have my own access points and or HotSpot controllers…

                                        Did I make myself clear now?

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sullrich
                                          last edited by

                                          Okay, thanks for taking the time.  This is crystal clear now.

                                          I have bad news, I just tested the Captive Portal on a bridge interface and its not working.  This will not work for 1.0 but will work for 1.1 after we rewrite the interface handling code where the Captive Portal can attach to the bridgeX port vs. the real port.

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            alexus
                                            last edited by

                                            yea bad news, but since you are oing to update Captive portal….

                                            I wonder if it can supportt this features (with or withour RADIUS)

                                            -Speed Control that is assosiated to the user account
                                            -Port controll (like we want to black port 80 for username 'JDoe')
                                            -Capture POP3 traffic and send infor so pepople know they need to login

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