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

    DHCPs assign wrong pools

    Problems Installing or Upgrading pfSense Software
    7
    76
    29.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.
    • A
      alexus
      last edited by

      I've set up 3 DHCP for LAN, LAN2 and  Wireless on the WRAP board
      Pool is:

      LAN      => 192.168.1.10 - 192.168.1.49                (DHCP Interface IP 192.168.1.1)
      LAN2    => 192.168.1.50 - 192.168.1.99                (DHCP Interface IP 192.168.1.2)
      Wireless => 192.168.1.100 - 192.168.1.149            (DHCP Interface IP 192.168.1.3)

      Now, no metter what port I am connected to, im getting the ip from the pool of last dhcp which is wireless.

      WHY?

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        Why do you have the same subnets everywhere? Is this a bridged scenario?

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

          well kind of drdge, in another post i wass telling that I want to use one DHCP for all interfaces (exept WAN) which should be done by setting all interfaces lets say to bridge with LAN and then ading firewall rule to "any to any"  BUT for some reasont it aint working…

          only interface that is woking is WAN -> LAN, all others just luve by themselfs independantly

          1 Reply Last reply Reply Quote 0
          • J
            jeroen234
            last edited by

            if its a bridge then jou have now 3 dhcp servers on 1 lan
            that is how it coms that you get the whrong dhcp server
            remove the bridge
            en sub youre network up

            lan ip 192.168.1.1/26
            lan dhcp ip 192.168.1.1
            dhcp range 192.168.1.2 - 192.168.1.63

            lan2 ip 192.168.1.65/26
            lan2 dhcp ip 192.168.1.65
            dhcp range 192.168.1.66 - 192.168.1.127

            Wireless ip 192.168.1.129/26
            wireless dhcp ip 192.168.1.129
            dhcp range 192.168.1.130 - 192.168.1.191

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

              jeroen234, I know that you cant have 3 DHCPs for one bridge…. its not even possoble in the configuration... when u bridge interface it automatiaclly disables the DHCP for that interface (I hope, at least it hides the dhcp tab)

              1 Reply Last reply Reply Quote 0
              • H
                hoba
                last edited by

                Sorry, I don'T understand the problem  ::)

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

                  hoba, ok let me gust erace my brain and pretend im dummy user, lol
                  Just installes everything, got WAN and LAN interfaces running OK, and connectiong to the internet normally…
                  What I do to get other interface to use same DHCP pool as LAN, and that it will go to the internet?  :-\

                  1 Reply Last reply Reply Quote 0
                  • H
                    hoba
                    last edited by

                    Basically if you bridge another interface to LAN the clients on this one should receive dhcp from the same server configured at LAN interface. Also check settings at system>advanced. If the filtering bridge is enabled there (this is an option of the newer versions of pfsense) you have to create pass rules at the bridged interface too. For the older versions you always needed the pass rules as the bridge was filtering by default but you should always be at the latest version.

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

                      aint working…
                      here is what i did
                      1. reset to defults
                      2. skipped VLANs setup
                      3. set the interfaces (LAN -> sis0, WAN -> sis1, opt1 - > sis2)
                      4. skiped wizard
                      5. in OPT1 selected bridge with LAN, and Enabled the interface
                      6. add firewall rule to pass anything from any and to any (all stars)
                      7. Pluged in to OPT1 released current ipaddress
                      8. renewed IP address on OPT1, got no DHCP reply....

                      (I also chekd bridge filtering and it is not cheked)
                      So? Did i do something wrong or thas the OS that dont like me?

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

                        try bridging lan -> opt1 instead of the reverse of that.

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

                          no tryed
                          LAN <-> OPT1
                          and
                          LAN -> OPT1

                          neither of rhem are working….
                          Did any one got it to work? Why wouldnt u do it as ussually like StarOS has it, you craate the bridge and then assign mac addreses to it and everything works perfectly,,,,  but here im going crazy.... whats a point of the router if it doesnt brige the interfaces?

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

                            Yes it works fine, I have a bridge running here at my home.

                            Never seen StarOS, didn't know that we where required as developers to copy cat other software…

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

                              um… why it doesnt work here then... are u running EMbedded version?

                              PS: no u dont have to copy, but its all the same anyway... most of the opensorse modules...

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

                                @alexus:

                                um… why it doesnt work here then... are u running EMbedded version?

                                Not sure, as I said before it works fine here.  In fact I just fired up another box and tested it with wireless bridge.  Works fine.

                                @alexus:

                                PS: no u dont have to copy, but its all the same anyway… most of the opensorse modules...

                                Not quite.  BSD and Linux are completely different animals.

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

                                  lets keep the linux VS bsd discusion for other forum post…

                                  what version do you have on your wrap box?
                                  also do u know thw command to see the bridging tabls for if_bridge?

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

                                    @alexus:

                                    lets keep the linux VS bsd discusion for other forum post…

                                    Then don't proclaim that everything is the same.  It is not.

                                    @alexus:

                                    what version do you have on your wrap box?

                                    Who said I have a wrap?  I have 10+ boxes all of which are on the latest version from http://www.pfsense.com/~sullrich/BETA2-BUGVALIDATION5/

                                    @alexus:

                                    also do u know thw command to see the bridging tabls for if_bridge?

                                    ifconfig

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

                                      looks strange too me then… ifconfig sais that the bridge0 is there and is between sis0 and sis2  so it should work i think...

                                      do you know how I can check the bridge functionality in command prompt?

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

                                        Show the contents of ifconfig

                                        Have you rebooted the firewall by chance?  How about the client?

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

                                          i havent reboot any oh them… getting ipconfig now

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

                                            Try rebooting.

                                            For some reason my iMac will not obtain an IP until I reboot.  I really don't know why this is the case and frankly I'm not interested in chasing it down since its such an easy remedy.

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