Communications Networks: By:-Deltiin India Tech Private Limited
Communications Networks: By:-Deltiin India Tech Private Limited
on
Internet of Things
Communications Networks
By:-
Deltiin India Tech Private Limited
Nodes and Links
Topology
Topology
Example: Internet
Geographical Extent
Optical fiber
• e.g., backbone of Internet
Suppose you have data that needs to be transmitted from user A to user B.
Should you ask the network to set up a dedicated path from user A to user B?
Or should you break up the data into standard size packets and let the network
decide “on the fly” how to best send the packets from user A to user B?
Circuit vs. Packet Switching
The telephone network was optimized for analog voice communication. A direct
path between two parties is established for each conversation session.
Traffic between computers is usually bursty, i.e., short packets of data are
exchanged rapidly, followed by relatively long periods of inactivity.
Instead, successive messages between two computers are addressed and sent
individually, not necessarily using the same path. Long messages are broken up
into packets
Circuit Switching example
Suppose you’re on a vacation and rent a car for one week. You will have to pay
the rental fee whether you actually drive the car or have it parked in a parking
lot. But whenever you need to go somewhere, the car is right there and you
can use it immediately. This is the essential idea behind circuit switching.
Suppose you go downtown with the bus. You only pay the bus while you ride it.
The fare is cheap because you can share the bus with many other people. But the
bus route is fixed and you may have to change along the way to get to your
destination. In addition, you may have to wait for the next available bus. This is
similar to packet switching in networks.
Circuit Switching example
Suppose you’re on a vacation and rent a car for one week. You will have to pay
the rental fee whether you actually drive the car or have it parked in a parking
lot. But whenever you need to go somewhere, the car is right there and you
can use it immediately. This is the essential idea behind circuit switching.
Suppose you go downtown with the bus. You only pay the bus while you ride it.
The fare is cheap because you can share the bus with many other people. But the
bus route is fixed and you may have to change along the way to get to your
destination. In addition, you may have to wait for the next available bus. This is
similar to packet switching in networks.
Data networks are rather complex to design and implement. To make the complexity
manageable, most networks use a layered architecture.
Each layer has specific, well defined tasks. Layers at the same level in different computers
are referred to as peers.
Layers: Example
You are the president of company B in Boulder and want to offer the services of your company
to your peer, the president of company Y in New York.
You write a letter, starting with “Dear Bob, may I …”, and ending with “Sincerely yours, Jim”. The
phrases “Dear Bob” and “Sincerely yours” are part of the peer-to-peer protocol when writing
letters.
Protocols
The rules and conventions used in the peer-to-peer communications at a given layer are collectively
called a protocol.
Protocols used on the Internet are TCP, IP, and UDP (User Datagram Protocol).
A list of protocols that is used at each layer in a certain network architecture is called a protocol
stack
The OSI model has 7 layers which are shown on the following slide.
The OSI 7 Layer Model
The OSI 7 Layer Model
OSI Model Networking
Services Performed by Layers