DHCP server stops working



  • Hi,

    I'm having a bit of a problem with the dhcp server on my pfsense firewall.
    After a couple of weeks, the dhcp feature of the firewall simply stops.
    Here is my dhcp log

    
    Sep 11 10:40:29 	dhcpd: Sending on Socket/fallback/fallback-net
    Sep 11 10:40:29 	dhcpd: Sending on BPF/rl0/00:17:3f:cf:a2:9b/192.168.10/24
    Sep 11 10:40:29 	dhcpd: Listening on BPF/rl0/00:17:3f:cf:a2:9b/192.168.10/24
    Sep 11 10:40:29 	dhcpd: Wrote 10 leases to leases file.
    Sep 11 10:40:29 	dhcpd: Wrote 0 new dynamic host decls to leases file.
    Sep 11 10:40:29 	dhcpd: Wrote 0 deleted host decls to leases file.
    Sep 11 10:40:29 	dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
    Sep 11 10:40:29 	dhcpd: All rights reserved.
    Sep 11 10:40:29 	dhcpd: Copyright 2004-2006 Internet Systems Consortium.
    Sep 11 10:40:29 	dhcpd: Internet Systems Consortium DHCP Server V3.0.5
    Sep 11 10:40:26 	dhcpd: Sending on Socket/fallback/fallback-net
    Sep 11 10:40:26 	dhcpd: Sending on BPF/rl0/00:17:3f:cf:a2:9b/192.168.10/24
    Sep 11 10:40:26 	dhcpd: Listening on BPF/rl0/00:17:3f:cf:a2:9b/192.168.10/24
    Sep 11 10:40:26 	dhcpd: Wrote 10 leases to leases file.
    Sep 11 10:40:26 	dhcpd: Wrote 0 new dynamic host decls to leases file.
    Sep 11 10:40:26 	dhcpd: Wrote 0 deleted host decls to leases file.
    Sep 11 10:40:26 	dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
    Sep 11 10:40:26 	dhcpd: All rights reserved.
    Sep 11 10:40:26 	dhcpd: Copyright 2004-2006 Internet Systems Consortium.
    Sep 11 10:40:26 	dhcpd: Internet Systems Consortium DHCP Server V3.0.5
    
    

    Here is my system log

    
    Sep 11 10:40:31 	login: login on ttyv0 as root
    Sep 11 10:40:30 	php: : rc.newwanip working with (IP address: 10.0.0.5) (interface: wan) (interface real: vr0).
    Sep 11 10:40:30 	php: : Informational: rc.newwanip is starting .
    Sep 11 10:40:30 	check_reload_status: rc.newwanip starting
    Sep 11 10:40:30 	check_reload_status: check_reload_status is starting
    Sep 11 10:40:29 	php: : XML error: syntax error at line 1
    Sep 11 10:40:29 	php: : Resyncing configuration for all packages.
    Sep 11 10:40:29 	dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
    Sep 11 10:40:29 	dhcpd: All rights reserved.
    Sep 11 10:40:29 	dhcpd: Copyright 2004-2006 Internet Systems Consortium.
    Sep 11 10:40:29 	dhcpd: Internet Systems Consortium DHCP Server V3.0.5
    Sep 11 10:40:28 	php: : Creating rrd update script
    Sep 11 10:40:26 	mpd: [pt15] using interface ng16
    Sep 11 10:40:26 	mpd: [pt15] ppp node is "mpd551-pt15"
    Sep 11 10:40:26 	mpd: [pt14] using interface ng15
    Sep 11 10:40:26 	mpd: [pt14] ppp node is "mpd551-pt14"
    Sep 11 10:40:26 	mpd: [pt13] using interface ng14
    Sep 11 10:40:26 	mpd: [pt13] ppp node is "mpd551-pt13"
    Sep 11 10:40:26 	mpd: [pt12] using interface ng13
    Sep 11 10:40:26 	mpd: [pt12] ppp node is "mpd551-pt12"
    Sep 11 10:40:26 	mpd: [pt11] using interface ng12
    Sep 11 10:40:26 	mpd: [pt11] ppp node is "mpd551-pt11"
    Sep 11 10:40:26 	mpd: [pt10] using interface ng11
    Sep 11 10:40:26 	mpd: [pt10] ppp node is "mpd551-pt10"
    Sep 11 10:40:26 	mpd: [pt9] using interface ng10
    Sep 11 10:40:26 	mpd: [pt9] ppp node is "mpd551-pt9"
    Sep 11 10:40:26 	mpd: [pt8] using interface ng9
    Sep 11 10:40:26 	mpd: [pt8] ppp node is "mpd551-pt8"
    Sep 11 10:40:26 	mpd: [pt7] using interface ng8
    Sep 11 10:40:26 	mpd: [pt7] ppp node is "mpd551-pt7"
    Sep 11 10:40:26 	mpd: [pt6] using interface ng7
    Sep 11 10:40:26 	mpd: [pt6] ppp node is "mpd551-pt6"
    Sep 11 10:40:26 	mpd: [pt5] using interface ng6
    Sep 11 10:40:26 	mpd: [pt5] ppp node is "mpd551-pt5"
    Sep 11 10:40:26 	mpd: [pt4] using interface ng5
    Sep 11 10:40:26 	mpd: [pt4] ppp node is "mpd551-pt4"
    Sep 11 10:40:26 	mpd: [pt3] using interface ng4
    Sep 11 10:40:26 	mpd: [pt3] ppp node is "mpd551-pt3"
    Sep 11 10:40:26 	mpd: [pt2] using interface ng3
    Sep 11 10:40:26 	mpd: [pt2] ppp node is "mpd551-pt2"
    Sep 11 10:40:26 	mpd: [pt1] using interface ng2
    Sep 11 10:40:26 	mpd: [pt1] ppp node is "mpd551-pt1"
    Sep 11 10:40:26 	mpd: [pt0] using interface ng1
    Sep 11 10:40:26 	mpd: mpd: local IP address for PPTP is 0.0.0.0
    Sep 11 10:40:26 	mpd: [pt0] ppp node is "mpd551-pt0"
    Sep 11 10:40:26 	mpd: mpd: pid 551, version 3.18 (root@freebsd7-releng_1_2.pfsense.org 20:18 9-Nov-2008)
    Sep 11 10:40:26 	dnsmasq[546]: read /etc/hosts - 4 addresses
    Sep 11 10:40:26 	dnsmasq[546]: using nameserver 195.238.2.21#53
    Sep 11 10:40:26 	dnsmasq[546]: using nameserver 195.238.2.22#53
    Sep 11 10:40:26 	dnsmasq[546]: reading /etc/resolv.conf
    Sep 11 10:40:26 	dnsmasq[546]: reading /var/dhcpd/var/db/dhcpd.leases
    Sep 11 10:40:26 	dnsmasq[546]: compile time options: IPv6 GNU-getopt BSD-bridge ISC-leasefile no-DBus no-I18N TFTP
    Sep 11 10:40:26 	dnsmasq[546]: started, version 2.45 cachesize 150
    Sep 11 10:40:26 	dhcpd: For info, please visit http://www.isc.org/sw/dhcp/
    Sep 11 10:40:26 	dhcpd: All rights reserved.
    Sep 11 10:40:26 	dhcpd: Copyright 2004-2006 Internet Systems Consortium.
    Sep 11 10:40:26 	dhcpd: Internet Systems Consortium DHCP Server V3.0.5
    Sep 11 10:40:25 	kernel: rl0: link state changed to UP
    Sep 11 10:40:24 	pftpx[448]: listening on 127.0.0.1 port 8021
    Sep 11 10:40:24 	pftpx[448]: listening on 127.0.0.1 port 8021
    Sep 11 10:40:23 	kernel: pflog0: promiscuous mode enabled
    Sep 11 10:40:23 	dhclient[239]: bound to 10.0.0.5 -- renewal in 43200 seconds.
    Sep 11 10:40:23 	sshlockout[248]: sshlockout starting up
    Sep 11 10:40:23 	sshlockout[248]: sshlockout starting up
    Sep 11 10:40:23 	dhclient[239]: DHCPACK from 10.0.0.138
    Sep 11 10:40:23 	dhclient[239]: DHCPREQUEST on vr0 to 255.255.255.255 port 67
    Sep 11 10:40:23 	sshd[247]: Server listening on 0.0.0.0 port 22.
    Sep 11 10:40:23 	sshd[247]: Server listening on :: port 22.
    Sep 11 10:40:23 	kernel: vr0: link state changed to UP
    Sep 11 10:40:23 	kernel: rl0: link state changed to DOWN
    Sep 11 10:40:23 	kernel: rl0: link state changed to UP
    Sep 11 10:40:23 	kernel: WARNING: R/W mount of / denied. Filesystem is not clean - run fsck
    Sep 11 10:40:23 	kernel: WARNING: R/W mount of / denied. Filesystem is not clean - run fsck
    Sep 11 10:40:23 	kernel: WARNING: / was not properly dismounted
    Sep 11 10:40:23 	kernel: Trying to mount root from ufs:/dev/ad4s1a
    Sep 11 10:40:23 	kernel: SMP: AP CPU #1 Launched!
    Sep 11 10:40:23 	kernel: acd0: DVDR <hl-dt-st dvdram="" gh22ns40="" nl00="">at ata3-slave UDMA33
    Sep 11 10:40:23 	kernel: ad4: 305245MB <samsung hd322hj="" 1ac01113="">at ata2-master UDMA33
    Sep 11 10:40:23 	kernel: hptrr: no controller detected.
    Sep 11 10:40:23 	kernel: Fast IPsec: Initialized Security Association Processing.
    Sep 11 10:40:23 	kernel: Timecounters tick every 1.000 msec
    Sep 11 10:40:23 	kernel: vga0: <generic isa="" vga="">at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
    Sep 11 10:40:23 	kernel: sio1: port may not be enabled
    Sep 11 10:40:23 	kernel: sio1: configured irq 3 not in bitmap of probed irqs 0
    Sep 11 10:40:23 	kernel: sio0: [FILTER]
    Sep 11 10:40:23 	kernel: sio0: type 8250 or not responding
    Sep 11 10:40:23 	kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
    Sep 11 10:40:23 	kernel: sio0: port may not be enabled
    Sep 11 10:40:23 	kernel: sio0: configured irq 4 not in bitmap of probed irqs 0
    Sep 11 10:40:23 	kernel: sio0: port may not be enabled
    Sep 11 10:40:23 	kernel: sio0: configured irq 4 not in bitmap of probed irqs 0
    Sep 11 10:40:23 	kernel: sc0: VGA <16 virtual consoles, flags=0x300>
    Sep 11 10:40:23 	kernel: sc0: <system console="">at flags 0x100 on isa0
    Sep 11 10:40:23 	kernel: ppc0: parallel port not found.
    Sep 11 10:40:23 	kernel: atkbd0: [ITHREAD]
    Sep 11 10:40:23 	kernel: atkbd0: [GIANT-LOCKED]
    Sep 11 10:40:23 	kernel: kbd0 at atkbd0
    Sep 11 10:40:23 	kernel: atkbd0: <at keyboard="">irq 1 on atkbdc0
    Sep 11 10:40:23 	kernel: atkbdc0: <keyboard controller="" (i8042)="">at port 0x60,0x64 on isa0
    Sep 11 10:40:23 	kernel: orm0: <isa option="" rom="">at iomem 0xce000-0xcf7ff pnpid ORM0000 on isa0
    Sep 11 10:40:23 	kernel: pmtimer0 on isa0
    Sep 11 10:40:23 	kernel: speaker0: <pc speaker="">port 0x61 on acpi0
    Sep 11 10:40:23 	kernel: acpi_button0: <power button="">on acpi0
    Sep 11 10:40:23 	kernel: vgapci0: <vga-compatible display="">mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfc000000-0xfcffffff irq 21 at device 16.0 on pci0
    Sep 11 10:40:23 	kernel: pci0: <network, ethernet="">at device 15.0 (no driver attached)
    Sep 11 10:40:23 	kernel: ata3: [ITHREAD]
    Sep 11 10:40:23 	kernel: ata3: <ata 1="" channel="">on atapci1
    Sep 11 10:40:23 	kernel: ata2: [ITHREAD]
    Sep 11 10:40:23 	kernel: ata2: <ata 0="" channel="">on atapci1
    Sep 11 10:40:23 	kernel: atapci1: [ITHREAD]
    Sep 11 10:40:23 	kernel: atapci1: <nvidia ata="" controller="">port 0xd480-0xd487,0xd400-0xd403,0xd080-0xd087,0xd000-0xd003,0xcc00-0xcc0f mem 0xfea7a000-0xfea7bfff irq 23 at device 14.0 on pci0
    Sep 11 10:40:23 	kernel: pci4: <acpi pci="" bus="">on pcib4
    Sep 11 10:40:23 	kernel: pcib4: <acpi pci-pci="" bridge="">at device 13.0 on pci0
    Sep 11 10:40:23 	kernel: pci3: <acpi pci="" bus="">on pcib3
    Sep 11 10:40:23 	kernel: pcib3: <acpi pci-pci="" bridge="">at device 12.0 on pci0
    Sep 11 10:40:23 	kernel: pci2: <acpi pci="" bus="">on pcib2
    Sep 11 10:40:23 	kernel: pcib2: <acpi pci-pci="" bridge="">at device 11.0 on pci0
    Sep 11 10:40:23 	kernel: rl0: [ITHREAD]
    Sep 11 10:40:23 	kernel: rl0: Ethernet address: 00:17:3f:cf:a2:9b
    Sep 11 10:40:23 	kernel: rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    Sep 11 10:40:23 	kernel: rlphy0: <realtek internal="" media="" interface="">PHY 0 on miibus1
    Sep 11 10:40:23 	kernel: miibus1: <mii bus="">on rl0
    Sep 11 10:40:23 	kernel: rl0: <realtek 10="" 8139="" 100basetx="">port 0xe400-0xe4ff mem 0xfebff800-0xfebff8ff irq 17 at device 7.0 on pci1
    Sep 11 10:40:23 	kernel: vr0: [ITHREAD]
    Sep 11 10:40:23 	kernel: vr0: Ethernet address: 00:11:95:83:f2:7c
    Sep 11 10:40:23 	kernel: ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    Sep 11 10:40:23 	kernel: ukphy0: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus0
    Sep 11 10:40:23 	kernel: miibus0: <mii bus="">on vr0
    Sep 11 10:40:23 	kernel: vr0: Revision: 0x86
    Sep 11 10:40:23 	kernel: vr0: Quirks: 0x0
    Sep 11 10:40:23 	kernel: vr0: <via 10="" vt6105="" rhine="" iii="" 100basetx="">port 0xe800-0xe8ff mem 0xfebffc00-0xfebffcff irq 16 at device 6.0 on pci1
    Sep 11 10:40:23 	kernel: pci1: <acpi pci="" bus="">on pcib1
    Sep 11 10:40:23 	kernel: pcib1: <acpi pci-pci="" bridge="">at device 10.0 on pci0
    Sep 11 10:40:23 	kernel: pci0: <multimedia>at device 9.0 (no driver attached)
    Sep 11 10:40:23 	kernel: ata1: [ITHREAD]
    Sep 11 10:40:23 	kernel: ata1: <ata 1="" channel="">on atapci0
    Sep 11 10:40:23 	kernel: ata0: [ITHREAD]
    Sep 11 10:40:23 	kernel: ata0: <ata 0="" channel="">on atapci0
    Sep 11 10:40:23 	kernel: atapci0: <nvidia nforce="" mcp73="" udma133="" controller="">port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 8.0 on pci0
    Sep 11 10:40:23 	kernel: pci0: <memory, ram="">at device 3.4 (no driver attached)
    Sep 11 10:40:23 	kernel: pci0: <processor>at device 3.3 (no driver attached)
    Sep 11 10:40:23 	kernel: pci0: <memory, ram="">at device 3.2 (no driver attached)
    Sep 11 10:40:23 	kernel: pci0: <serial bus,="" smbus="">at device 3.1 (no driver attached)
    Sep 11 10:40:23 	kernel: isa0: <isa bus="">on isab0
    Sep 11 10:40:23 	kernel: isab0: <pci-isa bridge="">port 0x4f00-0x4fff at device 3.0 on pci0
    Sep 11 10:40:23 	kernel: pci0: <memory, ram="">at device 2.0 (no driver attached)
    Sep 11 10:40:23 	kernel: pci0: <memory, ram="">at device 1.6 (no driver attached)
    Sep 11 10:40:23 	kernel: pci0: <memory, ram="">at device 1.5 (no driver attached)
    Sep 11 10:40:23 	kernel: pci0: <memory, ram="">at device 1.4 (no driver attached)
    Sep 11 10:40:23 	kernel: pci0: <memory, ram="">at device 1.3 (no driver attached)
    Sep 11 10:40:23 	kernel: pci0: <memory, ram="">at device 1.2 (no driver attached)
    Sep 11 10:40:23 	kernel: pci0: <memory, ram="">at device 1.1 (no driver attached)
    Sep 11 10:40:23 	kernel: pci0: <memory, ram="">at device 1.0 (no driver attached)
    Sep 11 10:40:23 	kernel: pci0: <memory, ram="">at device 0.1 (no driver attached)
    Sep 11 10:40:23 	kernel: pci0: <acpi pci="" bus="">on pcib0
    Sep 11 10:40:23 	kernel: pcib0: <acpi host-pci="" bridge="">port 0xcf8-0xcff on acpi0
    Sep 11 10:40:23 	kernel: p4tcc1: <cpu frequency="" thermal="" control="">on cpu1
    Sep 11 10:40:23 	kernel: device_attach: est1 attach returned 6
    Sep 11 10:40:23 	kernel: est: cpu_vendor GenuineIntel, msr c2a0c2a06000c2a
    Sep 11 10:40:23 	kernel: est: CPU supports Enhanced Speedstep, but is not recognized.
    Sep 11 10:40:23 	kernel: est1: <enhanced speedstep="" frequency="" control="">on cpu1
    Sep 11 10:40:23 	kernel: cpu1: <acpi cpu="">on acpi0
    Sep 11 10:40:23 	kernel: p4tcc0: <cpu frequency="" thermal="" control="">on cpu0
    Sep 11 10:40:23 	kernel: est0: <enhanced speedstep="" frequency="" control="">on cpu0
    Sep 11 10:40:23 	kernel: cpu0: <acpi cpu="">on acpi0
    Sep 11 10:40:23 	kernel: acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
    Sep 11 10:40:23 	kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
    Sep 11 10:40:23 	kernel: acpi0: reservation of 100000, 3ff00000 (3) failed
    Sep 11 10:40:23 	kernel: acpi0: reservation of 0, a0000 (3) failed
    Sep 11 10:40:23 	kernel: acpi0: reservation of fee00000, 1000 (3) failed
    Sep 11 10:40:23 	kernel: acpi0: Power Button (fixed)
    Sep 11 10:40:23 	kernel: acpi0: [ITHREAD]
    Sep 11 10:40:23 	kernel: acpi0: <103108 RSDT1406> on motherboard
    Sep 11 10:40:23 	kernel: cryptosoft0: <software crypto="">on motherboard
    Sep 11 10:40:23 	kernel: hptrr: HPT RocketRAID controller driver v1.1 (Jan 8 2009 22:29:11)
    Sep 11 10:40:23 	kernel: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
    Sep 11 10:40:23 	kernel: kbd1 at kbdmux0
    Sep 11 10:40:23 	kernel: wlan: mac acl policy registered
    Sep 11 10:40:23 	kernel: ioapic0 <version 1.1="">irqs 0-23 on motherboard
    Sep 11 10:40:23 	kernel: cpu1 (AP): APIC ID: 1
    Sep 11 10:40:23 	kernel: cpu0 (BSP): APIC ID: 0
    Sep 11 10:40:23 	kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
    Sep 11 10:40:23 	kernel: ACPI APIC Table: <103108 APIC1406>
    Sep 11 10:40:23 	kernel: avail memory = 970764288 (925 MB)
    Sep 11 10:40:23 	kernel: real memory = 1006174208 (959 MB)
    Sep 11 10:40:23 	kernel: Cores per package: 2
    Sep 11 10:40:23 	kernel: AMD Features2=0x1 <lahf>Sep 11 10:40:23 	kernel: AMD Features=0x20000000 <lm>Sep 11 10:40:23 	kernel: Features2=0xe39d <sse3,rsvd2,mon,ds_cpl,est,tm2,ssse3,cx16,xtpr,pdcm>Sep 11 10:40:23 	kernel: Features=0xbfebfbff <fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,htt,tm,pbe>Sep 11 10:40:23 	kernel: Origin = "GenuineIntel" Id = 0x6fd Stepping = 13
    Sep 11 10:40:23 	kernel: CPU: Intel(R) Pentium(R) Dual CPU E2220 @ 2.40GHz (2399.96-MHz 686-class CPU)
    Sep 11 10:40:23 	kernel: Timecounter "i8254" frequency 1193182 Hz quality 0
    Sep 11 10:40:23 	kernel: sullrich@freebsd7-releng_1_2_1.pfsense.org:/usr/obj.pfSense/usr/src/sys/pfSense_SMP.7
    Sep 11 10:40:23 	kernel: FreeBSD 7.0-RELEASE-p8 #0: Thu Jan 8 22:29:30 EST 2009
    Sep 11 10:40:23 	kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
    Sep 11 10:40:23 	kernel: The Regents of the University of California. All rights reserved.
    Sep 11 10:40:23 	kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    Sep 11 10:40:23 	kernel: Copyright (c) 1992-2008 The FreeBSD Project.
    Sep 11 10:40:23 	syslogd: kernel boot file is /boot/kernel/kernel</fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,htt,tm,pbe></sse3,rsvd2,mon,ds_cpl,est,tm2,ssse3,cx16,xtpr,pdcm></lm></lahf></version></software></acpi></enhanced></cpu></acpi></enhanced></cpu></acpi></acpi></memory,></memory,></memory,></memory,></memory,></memory,></memory,></memory,></memory,></pci-isa></isa></serial></memory,></processor></memory,></nvidia></ata></ata></multimedia></acpi></acpi></via></mii></generic></realtek></mii></realtek></acpi></acpi></acpi></acpi></acpi></acpi></nvidia></ata></ata></network,></vga-compatible></power></pc></isa></keyboard></at></system></generic></samsung></hl-dt-st> 
    

    This is the dhcp export

    
    - <dhcpd>- <lan><enable>- <range><from>192.168.10.10</from> 
      <to>192.168.10.235</to></range> 
      <defaultleasetime><maxleasetime><netmask><failover_peerip><gateway><ddnsdomain><next-server><filename><dnsserver>10.0.0.138</dnsserver></filename></next-server></ddnsdomain></gateway></failover_peerip></netmask></maxleasetime></defaultleasetime></enable></lan></dhcpd> 
    
    

    Does anyone know a solution for this problem?



  • I have the same problem. At a hindsight, it seems to be related to the access points that I have connected on the LAN side and the DHCP starts working again once I disconnect them - but that doesn't make any sense - how can a client prevent a DHCP server from working? Someone setting up their own DHCP server?

    Any pointers?


Log in to reply