dhcrelay problems

Chris Cohen kildau-ml at gmx.de
Sat Aug 25 15:39:08 UTC 2007


Hi,

I've got the following setup:

router1
vlan10: 10.1.0.1/24
vlan11: 10.1.1.1/24 (dhcp works fine via wired network, but without dhcrelay)
[...]
vlan13: 10.1.16.1/30

router2:
eth0.1: 10.1.16.2/30
br0 (eth1 + eth0.0): 10.1.16.129/25

I started dhcrelay at router2 using:
dhcrelay -i br0 -a 10.1.16.1

A dhcpd is running at router1 with the following configuration:
shared-network TESTNET {
        option  domain-name "example.org";
        option  domain-name-servers 10.1.3.2;
        subnet 10.1.1.0 netmask 255.255.255.0 {
                option routers 10.1.1.1;
                range 10.1.1.129 10.1.1.254;
        }
}

shared-network WLAN {
        option  domain-name "wlan.example.org";
        option  domain-name-servers 10.1.3.2;
        subnet  10.1.16.0 netmask 255.255.255.0 {
                option routers 10.1.16.129;
                range 10.1.16.130 10.1.16.154;
        }
}

My Laptop (running Ubuntu) doesn't get a DHCPOFFER. The only thing I can see 
is
forwarded BOOTREQUEST for 00:11:e0:02:24:2d to 10.1.16.1
forwarded BOOTREQUEST for 00:11:e0:02:24:2d to 10.1.16.1
forwarded BOOTREQUEST for 00:11:e0:02:24:2d to 10.1.16.1
forwarded BOOTREQUEST for 00:11:e0:02:24:2d to 10.1.16.1
on router2 when I start dhcrelay with -d. Nothing in the logs on router1.

Is there anything wrong with my setup?

-- 
Thanks
Chris


More information about the dhcp-users mailing list