From owner-freebsd-questions@FreeBSD.ORG Wed Oct 12 13:46:03 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 5B8B616A41F for ; Wed, 12 Oct 2005 13:46:03 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id D26D843D72 for ; Wed, 12 Oct 2005 13:45:53 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so109598nzd for ; Wed, 12 Oct 2005 06:45:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Xly4kY6F3RlS/9GebfylSOwo4a3hLcRl4otgaD9324eIb+ovfVaOuSkv6AuJwWv8+vNL+WsSZQ1I7SP/pVGmHuMY0jpVuK7PxepZj4VZpErfJTtyJIzjg9V9Pxs5R79J4IHCBeGbrS/vXqTZDYfjA3u6iiNoKn7cy0uY2bWfyzU= Received: by 10.36.140.19 with SMTP id n19mr713537nzd; Wed, 12 Oct 2005 06:45:52 -0700 (PDT) Received: by 10.37.20.34 with HTTP; Wed, 12 Oct 2005 06:45:52 -0700 (PDT) Message-ID: Date: Wed, 12 Oct 2005 17:45:52 +0400 From: "Andrew P." To: "bsd_mathias@haas.se" In-Reply-To: <46266.194.22.3.6.1129106223.squirrel@mail.haas.se> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <46266.194.22.3.6.1129106223.squirrel@mail.haas.se> Cc: freebsd-questions@freebsd.org Subject: Re: 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 13:46:03 -0000 On 10/12/05, bsd_mathias@haas.se wrote: > 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' an= d > '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. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > A classic explanation would be samba (and other services) dependence on basic network services such as DNS. That doesn't give an idea about dhcpd anyway...