Suppose end system A wants to send a large file to end system B. At a very high level, describe how end system A creates packets
from the file. When one of these packets arrives to a packet switch, what information in the packet does the switch use to determine the link onto which the packet is forwarded? Why is packet switching in the Internet analogous to driving from one city to another and asking directions along the way?
When we journey from a particular city to another city and we don’t really know the path then we ask for path and go on that which is just the same thing as packet switching.
Explanation:
Suppose system A intends to send packet to system B the steps and procedures are given below
1. A breakdown of large file into smaller bits of data on system A will first occur.
2.It attach separate headers for every portion of the file so that each portion looks like separate packet.
3.Header file in chunks will contain ip address of the file receiver which here is system B.
4. the Switch system will utilize the IP present in header to decide the link to destination.
A variable is a name associated with a data value; we say that the variable "stores" or "contains" the value. Variables allow us to store and manipulate data in our programs.