What happens when you turn on the wifi on your phone.....


Bit Of Theory😐


      DHCP(Dynamic Host Configuration Protocol) : ~
                          -  assigns an IP address and other network configuration parameters to each device on a network so they can communicate with other IP networks


    


My Phone When , I have No Ip 




Now I Turn On my wifi (Things Work Happy Me😊



The DORA Process:


Behind the Scenes

Discover:
            - DHCP Client ( your phone in this case) sends out a DHCP Discover message to find out the DHCP (your Router ) server

What DHCP Discover message looks like?







Offer

   - DHCP server ( your router ) receives the DHCP discover message from client and sends back the DHCP offer message 



How does DHCP Offer message look like?



Request

   - DHCP client receives the DHCP offer from DHCP server and sends back a DHCP Request message.



How does DHCP Request message look like?




Acknowledge

     Once the DHCP client ( your phone ) sends the request to get the Offered IP address, DHCP server responds with an acknowledge message towards DHCP client



And Then we have Identity, I mean my phone😜




Thank  you guys...

Popular posts from this blog

Certification for Kubernetes? I got it covered.

Netcat: ( TCP/IP Swiss Army Knife ) | DevOps | Linux | Use-Cases