issue in dhcp relay

ameen.shajahan at wipro.com ameen.shajahan at wipro.com
Wed Mar 27 15:21:20 UTC 2013


Hi All,

Setup for relay in our network
--------------------------------------

Dhcpserver------------------Our network---------------------------Relay------------------PC
eth0: 10.46.185.77                                                                eth0 : 30.30.30.31

>From Server I can able to ping relay and vice versa. So no reachability issues. But IP is not getting assigned to PC.

Server side configuration
--------------------------------
cat /etc/dhcpd.conf
subnet 10.46.185.0 netmask 255.255.255.0 {
}
subnet 30.30.30.0 netmask 255.255.255.0 {
  range 30.30.30.2 30.30.30.10;
}

[root at New_LC_04 ~]# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:30:48:B0:D4:E2
          inet addr:10.46.185.77  Bcast:10.46.185.255  Mask:255.255.255.0
          inet6 addr: fe80::230:48ff:feb0:d4e2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:944510 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27901 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:80879632 (77.1 MiB)  TX bytes:5138695 (4.9 MiB)
          Memory:d0100000-d0120000

[root at New_LC_04 ~]#

Snap In Server side
------------------------
[root at New_LC_04 ~]# dhcpd -4 -d -cf /etc/dhcpd.conf -lf /var/db/dhcpd.leases eth0
DHCPDISCOVER from d0:27:88:d7:4a:31 (PC) via 30.30.30.31
DHCPOFFER on 30.30.30.2 to d0:27:88:d7:4a:31 (PC) via 30.30.30.31


Snap In Relay side
----------------------
# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:60:43:00:00:0A
          inet addr:30.30.30.31  Bcast:30.30.30.255  Mask:255.255.255.0
          inet6 addr: fe80::260:43ff:fe00:a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:139 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:32290 (31.5 KiB)  TX bytes:1062 (1.0 KiB)
          Base address:0x6000

#

#./dhcrelay -4  -d 10.46.185.77
Forwarded BOOTREQUEST for d0:27:88:d7:4a:31 to 10.46.185.77

Both server and relay are able to ping each other. But why the BOOTREPLY message not coming to relay.
I am trying hard with this  setup, but in server I can able to see up to DHCP OFFER message only.
Please let me know how to debug that. If somebody knows how to debug this, that would be great help for me.

What was the reason behind for this issue?

Thanks,
Ameen

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20130327/c26ff971/attachment-0001.html>


More information about the dhcp-users mailing list