From owner-freebsd-questions@FreeBSD.ORG Wed Oct 12 08:38:08 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E04D16A41F for ; Wed, 12 Oct 2005 08:38:08 +0000 (GMT) (envelope-from bsd_mathias@haas.se) Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7280943D46 for ; Wed, 12 Oct 2005 08:38:07 +0000 (GMT) (envelope-from bsd_mathias@haas.se) Received: from toshiro.haas.se ([213.113.216.73] [213.113.216.73]) by mxfep01.bredband.com with SMTP id <20051012083805.QLMY9934.mxfep01.bredband.com@toshiro.haas.se> for ; Wed, 12 Oct 2005 10:38:05 +0200 Received: (qmail 12231 invoked by uid 1012); 12 Oct 2005 08:37:03 -0000 Received: from 127.0.0.1 by toshiro.haas.se (envelope-from , uid 1010) with qmail-scanner-1.25-st-qms (clamdscan: 0.86.2/989. spamassassin: 3.0.4. perlscan: 1.25-st-qms. Clear:RC:1(127.0.0.1):. Processed in 0.212595 secs); 12 Oct 2005 08:37:03 -0000 X-Antivirus-haas.se-Mail-From: bsd_mathias@haas.se via toshiro.haas.se X-Antivirus-haas.se: 1.25-st-qms (Clear:RC:1(127.0.0.1):. Processed in 0.212595 secs Process 12223) Received: from localhost.haas.se (HELO mail.haas.se) (127.0.0.1) by toshiro.haas.se with SMTP; 12 Oct 2005 08:37:02 -0000 Received: from 194.22.3.6 (SquirrelMail authenticated user bsd_mathias@haas.se) by mail.haas.se with HTTP; Wed, 12 Oct 2005 10:37:03 +0200 (CEST) Message-ID: <46266.194.22.3.6.1129106223.squirrel@mail.haas.se> Date: Wed, 12 Oct 2005 10:37:03 +0200 (CEST) From: bsd_mathias@haas.se To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Strange DHCPd problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2005 08:38:08 -0000 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 10.0.0.0 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 "malcolm.com"; option domain-name-servers 10.0.0.1; default-lease-time 28800; max-lease-time 56600; authoritative; ddns-update-style none; # Malcolms subnet declaration. subnet 10.0.0.0 netmask 255.255.255.0 { range 10.0.0.10 10.0.0.100; option routers 10.0.0.1; option domain-name-servers 10.0.0.1; deny client-updates; } # No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology. subnet 213.200.128.0 netmask 255.255.224.0 { } 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. Regards, Mathias.