Page 33 - Mobile Computing
P. 33

32


               Transition States of DHCP with Neat Diagram


                     DHCP is Dynamic  Host  Configuration  Protocol for  assigning  IP
                       addresses to devices on a network, a device can have different IP address
                       every time it connects to the network.

                     The  DHCP  has  been  devised  to  provide  static  and  dynamic  address
                       allocation.


                     To provide dynamic address allocation, the DHCP client acts as a state
                       machine that performs transitions from one state to another depending on
                       the messages it receives or sends. Figure shows the transition diagram with
                       main states.


                                                            Boot





                                                           INIT


                            -/DHCPDISCOVER


                                                     SELECTING                           DHCPOFFER



               Select Offer / DHCPREQUEST                                                            Lease time expired
                                                                                                             or
                                                    REQUESTING                                          DHCPNACK


                                                        DHCP ACK

                                                                              Lease Cancelled
                      Lease time 50% expired                                 DHCPRELEASE
                         DHCPREQUEST

                                                        BOUND


                                          DHCP ACK                   DHCP ACK
               RENEWING                                                                       REBENDING






                                             Lease time 87.5% expired /
                                                  DHCP REQUEST
   28   29   30   31   32   33   34   35   36   37   38