linux-mips
[Top] [All Lists]

Re: [DHCP]

To: Keith M Wesolowski <wesolows@chem.unr.edu>
Subject: Re: [DHCP]
From: "Soren S. Jorvang" <soren@wheel.dk>
Date: Fri, 26 May 2000 06:14:04 +0200
Cc: Eric Watkins <watkinse@attens.com>, Philippe Chauvat <philippe.chauvat@exfo.com>, Linux Mips <linux@cthulhu.engr.sgi.com>
In-reply-to: <20000525094735.A30683@chem.unr.edu>; from wesolows@chem.unr.edu on Thu, May 25, 2000 at 09:47:36AM -0700
References: <392D4F76.9B06C235@exfo.com> <001801bfc665$feabed20$540ed7c0@hq.sd.cerf.net> <20000525094735.A30683@chem.unr.edu>
Sender: owner-linuxmips@oss.sgi.com
On Thu, May 25, 2000 at 09:47:36AM -0700, Keith M Wesolowski wrote:
> I also had difficulty using ISC dhcpd to boot SGIs until I did an
> unsetenv netaddr before booting. I don't yet know why this works.

Ted fixed dhcpd for SGI some time ago. I am not sure if it has
made into 3.0.

--- server/bootp.c.orig Fri Apr  9 19:55:02 1999
+++ server/bootp.c      Wed Dec  8 00:23:16 1999
@@ -348,6 +348,16 @@
                                              from, &to, &hto);
                        return;
                }
+
+       /* If it comes from a client that already knows its address
+          and is not requesting a broadcast response, and we can
+          unicast to a client without using the ARP protocol, sent it
+          directly to that client. */
+       } else if (!(raw.flags & htons (BOOTP_BROADCAST)) &&
+                  can_unicast_without_arp()) {
+               to.sin_addr = raw.yiaddr;
+               to.sin_port = remote_port;
+
        /* Otherwise, broadcast it on the local network. */
        } else {
                to.sin_addr.s_addr = INADDR_BROADCAST;


-- 
Soren

<Prev in Thread] Current Thread [Next in Thread>