Strange DHCPd problem

bsd_mathias at bsd_mathias at
Wed Oct 12 01:38:08 PDT 2005

I've got a FreeBSD 5.3 installation with two 3c905XL NICs and IP-Filter.
XL0 is the external interface (which gets an IP-address via 'dhclient' and
'dhcpd' is assigned to the network on XL1. If I remove the
network cable to XL0, strange things happens on the internal XL1 Network.

I can ping and SSH to the server but Samba-access and webservices on the
server become sporadic at best. Let me repeat that. I can't access samba
shares when I remove the network cable to the *external interface* on my
BSD server. The clients can renew IP-adresses from the dhcpd server.

I did manage to solve the problem, but I don't understand how this could
have given me this type of problem. Here's my original dhcpd.conf.

option domain-name "";
option domain-name-servers;

default-lease-time 28800;
max-lease-time 56600;
ddns-update-style none;

# Malcolms subnet declaration.
subnet netmask {
  option routers;
  option domain-name-servers;
  deny client-updates;

# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.

subnet netmask {

Removing the bottom two lines (subnet 213..) suddenly solved the problem!
My guess was that somehow dhcpd gets screwed up if it couldn't find the
network that was defined in dhcpd.conf. But why does that hamper Samba or
other webservices running on the server? I'm pretty puzzled.


More information about the freebsd-questions mailing list