blob: ac14ae2b22f8e6110a1264248cfefc427ad4535e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<!--
libdhcp/notes.md - Description of sbc-harness
Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
SPDX-License-Identifier: AGPL-3.0-or-later
-->
| <c> | | <c> |
| In the message from the | | ... then the server ... |
| client the ... | | |
| | | |
| and and | | |
| <c> | <c> | <c> | | <c> | <c> | <c> |
| giaddr | ciaddr | bcast | | | | |
| (relay) | (cur ip) | bit | | verbs | message types | to |
| is | is | is | | | | |
|---------+----------+-------+---+------------+---------------------+-----------------------------|
| nonzero | * | * | | sends | (all) | 'giaddr' BOOTP relay agent |
| | | | | | | |
|---------+----------+-------+---+------------+---------------------+-----------------------------|
| zero | nonzero | * | | unicasts | DHCPOFFER & DHCPACK | 'ciaddr' client |
| | | | | broadcasts | DHCPNACK | 0xffffffff |
|---------+----------+-------+---+------------+---------------------+-----------------------------|
| zero | zero | 1 | | broadcasts | DHCPOFFER & DHCPACK | 0xffffffff |
| | | | | broadcasts | DHCPNACK | 0xffffffff |
|---------+----------+-------+---+------------+---------------------+-----------------------------|
| zero | zero | 0 | | unicasts | DHCPOFFER & DHCPACK | client hw addr and 'yiaddr' |
| | | | | broadcasts | DHCPNACK | 0xffffffff |
In all cases, when 'giaddr' is zero, the server broadcasts any DHCPNAK
messages to 0xffffffff.
|