questions about (system) dhclient

Robert Huff roberthuff at rcn.com
Tue Apr 1 15:29:17 UTC 2014


Dave Duchscher writes:

 >  The description of the DHCP packet flow is incorrect. DHCP packet
 >  flow is the following for clients requesting a new lease. Diagram
 >  below copied from RFC 2131. For clients renewing a lease, only
 >  the REQUEST and ACK steps are done.
 >
 >                  Server          Client          Server
 >              (not selected)                    (selected)
 >
 >                    v               v               v
 >                    |               |               |
 >                    |     Begins initialization     |
 >                    |               |               |
 >                    | _____________/|\____________  |
 >                    |/DHCPDISCOVER | DHCPDISCOVER  \|
 >                    |               |               |
 >                Determines          |          Determines
 >               configuration        |         configuration
 >                    |               |               |
 >                    |\             |  ____________/ |
 >                    | \________    | /DHCPOFFER     |
 >                    | DHCPOFFER\   |/               |
 >                    |           \  |                |
 >                    |       Collects replies        |
 >                    |             \|                |
 >                    |     Selects configuration     |
 >                    |               |               |
 >                    | _____________/|\____________  |
 >                    |/ DHCPREQUEST  |  DHCPREQUEST\ |
 >                    |               |               |
 >                    |               |     Commits configuration
 >                    |               |               |
 >                    |               | _____________/|
 >                    |               |/ DHCPACK      |
 >                    |               |               |
 >                    |    Initialization complete    |
 >                    |               |               |
 >                    .               .               .
 >                    .               .               .
 >                    |               |               |
 >                    |      Graceful shutdown        |
 >                    |               |               |
 >                    |               |\ ____________ |
 >                    |               | DHCPRELEASE  \|
 >                    |               |               |
 >                    |               |        Discards lease
 >                    |               |               |
 >                    v               v               v

	Synopsis of my (apparent) problem: DISCOVER, OFFER, REQUEST,
and ACKNOWLEDGEMENT all happen correctly ... but the information
doesn't make it to ifconfig or the routing table.


			Robert Huff



More information about the freebsd-net mailing list