From owner-freebsd-hackers Thu Aug 13 08:22:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA11483 for freebsd-hackers-outgoing; Thu, 13 Aug 1998 08:22:56 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from news.IAEhv.nl (news.IAEhv.nl [194.151.64.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA11477 for ; Thu, 13 Aug 1998 08:22:51 -0700 (PDT) (envelope-from hans@news.IAEhv.nl) Received: from LOCAL (uucp@localhost) by news.IAEhv.nl (8.8.8/1.63) with IAEhv.nl; pid 27369 on Thu, 13 Aug 1998 15:22:19 GMT; id PAA27369 efrom: hans; eto: freebsd-hackers@freebsd.org Received: by truk.brandinnovators.com (8.8.7/BI96070101) for id RAA14501; Thu, 13 Aug 1998 17:05:48 +0200 (CEST) Message-Id: <199808131505.RAA14501@truk.brandinnovators.com> From: hans@brandinnovators.com (Hans Zuidam) Subject: bootpgw & windows NT To: freebsd-hackers@FreeBSD.ORG Date: Thu, 13 Aug 1998 17:05:48 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, In the bootpgw sources it is noted somewhere that using the address of the interface on which the bootp packet is relayed in the giaddr field of the packet is wrong, but done anyway. When using the windowsNT dhcp server to supply IP addresses through bootpgw, windowsNT refuses to send an answer if the giaddr field is not set to the same network as the requested IP address is for: +-------+ +---------+ +-------+ | NT | ----------- | FreeBSD | ----------- | Other | +-------+ 192.9.200 +---------+ 192.9.201 +-------+ giaddr = 192.9.200.xx -> no answer from NT giaddr = 192.9.201.yy -> correct answer from NT I understand that when you have aliases on an interface it is very difficult to find the correct interface address after receiving a broadcast (to say the least.) But apart from the (in the bootpgw sources) noted portability problem is there any compelling reason why bootpgw should not pick the first interface address it finds on the interface it received the bootp broadcast on? Regards, Hans -- H. Zuidam E-Mail: hans@brandinnovators.com Brand Innovators B.V. P-Mail: P.O. Box 1377 de Pinckart 54 5602 BJ Eindhoven, The Netherlands 5674 CC Nuenen Tel. +31 40 2631134, Fax. +31 40 2831138 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message