From owner-freebsd-questions@FreeBSD.ORG Sat Mar 31 15:01:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4CE0F16A402 for ; Sat, 31 Mar 2007 15:01:34 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2739E13C465 for ; Sat, 31 Mar 2007 15:01:33 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 18180 invoked from network); 31 Mar 2007 15:01:33 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 31 Mar 2007 15:01:33 -0000 Received: from Lowell-Desk.localdomain (Lowell-Desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 0AFD628430 for ; Sat, 31 Mar 2007 11:01:30 -0400 (EDT) Received: by Lowell-Desk.localdomain (Postfix, from userid 1147) id 3F5891CD56; Sat, 31 Mar 2007 11:01:30 -0400 (EDT) To: freebsd-questions@freebsd.org References: <20070330030001.GA38549@parts-unknown.org> From: Lowell Gilbert Date: Sat, 31 Mar 2007 11:01:30 -0400 In-Reply-To: <20070330030001.GA38549@parts-unknown.org> (David Benfell's message of "Thu\, 29 Mar 2007 20\:00\:01 -0700") Message-ID: <44hcs14fud.fsf@Lowell-Desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: dhcpd assigns address, but DNS resolvers and ping fail 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: Sat, 31 Mar 2007 15:01:34 -0000 David Benfell writes: > Another in my mysterious problems list... > > pf.conf is set up to allow icmp anywhere. And dhcpd offers a > plausible IP address and gateway that the client (tested under > both Linux and Windows) accepts. > > The client doesn't get the DNS resolver information and can't > ping anywhere, even by raw IP address, even to the router. The > router also fails to ping the client. > > This is FreeBSD stable, updated about a week ago. dhcpd.conf > and pf.conf files are attached. > > Any ideas? Thanks! > -- > David Benfell, LCP > benfell@parts-unknown.org > --- > Resume available at http://www.parts-unknown.org/ > NOTE: I sign all messages with GnuPG (0DD1D1E3). > > > # $OpenBSD: dhcpd.conf,v 1.1 1998/08/19 04:25:45 form Exp $ > # > # DHCP server options. > # See dhcpd.conf(5) and dhcpd(8) for more information. > # > > # Network: 192.168.20.0/255.255.255.0 > # Domain name: cybernude.org > # Name servers: 192.168.19.4 > # Default router: 192.168.17.1 > # Addresses: 192.168.20.2 - 192.168.20.254 > # > shared-network LOCAL-NET { > option domain-name "cybernude.org"; > option domain-name-servers 192.168.18.31, 192.168.19.130, 64.81.79.2, 216.231.41.2; > > subnet 192.168.17.0 netmask 255.255.255.0 { > option routers 192.168.17.1; > } > subnet 192.168.20.0 netmask 255.255.255.0 { > option routers 192.168.20.1; > range 192.168.20.2 192.168.20.254; > } > } > > #domain cybernude.org > #nameserver 192.168.19.130 > #nameserver 192.168.18.31 > #nameserver 64.81.79.2 > #nameserver 216.231.41.2 > > #shared-network LUPIN { > #option domain-name "cybernude.org"; > #option domain-name-servers 192.168.18.31; > > #subnet 192.168.100.0 netmask 255.255.255.0 { > #option routers 192.168.100.1; > #range 192.168.100.100 192.168.100.200; > #} > #} > ddns-update-style ad-hoc; > Yeah, offhand it looks like it *should* work. Fairly complicated setup; make sure you really need those shared-networks if you're using them. Have you tried putting the domain-name-servers entries at the subnet or global scope?