dhcrelay does not forward BOOTREPLY

Mickaël Canévet mickael.canevet at gmail.com
Thu Jan 31 17:58:29 UTC 2013


Hello,

I have some troubles to make my dhcp relay working.
I launch dhcrelay with:

/usr/sbin/dhcrelay -d -i eth0 -i eth0.2 192.168.2.254

I can see the boot requests forwarded:
Forwarded BOOTREQUEST for 00:26:9e:xx:xx:xx to 192.168.2.254

but no BOOTREPLY forwarded.

With dhcpdump on eth0.2 (the interface connected to the client) I can see
the BOOTREQUEST:

  TIME: 2013-01-30 17:54:14.108
    IP: 0.0.0.0 (0:26:9e:xx:xx:xx) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 9505ab35
  SECS: 2816
 FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 00:26:9e:xx:xx:xx:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         1 (DHCPDISCOVER)
OPTION:  61 (  7) Client-identifier         01:00:26:9e:xx:xx:xx
OPTION:  12 (  7) Host name                 mypc
OPTION:  60 (  8) Vendor class identifier   MSFT 5.0
OPTION:  55 ( 12) Parameter Request List      1 (Subnet mask)
                         15 (Domainname)
                          3 (Routers)
                          6 (DNS server)
                         44 (NetBIOS name server)
                         46 (NetBIOS node type)
                         47 (NetBIOS scope)
                         31 (Perform router discovery)
                         33 (Static route)
                        121 (Classless Static Route)
                        249 (MSFT - Classless route)
                         43 (Vendor specific info)

And on eth0 (the interface connected to the DHCP server) both the request
and the reply:

  TIME: 2013-01-30 17:55:54.872
    IP: 192.168.2.11 (b8:27:eb:xx:xx:xx) > 192.168.2.254 (f4:ca:e5:xx:xx:xx)
    OP: 1 (BOOTPREQUEST)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 1
   XID: 221fce9e
  SECS: 0
 FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 192.168.2.11
CHADDR: 00:26:9e:xx:xx:xx:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         1 (DHCPDISCOVER)
OPTION:  61 (  7) Client-identifier         01:00:26:9e:xx:xx:xx
OPTION:  12 (  7) Host name                 mypc
OPTION:  60 (  8) Vendor class identifier   MSFT 5.0
OPTION:  55 ( 12) Parameter Request List      1 (Subnet mask)
                         15 (Domainname)
                          3 (Routers)
                          6 (DNS server)
                         44 (NetBIOS name server)
                         46 (NetBIOS node type)
                         47 (NetBIOS scope)
                         31 (Perform router discovery)
                         33 (Static route)
                        121 (Classless Static Route)
                        249 (MSFT - Classless route)
                         43 (Vendor specific info)

OPTION:  82 (  6) Relay Agent Information
                  Circuit-ID    65:74:68:30
---------------------------------------------------------------------------
  TIME: 2013-01-30 17:55:54.884
    IP: 192.168.2.254 (f4:ca:e5:xx:xx:xx) > 192.168.2.11 (b8:27:eb:xx:xx:xx)
    OP: 2 (BOOTPREPLY)
 HTYPE: 1 (Ethernet)
  HLEN: 6
  HOPS: 0
   XID: 221fce9e
  SECS: 0
 FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 192.168.2.15
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 00:26:9e:xx:xx:xx:00:00:00:00:00:00:00:00:00:00
 SNAME: .
 FNAME: .
OPTION:  53 (  1) DHCP message type         2 (DHCPOFFER)
OPTION:  54 (  4) Server identifier         192.168.2.254
OPTION:  51 (  4) IP address leasetime      43200 (12h)
OPTION:   1 (  4) Subnet mask               255.255.255.0
OPTION:   3 (  4) Routers                   192.168.2.254
OPTION:   6 (  4) DNS server                192.168.2.254


Does anybody have an idea why my ISC DHCP Relay does not forward BOOTREPLY ?

Thanks a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20130131/99e3144b/attachment.html>


More information about the dhcp-users mailing list