<HTML><BODY><br>dhcpd and relay cannot work on same socket on same machine, than i need to<br>say dhcpd to listen another port such as 77. and dchp relay forward all requests from 67 port to 77 port dhcpd<br><br><br>and shema is next:<br><br>clients ip*:67/68 port <-> all ifaces *:68/68 dhcp relay send/receive 77port <-> 10.10.10.1:77 port dhcpd<br><br>But this shema do not work on relay <-> dhcpd side - no any info in logs and any packets by dumping 10.10.10.1:77<br><br>config is next:<br><br>dhcpd_enable="YES"<br>dhcpd_flags="-p 77"<br>dhcpd_ifaces=""<br><br>dhcrelay_enable="YES"<br>dhcrelay_flags="-a -d -D"                     # command option(s)<br>dhcrelay_servers="10.10.10.1"         # v4 dhcrelay server(s)<br>dhcrelay_ifaces=""<br><br>sockstat<br><br>dhcpd    dhcpd      91416 3  dgram  -> /var/run/logpriv<br>dhcpd    dhcpd      91416 20 udp4   *:30026               *:*<br>dhcpd    dhcpd      91416 21 udp6   *:56949               *:*<br>dhcpd    dhcpd      91416 46 udp4   10.10.10.1:77         *:*<br><br>root     dhcrelay   91426 3  dgram  -> /var/run/logpriv<br>root     dhcrelay   91426 20 udp4   *:55611               *:*<br>root     dhcrelay   91426 21 udp6   *:13530               *:*<br>root     dhcrelay   91426 45 udp4   *:67                  *:*<br><br><br>dhcpd  Sending on   Socket/fallback/fallback-net<br><br>dhcp relay  sockstat   dhcrelay listen udp4   *:67  *:*<br><br><br>dhcp relay log file:<br><br>Adding 9-byte relay agent option<br>Forwarded BOOTREQUEST for 00:11:11:09:dd:f7 to 10.10.10.1<br>Adding 9-byte relay agent option<br>Forwarded BOOTREQUEST for 2c:76:8a:dd:64:9e to 10.10.10.1<br>Adding 9-byte relay agent option<br>Forwarded BOOTREQUEST for b8:70:f4:8c:b7:0b to 10.10.10.1<br><br>and dhcpd log file is empty ..... and no reply from dhcpd<br><br><br></BODY></HTML>