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

    DHCP server no longer handing out default gateway

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    8 Posts 3 Posters 10.1k 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.
    • T
      tenortim
      last edited by

      Hi folks,
      I just updated to the 5/5 snapshot (previous version was a March 2013 snapshot), and things were not happy.

      After a bit of head-scratching, it seems that the DHCP server is no longer handing out the default route unless you explicitly enter the default gateway in the configuration. Previously, it just handed out the LAN IP address. Explicitly setting the gateway in the DHCP server configuration worked around the problem, but has anybody else seen this?

      My configuration is using a 6to4 tunnel to play with IPv6 (since Comcast don't have a real DHCPv6 service in my area), but I disabled IPv6 entirely and the problem persisted.

      Thanks.

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

        Hi,

        same problem here…

        http://forum.pfsense.org/index.php/topic,61317.0.html

        But unfortunately no solution for this, until now… :(

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Read and follow my suggestion in the other thread.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

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

            OK, thx! Works now!

            Sorry, but I was / am confused…

            I Do not understand the relation between the standard GW on the WAN IF and the "missing" GW on the LAN IF...  ??? In fact the Standard GW for the WAN IF was configured as IPv4 and "dynamic".

            But by saving the configuration, without changing it, seems to be working and the dhcpd on LAN IF is handing out the IF Adress as Standard-GW again.

            Thx!  :)

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              If there is no IPv4 gateway defined, the firewall does not believe it is an IPv4 router, and thus will not hand out its own IP as a gateway for DHCPv4.

              If the detection broke, it was because the gateway was missing a tag internally that classified it as actually being an IPv4 gateway. Editing and saving added the tag.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

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

                OK, thank's alot for your support and explanation!  :)

                1 Reply Last reply Reply Quote 0
                • T
                  tenortim
                  last edited by

                  @jimp:

                  If there is no IPv4 gateway defined, the firewall does not believe it is an IPv4 router, and thus will not hand out its own IP as a gateway for DHCPv4.

                  If the detection broke, it was because the gateway was missing a tag internally that classified it as actually being an IPv4 gateway. Editing and saving added the tag.

                  Tyvm jimp!
                  I did so, and yes, it worked - I was able to remove the static gateway definition in the DHCP server and it picked up the default WAN gateway again. I can understand that this might break within beta snapshots. Hopefully, it won't break upgrading from 2.0 to 2.1-final when we get there.

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    On upgrade from 2.0.x to 2.1, existing gateways are tagged as IPv4 automatically.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

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