<div dir="ltr">I have simple configuration of the DHCP server. <div style>====</div><div style><div># Basic stuff to name the server and switch on updating</div><div>local-address 10.75.0.252;<br></div><div><br>
</div><div># Normal DHCP stuff</div><div>option domain-name-servers 193.43.210.2, 208.67.222.222, 208.67.220.220;<br></div><div>option ntp-servers <a href="http://ntp.netlife.com.ua">ntp.netlife.com.ua</a>;</div>
<div>ddns-update-style none;<br></div><div><br></div><div>stash-agent-options true; </div><div>====</div><div><br></div><div style>Then I configure Dlink DES-3200 series switch to be my DHCP Relay. And here is what I see in tcpdump output:</div>
<div style>====</div><div style><div> 10.75.0.146.68 > 10.75.0.252.67: [udp sum ok] BOOTP/DHCP, Request from 8c:89:a5:13:bf:f0, length 324, hops 1, xid 0x50c40ccf, secs 3328, Flags [none] (0x0000)</div><div><span class="" style="white-space:pre"> </span> Gateway-IP 10.75.0.146</div>
<div><span class="" style="white-space:pre"> </span> Client-Ethernet-Address 8c:89:a5:13:bf:f0</div><div><span class="" style="white-space:pre"> </span> Vendor-rfc1048 Extensions</div><div><span class="" style="white-space:pre"> </span> Magic Cookie 0x63825363</div>
<div><span class="" style="white-space:pre"> </span> DHCP-Message Option 53, length 1: Request</div><div><span class="" style="white-space:pre"> </span> Client-ID Option 61, length 7: ether 8c:89:a5:13:bf:f0</div><div>
<span class="" style="white-space:pre"> </span> Requested-IP Option 50, length 4: 193.43.210.209</div><div><span class="" style="white-space:pre"> </span> Hostname Option 12, length 7: "AMSI-M-^OM-^J"</div>
<div><span class="" style="white-space:pre"> </span> FQDN Option 81, length 10: "AMSI-M-^OM-^J"</div><div><span class="" style="white-space:pre"> </span> Vendor-Class Option 60, length 8: "MSFT 5.0"</div>
<div><span class="" style="white-space:pre"> </span> Parameter-Request Option 55, length 12: </div><div><span class="" style="white-space:pre"> </span> Subnet-Mask, Domain-Name, Default-Gateway, Domain-Name-Server</div>
<div><span class="" style="white-space:pre"> </span> Netbios-Name-Server, Netbios-Node, Netbios-Scope, Router-Discovery</div><div><span class="" style="white-space:pre"> </span> Static-Route, Classless-Static-Route, Classless-Static-Route-Microsoft, Vendor-Option</div>
<div><span class="" style="white-space:pre"> </span> Agent-Information Option 82, length 18: </div><div><span class="" style="white-space:pre"> </span> Circuit-ID SubOption 1, length 6: ^@^D^@^B^@^D</div><div><span class="" style="white-space:pre"> </span> Remote-ID SubOption 2, length 8: ^@^FM-p}hM-#M-^N^X</div>
<div><br></div><div>====</div><div><br></div><div style>and here DHCP server rejects requests:</div><div style>====</div><div style>05:42:26.633369 IP (tos 0xc0, ttl 64, id 30699, offset 0, flags [none], proto ICMP (1), length 380)<br>
</div><div> 10.75.0.252 > <a href="http://10.75.0.146">10.75.0.146</a>: ICMP 10.75.0.252 udp port 67 unreachable, length 360</div><div><span class="" style="white-space:pre"> </span>IP (tos 0x0, ttl 128, id 16204, offset 0, flags [none], proto UDP (17), length 352)</div>
<div>====</div><div><br></div><div style>I've checked out my firewall:</div><div style>====</div><div style><div> iptables -nvL</div><div>Chain INPUT (policy ACCEPT 395 packets, 35787 bytes)</div><div> pkts bytes target prot opt in out source destination </div>
<div><br></div><div>Chain FORWARD (policy ACCEPT 178K packets, 171M bytes)</div><div> pkts bytes target prot opt in out source destination </div><div><br></div><div>Chain OUTPUT (policy ACCEPT 532 packets, 68711 bytes)</div>
<div> pkts bytes target prot opt in out source destination </div><div>====</div><div><div>I've compiled dhcpd with flags:</div><div>./configure --enable-use-sockets --enable-ipv4-pktinfo</div>
</div><div><br></div><div style>I'm running out of idea what can cause this issue? Any help is welcomed!</div></div></div></div></div>