Re: Bit swapping across a DHCP Relay

Richard Letts <R.J.Letts@salford.ac.uk> Thu, 24 October 1996 09:59 UTC

Received: from cnri by ietf.org id aa18194; 24 Oct 96 5:59 EDT
Received: from marge.bucknell.edu by CNRI.Reston.VA.US id aa06148; 24 Oct 96 5:59 EDT
Received: from reef.bucknell.edu by mail.bucknell.edu; (5.65v3.2/1.1.8.2/17Jul96-0109PM) id AA15354; Thu, 24 Oct 1996 05:49:47 -0400
Date: Thu, 24 Oct 1996 05:49:47 -0400
Message-Id: <9610240917.AA31098@mail.bucknell.edu>
Errors-To: droms@bucknell.edu
Reply-To: dhcp-v4@bucknell.edu
Originator: dhcp-v4@bucknell.edu
Sender: dhcp-v4@bucknell.edu
Precedence: bulk
From: Richard Letts <R.J.Letts@salford.ac.uk>
To: Multiple recipients of list <dhcp-v4@bucknell.edu>
Subject: Re: Bit swapping across a DHCP Relay
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
X-Comment: Discussion of DHCP for IPv4
Mime-Version: 1.0
X-Mailer: ELM [version 2.4 PL23]

Eric Peterson wrote....
> 
>    3. What RFC defines this behavior? (I examined rfc1542, and although it
> 	discusses the issue of bit-ordering in the 'chaddr' field, it
> 	hardly mentions the actual MAC address.)
> 
If I were implementing a DHCP client/forwarder I'd use canonical addresses
thoughought. The Client would put its canonical address inside the packet,
which would not be touched by the relay. when the response comes back from the
DHCP server the relay converts the canonical address inside the packet into
the form required for the physical interface.

The alternative is for the client to put the mac address in in the form
requireed for the medium (canonical for ethernet, non-canonical for broken
ring and FDDI, and the relay agents NOT to touch it, but to use it as-is.

ie it doesn't matter what the client does, as long as it is consistant.
the Relayshould never touch the contents of the packet, EXcept to put its IP
address in the field inside the packet if it doesn't already have one.

As there is a a HWTYPE field the Server should know what sort of address it
is dealing with.

Richard Letts
---------------------------------------------------------------------------
Network Services Manager                mail:   R.J.Letts@ais.salford.ac.uk
University of Salford                   phone:  +44 161 745 5252
Great Britain                           fax:    +44 161 745 5888