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

    Problems on Alix 2.0 RC will not start DHCP server on LAN interface

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    13 Posts 3 Posters 4.7k 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.
    • J Offline
      jamesdean
      last edited by

      I enabled the OP1 interface and added a firewall rule through the GUI.

      Still no go.

      I guess a settings for the dhcp server is not being set in the xml.

      Robert

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

        What do the settings for the DHCP server look like for opt1? What does /var/dhcpd/etc/dhcpd.conf look like?

        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
        • J Offline
          jamesdean
          last edited by

          option domain-name "localdomain";
          option ldap-server code 95 = text;
          option domain-search-list code 119 = text;

          default-lease-time 7200;
          max-lease-time 86400;
          log-facility local7;
          ddns-update-style none;
          one-lease-per-client true;
          deny duplicates;
          ping-check true;
          authoritative;
          subnet 192.168.1.0 netmask 255.255.255.0 {
                 pool {
                         range 192.168.1.11 192.168.1.22;
                 }
                 option routers 192.168.1.1;
                 option domain-name-servers 192.168.1.1;

          }
          subnet 192.168.2.0 netmask 255.255.255.0 {
                 pool {
                         range 192.168.2.22 192.168.2.25;
                 }
                 option routers 192.168.2.1;
                 option domain-name-servers 192.168.2.1;

          }

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

            Looks normal to me… Anything blocked in the firewall logs on that interface?

            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
            • jimpJ Offline
              jimp Rebel Alliance Developer Netgate
              last edited by

              /var/dhcpd/var/db/

              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
              • jimpJ Offline
                jimp Rebel Alliance Developer Netgate
                last edited by

                The one ending in ~ is a backup, not the real leases file.

                Are you low on space on /var maybe?

                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
                • J Offline
                  jamesdean
                  last edited by

                  Filesystem           Size    Used   Avail Capacity  Mounted on
                  /dev/ufs/pfsense1    913M    136M    704M    16%    /
                  devfs                1.0K    1.0K      0B   100%    /dev
                  /dev/md0              38M    270K     35M     1%    /tmp
                  /dev/md1              58M    7.7M     46M    14%    /var
                  /dev/ufs/cf           49M    287K     45M     1%    /cf
                  devfs                1.0K    1.0K      0B   100%    /var/dhcpd/dev

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

                    Packet capture on the OPT1 interface, see if the traffic for either statically assigned hosts, or DHCP requests, gets to it. Check the dhcpd process's command line arguments for the interfaces.

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jamesdean
                      last edited by

                      Heres the DHCP process's command line arguments;
                      I'll do a packet capture.

                      dhcpd  18718  0.0  1.6  6752  4024  ??  Ss    1:48PM   0:00.81 /usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf vr0 vr1

                      Strange, I select OPT1 in the Packet Cap GUI and seems like its selecting the WAN interface.

                      Just rename the file to .pcap

                      Robert

                      packetcapture(2).xls

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

                        @jamesdean:

                        Strange, I select OPT1 in the Packet Cap GUI and seems like its selecting the WAN interface.

                        that's your WAN traffic, if you picked OPT1 your OPT1 has to be plugged into WAN somehow or bridged to it or something.

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jamesdean
                          last edited by

                          I never setup a bridge, My wan is connected to vr2 and is working. vr2 (OP1) is working and handing out leases.

                          Just my vr1 (LAN) will not hand over leases. I might have to revert back to pfSense 1.2.3. If I cant figure this out tonight.

                          Robert

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