From owner-freebsd-questions@FreeBSD.ORG Thu Jan 13 21:32:41 2005 Return-Path: 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 4A91916A4CE for ; Thu, 13 Jan 2005 21:32:41 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A7AC43D55 for ; Thu, 13 Jan 2005 21:32:40 +0000 (GMT) (envelope-from bsdaemon@comcast.net) Received: from fw.home (pcp05407642pcs.norstn01.pa.comcast.net[68.80.43.94]) by comcast.net (sccrmhc12) with SMTP id <200501132132390120016726e>; Thu, 13 Jan 2005 21:32:39 +0000 Received: (qmail 11953 invoked from network); 13 Jan 2005 21:32:35 -0000 Received: from kris.home (HELO ?192.168.0.251?) (192.168.0.251) by fw.home with SMTP; 13 Jan 2005 21:32:35 -0000 Message-ID: <41E6EA27.2080303@comcast.net> Date: Thu, 13 Jan 2005 16:37:43 -0500 From: Kris Maglione User-Agent: Mozilla Thunderbird 1.0 (X11/20041212) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4AF60EDFFCFD01730F39B7A6" Subject: Multihomed ISC-DHCPD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2005 21:32:41 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4AF60EDFFCFD01730F39B7A6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit First off, my problem is that I can't get dhcpd to reply to a request on a new subnet/interface. I have an isc-dhcpd server running on my gateway box. I just added a new nic to connect a wifi ap. I added this subnet declaration: subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.254; option routers 192.168.1.1; option domain-name-servers 192.168.0.1; option domain-name "wifi"; } to my dhcpd.conf. I reran dhcpd as: dhcpd -q -f rl0 fxp0 fxp0, the new interface is configured as: inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 I added a firewall rule to allow all traffic via the interface and to log it. When I boot the AP, I get this in my log: Jan 13 15:53:51 fw /kernel: ipfw: 1910 Accept UDP 0.0.0.0:68 255.255.255.255:67 in via fxp0 Jan 13 15:53:51 fw /kernel: ipfw: 1910 Accept ICMP:8.0 192.168.1.1 192.168.1.254 out via fxp0 Jan 13 15:53:55 fw /kernel: ipfw: 1910 Accept UDP 0.0.0.0:68 255.255.255.255:67 in via fxp0 Jan 13 15:54:18 fw last message repeated 2 times My netstat -r contains: 192.168.1 link#3 UC 1 0 fxp0 192.168.1.1 00:a0:c9:1a:a6:03 UHLW 0 192 lo0 although it sometimes contains a line for 192.168.1.254 via link#3 Any ideas? --------------enig4AF60EDFFCFD01730F39B7A6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB5uosmcXjc1XBrAQRAvH/AJ4oRmrLb7Jd3ABd5DmSaXlNINSr5wCeJaLJ JZNjjPKoUtuXiupTT/NQJ3A= =PuRQ -----END PGP SIGNATURE----- --------------enig4AF60EDFFCFD01730F39B7A6--