Problems on Alix 2.0 RC will not start DHCP server on LAN interface
-
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
-
What do the settings for the DHCP server look like for opt1? What does /var/dhcpd/etc/dhcpd.conf look like?
-
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;}
-
Looks normal to me… Anything blocked in the firewall logs on that interface?
-
/var/dhcpd/var/db/
-
The one ending in ~ is a backup, not the real leases file.
Are you low on space on /var maybe?
-
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 -
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.
-
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
-
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.
-
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