Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2005 16:37:43 -0500
From:      Kris Maglione <bsdaemon@comcast.net>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Multihomed ISC-DHCPD
Message-ID:  <41E6EA27.2080303@comcast.net>

next in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41E6EA27.2080303>