relay issue

Aaron Porter atporter at gmail.com
Wed Jan 16 21:44:50 UTC 2008


This feels like it should be a FAQ -- maybe my google juice is just low today:

I'm trying to serve multiple networks from a central dhcp server
(3.0.4). I've enabled bootpdhcprelay on the remote switch, and this
seems to be working. I'd like to assign static addresses to hosts in
the remote network, but all incoming requests seem to only match
against the local subnet.

Config, both hosts are on the same network:
---
authoritative;
subnet 192.168.160.0 netmask 255.255.252.0 {}
subnet 10.10.1.0 netmask 255.255.255.0 {}
host test0 {
  hardware ethernet 00:30:48:7e:2a:ec;
  fixed-address 192.168.161.163;
}
host test11 {
  hardware ethernet 00:30:48:7e:2f:c2;
  fixed-address 10.10.1.149;
}
----

But in the logs, hosts don't match the remote subnet:

Jan 16 13:37:08 dhcpd: DHCPDISCOVER from 00:30:48:7e:2a:ec via eth0:
network 10.10.1/24: no free leases
Jan 16 13:38:46 dhcpd: DHCPACK on 10.10.1.149 to 00:30:48:7e:2f:c2 via eth0


More information about the dhcp-users mailing list