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?

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to