Re: Questions about server's use of giaddr

Shawn Mamros <mamros@ftp.com> Mon, 05 February 1996 16:54 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa03682; 5 Feb 96 11:54 EST
Received: from CNRI.Reston.VA.US by IETF.CNRI.Reston.VA.US id aa03678; 5 Feb 96 11:54 EST
Received: from reef.bucknell.edu by CNRI.Reston.VA.US id aa10017; 5 Feb 96 11:54 EST
Received: from localhost by reef.bucknell.edu with SMTP (5.65/IDA-1.2.8) id AA27689; Mon, 5 Feb 1996 11:45:38 -0500
Date: Mon, 5 Feb 1996 11:45:38 -0500
Message-Id: <9602051527.AA21661@mailserv-C.ftp.com>
Errors-To: droms@bucknell.edu
Reply-To: dhcp-v4@bucknell.edu
Originator: dhcp-v4@bucknell.edu
X-Orig-Sender: dhcp-v4@bucknell.edu
Precedence: bulk
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Shawn Mamros <mamros@ftp.com>
To: Multiple recipients of list <dhcp-v4@bucknell.edu>
Subject: Re: Questions about server's use of giaddr
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
X-Comment: Discussion of DHCP for IPv4

>Perhaps the easiest way to deal with this pthga case would be to add a few
>words to RFC 1542 to the effect of: "A relay agent with an interface to a
>network with multiple IP subnets SHOULD be configured with an address on
>each of the IP subnets.  Otherwise, the relay agent may receive responses
>from the DHCP server that it will be unable to forward to the client."

I don't know that I'd go that far...  Maybe it would be easier just to
say, "A relay agent MUST NOT use yiaddr to determine the interface on
which to relay a message from a DHCP or BOOTP server to a client; it MUST
use giaddr solely instead.  yiaddr MUST only be used as the destination
IP address when relaying a message from a server to a client (when the
broadcast bit is not set).  A relay agent MUST NOT send server responses
through a router, even if yiaddr and giaddr appear to be on different
logical networks, because the server could have knowledge about the
topology of the network that is unknown to the relay agent (e.g., the
logical networks indicated by yiaddr and giaddr may both reside on the
same physical network)."

Even if a relay agent were to have addresses configured on every logical
subnet, it still might get "confused" in the event of seeing a server
response that has yiaddr and giaddr on different networks.  I think my
language above would make it clear how to avoid such confusion.  giaddr
selects the interface, yiaddr specifies the unicast destination, and
leave the router(s) out of it...

-Shawn Mamros
E-mail to: mamros@ftp.com