relay issue

Jeffrey Hutzelman jhutz at cmu.edu
Wed Jan 16 22:37:20 UTC 2008


--On Wednesday, January 16, 2008 01:44:50 PM -0800 Aaron Porter 
<atporter at gmail.com> wrote:

> 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:

This indicates that the DISCOVER is being received directly on eth0, rather 
than via a relay.  So, it is assumed that the request is on whatever 
shared-network contains the DHCP server's address on that interface.

Is the "remote network" really a separate physical network, with a router 
between it and your DHCP server?


More information about the dhcp-users mailing list