NETWORKING

NETWORKING

Sunday, November 30, 2008


How data communication (packet) are deliver from client to PC1

  • Client are using FTP command to transfer file to PC1. He/She will initiate ftp command and used port 20 (to transfer data) and 21 (For command eg:login and password)
  • TCP stack will resolve the host name (PC1) to IP address. This is done by query DNS server or local DNS.
  • Once destination IP resolved, destination IP is compared to local subnetmask to determine destination address are local or remote.
  • If destination address is local, resolve MAC address of target device, but if destination address is remote then perform route resolution to identify next hop router (local route or fwd to default gateway)
  • Resolve IP Address to MAC address of default router to forward packet to appropiate destination (PC1)

No comments: