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

DHCP not working on second interface

Scheduled Pinned Locked Moved DHCP and DNS
17 Posts 5 Posters 2.4k 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.
  • D
    Derelict LAYER 8 Netgate
    last edited by Oct 7, 2015, 3:48 PM

    That looks like the interface on the client.

    On your router do a Diagnostics > Packet Capture on OPT2 and try to get a DHCP lease again.

    Chattanooga, Tennessee, USA
    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
    Do Not Chat For Help! NO_WAN_EGRESS(TM)

    1 Reply Last reply Reply Quote 0
    • S
      sam_maher
      last edited by Oct 7, 2015, 3:50 PM

      That was the packet capture from PFSense, Ive imported it into wireshark

      Sam

      1 Reply Last reply Reply Quote 0
      • D
        Derelict LAYER 8 Netgate
        last edited by Oct 7, 2015, 3:52 PM

        Stop and restart the DHCP service or reboot I guess.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • S
          sam_maher
          last edited by Oct 7, 2015, 3:57 PM

          Have tried that, No luck :(

          1 Reply Last reply Reply Quote 0
          • D
            Derelict LAYER 8 Netgate
            last edited by Oct 7, 2015, 4:25 PM

            Anything in the advanced config of the DHCP server?

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • K
              KOM
              last edited by Oct 7, 2015, 4:28 PM

              … or the general System log?

              1 Reply Last reply Reply Quote 0
              • S
                sam_maher
                last edited by Oct 8, 2015, 9:22 AM Oct 7, 2015, 4:39 PM

                No there is nothing in the advanced config and here is what i have found in the log:

                Oct 8 09:16:01 php-fpm[33740]: /rc.newwanip: The command '/usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid igb1 igb0' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.2.8 Copyright 2004-2015 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Wrote 99 leases to leases file. Listening on BPF/igb0/a0:36:9f:22:4a:48/192.168.26.0/24 Sending on BPF/igb0/a0:36:9f:22:4a:48/192.168.26.0/24 Listening on BPF/igb1/a0:36:9f:22:4a:49/192.168.0.0/24 Sending on BPF/igb1/a0:36:9f:22:4a:49/192.168.0.0/24 Can't bind to dhcp address: Address already in use Please make sure there is no other dhcp server running and that there's no entry for dhcp or bootp in /etc/inetd.conf. Also make sure you are not running HP JetAdmin software, which includes a bootp server. If you did not get this software from ftp.isc.org, please get the latest from ftp.isc.org and install that befor

                1 Reply Last reply Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator
                  last edited by Oct 8, 2015, 5:30 PM

                  Well seems you got something listening on that interface and you can not bind to it..

                  Listening on BPF/igb1/a0:36:9f:22:4a:49/192.168.0.0/24
                  Sending on BPF/igb1/a0:36:9f:22:4a:49/192.168.0.0/24 Can't bind to dhcp address: Address already in use

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                  1 Reply Last reply Reply Quote 0
                  • S
                    sam_maher
                    last edited by Oct 9, 2015, 8:05 AM

                    Thats what i thought, Im trying to bind to "igb0".  "igb1" is the current LAN which works fine.

                    I have tried restarting DHCP and changing the IP range with no luck.

                    1 Reply Last reply Reply Quote 0
                    • D
                      Derelict LAYER 8 Netgate
                      last edited by Oct 9, 2015, 3:50 PM

                      DHCP Relay somehow enabled on that interface?

                      See if you somehow you got past the GUI logic.  Disable all your DHCP servers and see if DHCP Relay is enabled?  Just a guess.

                      Chattanooga, Tennessee, USA
                      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                      Do Not Chat For Help! NO_WAN_EGRESS(TM)

                      1 Reply Last reply Reply Quote 0
                      • S
                        sam_maher
                        last edited by Oct 13, 2015, 7:03 PM

                        Just checked and the dhcp relay was not enabled.

                        1 Reply Last reply Reply Quote 0
                        • C
                          cmb
                          last edited by Oct 13, 2015, 7:28 PM

                          Check the output of 'sockstat -4', it'll show you which process is bound to that port already.

                          1 Reply Last reply Reply Quote 0
                          17 out of 17
                          • First post
                            17/17
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received