Lingquan | Blog

Layered Architecture of Network

Word count: 133Reading time: 1 min
2019/09/25 Share


If a client wants to send somthing to a server, the sequece is this:

  1. He needs to know its own IP address using DHCP
  2. He need to know server’s IP address using DNS
  3. He need to see if the server is in the same network with him via comparing the net id of their IP address;
    If yes, it will not need the help of routers
    If no, it will need the help of routers
  4. Either situation of 3, it firstly need to find the mac address of a router or the server, which need ARP
  5. If its need the help of router, the router will look up its routing table. If the router does not contain the IP address of the requested router, the router will find which next router could help.
CATALOG