<div dir="ltr"><div class="im"><div><div><div>Hello,<br><br></div>I have some troubles to make my dhcp relay working.<br></div>I launch dhcrelay with:<br><br>/usr/sbin/dhcrelay -d -i eth0 -i eth0.2 192.168.2.254<br>
<br></div>I can see the boot requests forwarded:<br></div>Forwarded BOOTREQUEST for 00:26:9e:xx:xx:xx to 192.168.2.254<br><br><div>but no BOOTREPLY forwarded.<br><br></div><div>With dhcpdump on eth0.2 (the interface connected to the client) I can see the BOOTREQUEST:<br>
<br> TIME: 2013-01-30 17:54:14.108<br> IP: 0.0.0.0 (0:26:9e:xx:xx:xx) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)<br> OP: 1 (BOOTPREQUEST)<br> HTYPE: 1 (Ethernet)<br> HLEN: 6<br> HOPS: 0<br> XID: 9505ab35<br> SECS: 2816<br>
FLAGS: 0<br>CIADDR: 0.0.0.0<br>YIADDR: 0.0.0.0<br>SIADDR: 0.0.0.0<br>GIADDR: 0.0.0.0<br>CHADDR: 00:26:9e:xx:xx:xx:00:00:00:00:00:00:00:00:00:00<br> SNAME: .<br> FNAME: .<br>OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)<br>
OPTION: 61 ( 7) Client-identifier 01:00:26:9e:xx:xx:xx<br>OPTION: 12 ( 7) Host name mypc<br>OPTION: 60 ( 8) Vendor class identifier MSFT 5.0<br>OPTION: 55 ( 12) Parameter Request List 1 (Subnet mask)<br>
15 (Domainname)<br> 3 (Routers)<br> 6 (DNS server)<br> 44 (NetBIOS name server)<br> 46 (NetBIOS node type)<br>
47 (NetBIOS scope)<br> 31 (Perform router discovery)<br> 33 (Static route)<br> 121 (Classless Static Route)<br> 249 (MSFT - Classless route)<br>
43 (Vendor specific info)<br><br></div><div>And on eth0 (the interface connected to the DHCP server) both the request and the reply:<br><br> TIME: 2013-01-30 17:55:54.872<br> IP: 192.168.2.11 (b8:27:eb:xx:xx:xx) > 192.168.2.254 (f4:ca:e5:xx:xx:xx)<br>
OP: 1 (BOOTPREQUEST)<br> HTYPE: 1 (Ethernet)<br> HLEN: 6<br> HOPS: 1<br> XID: 221fce9e<br> SECS: 0<br> FLAGS: 0<br>CIADDR: 0.0.0.0<br>YIADDR: 0.0.0.0<br>SIADDR: 0.0.0.0<br>GIADDR: 192.168.2.11<br>CHADDR: 00:26:9e:xx:xx:xx:00:00:00:00:00:00:00:00:00:00<br>
SNAME: .<br> FNAME: .<br>OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)<br>OPTION: 61 ( 7) Client-identifier 01:00:26:9e:xx:xx:xx<br>OPTION: 12 ( 7) Host name mypc<br>OPTION: 60 ( 8) Vendor class identifier MSFT 5.0<br>
OPTION: 55 ( 12) Parameter Request List 1 (Subnet mask)<br> 15 (Domainname)<br> 3 (Routers)<br> 6 (DNS server)<br> 44 (NetBIOS name server)<br>
46 (NetBIOS node type)<br> 47 (NetBIOS scope)<br> 31 (Perform router discovery)<br> 33 (Static route)<br> 121 (Classless Static Route)<br>
249 (MSFT - Classless route)<br> 43 (Vendor specific info)<br> <br>OPTION: 82 ( 6) Relay Agent Information <br> Circuit-ID 65:74:68:30<br>
---------------------------------------------------------------------------<br> TIME: 2013-01-30 17:55:54.884<br> IP: 192.168.2.254 (f4:ca:e5:xx:xx:xx) > 192.168.2.11 (b8:27:eb:xx:xx:xx)<br> OP: 2 (BOOTPREPLY)<br>
HTYPE: 1 (Ethernet)<br> HLEN: 6<br> HOPS: 0<br> XID: 221fce9e<br> SECS: 0<br> FLAGS: 0<br>CIADDR: 0.0.0.0<br>YIADDR: 192.168.2.15<br>SIADDR: 0.0.0.0<br>GIADDR: 0.0.0.0<br>CHADDR: 00:26:9e:xx:xx:xx:00:00:00:00:00:00:00:00:00:00<br>
SNAME: .<br> FNAME: .<br>OPTION: 53 ( 1) DHCP message type 2 (DHCPOFFER)<br>OPTION: 54 ( 4) Server identifier 192.168.2.254<br>OPTION: 51 ( 4) IP address leasetime 43200 (12h)<br>OPTION: 1 ( 4) Subnet mask 255.255.255.0<br>
OPTION: 3 ( 4) Routers 192.168.2.254<br>OPTION: 6 ( 4) DNS server 192.168.2.254<br><br><br></div><div>Does anybody have an idea why my ISC DHCP Relay does not forward BOOTREPLY ?<br>
<br></div>Thanks a lot.</div>