dhcp relay doesn't work?

Amit amit.kr at nic.in
Wed Apr 9 04:30:44 UTC 2014


Since You are having router to be configured as dhcp relay, Why are you
running dhcrelay command on DHCP server.

First of all configure your dhcp server with the IP pool and run the server,
then on the router configure dhcp relay with "ip helper" command on the
client facing interface of router(check router manual for that) i.e. eth1
according to your configuration.

Thanks & Regards

Amit Kumar
Scientific Officer
Operation and Routing Group
M/O Communication and IT, NIC, A- Block, CGO Complex, New Delhi
Ph. +911122900332, NKN VoIP:7332
Mob. +919910611621

Date: Mon, 7 Apr 2014 16:58:55 +0800
From: "=?ISO-8859-1?B?Y29uc3RhbnQ=?=" <running910 at foxmail.com>
To: "=?ISO-8859-1?B?ZGhjcC11c2Vycw==?=" <dhcp-users at lists.isc.org>
Subject: dhcp relay doesn't work?please help
Message-ID: <tencent_530888D070BA98DA0E3600A4 at qq.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi all:
           I'm sorry my English is not good,please be patient.thank you!!
I'm doing a 

project based on openwrt (SOC: Atheros ar9341) .As the following chart
shows, I

 need a router as a dhcp relay agent,so i use isc-dhcp-relay


dhcp server <------------> eth0 (router) eth1 <------------>dhcp client


dhcp server ip:	       a normal dhcp server 
router eth0 ip:         eth0 get the ip from dhcp server
router eth1 ip:             static ip,eth1 is directed connected
to lan,the bridged interface name is br-lan

I enter the command:

	dhcrelay -i br-lan

However, even though I tried two available dhcp server, the client can not
obtain an IP address.

for dhcp server 1,wireshark shows 

	1) router forwards dhcp discover from client to server

	2) server replies dhcp offer to router

	3) router doesn't send anything to client

for dhcp server 2,wireshark shows

	1) router forwards dhcp discover from client to server

	2)server replies nothing.

Does anyone have any suggestions? Thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...


dhcp-users mailing list
dhcp-users at lists.isc.org

End of dhcp-users Digest, Vol 66, Issue 15

More information about the dhcp-users mailing list