Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "Soren S. Jorvang" <soren@wheel.dk>
To: Keith M Wesolowski <wesolows@chem.unr.edu>
Cc: Eric Watkins <watkinse@attens.com>,
	Philippe Chauvat <philippe.chauvat@exfo.com>,
	Linux Mips <linux@cthulhu.engr.sgi.com>
Subject: Re: [DHCP]
Date: Fri, 26 May 2000 06:14:04 +0200	[thread overview]
Message-ID: <20000526061404.A3481@gnyf.wheel.dk> (raw)
In-Reply-To: <20000525094735.A30683@chem.unr.edu>; from wesolows@chem.unr.edu on Thu, May 25, 2000 at 09:47:36AM -0700

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

      parent reply	other threads:[~2000-05-26 16:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-25 16:06 [DHCP] Philippe Chauvat
2000-05-25 16:26 ` [DHCP] Eric Watkins
2000-05-25 16:47   ` [DHCP] Keith M Wesolowski
2000-05-25 23:03     ` [DHCP] Eric Watkins
2000-05-26  4:14     ` Soren S. Jorvang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000526061404.A3481@gnyf.wheel.dk \
    --to=soren@wheel.dk \
    --cc=linux@cthulhu.engr.sgi.com \
    --cc=philippe.chauvat@exfo.com \
    --cc=watkinse@attens.com \
    --cc=wesolows@chem.unr.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox