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.6k 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.
    • 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
            • S
              sullrich
              last edited by

              We are not changing anything for 1.0.  It's too late in the release process.  Sorry.

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

                and when are u going to work on 1.1?

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

                  Soon, but its not being released for a long time.

                  1.0 is not even releasedl – its our priority.

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

                    too bad for me…..  :-[

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

                      My suggestion is to get your "programmers" working on the situation to resolve the issue.

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

                        well I can do that too since the product is woking alredy, I think…

                        Can you give me the lisy of the modules that you are using?

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

                          Modules?  Can you be specific?

                          You can see almost all of them from /usr/local/bin and /usr/local/sbin/ if I am understanding you're request.

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

                            yea that what I needed… I will try to get everything I need it it will work I will get back and post you the copy....

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

                              Take a look here?
                              I think it is possible to have Captive portal for both interfaces but, only if all cables are luged in … for now...

                              OPT3 is the Bridge0

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

                                Yes, thats is exactly what we have started refactoring in head.

                                Take a look at:

                                http://cvstrac.pfsense.com/chngview?cn=9567

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

                                  its hard fo for me to figure how your web configurator works…. never did anything that recice responses from comand prompts...

                                  Is it possible to trick if_bridge to work in cenario that I described earlier? because it seams like if there is a way to make 2 interfaces to work as sort of a switch ... then I get everything I need... I think

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

                                    Yeah, I think what you're on the right track by assign bridge0 as an interface.

                                    Not exactly how we are doing it in head but it should work.  What happens now (in 1.1) is that you assign a bridge group interfaces then bring the bridge group in as an interface (instead of bridge0 it would (show bridge group #0) or the name that you specify.  Then the bridge group is an interface that can be assigned to captive portal, dhcp, etc.

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

                                      ok, so what will happen if one cables of the bridge interface is removed?
                                      all other interfaces go down?

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

                                        As of right now it appears so.  The freebsd bridge porter/author is looking into this.. I brought it to his attention yesteday.

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

                                          cool, then I hope that is going to be resolved…

                                          So then I will keep playing woth captice portal now, since im gtting some problems there too...

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

                                            What Captive Portal problems are you running into?  Seems to work great for me.

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