









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Today. • The role of OS in computer networking. • To appreciate this role we give a summary of the networking principles.
Typology: Lecture notes
1 / 17
This page cannot be seen from the preview
Don't miss anything!










Today
the networking principles.
Communication
Computer Network
● First, computers should be interconnected with
each other, forming a network.
● Depending on the interconnection means, we
have:
● Wired networks
● Wireless networks
● Depending on the size of the network, we have:
● Local Area networks (LANs)
● Wide Area networks (WANs)
Protocol Stack: Case 1
● Suppose:
● We have a reliable, small, wired computer network (LAN). ● The interconnected computers run only one network application. ● The network application is a simple email program, with which a user writes a text and sends it to another interconnected computer.
● Questions:
● How is the data going to be transmitted?
Protocol Stack: Case 1
● So:
● We have the level of the application, in which the text is created. ● We need a 2nd^ level, which takes the text and the destination, splits the text into packets and adds a header to each packet. ● Finally, we need a 3rd^ layer that will take each packet (in bytes) and will convert it into an electromagnetic signal. ● The electromagnetic signal is transmitted to the common interconnection means. ● The receiver-computer (3rd^ layer) gets the signal and converts it into packet (sequence of bytes). ● The 3rd^ layer passes the packet to the 2nd^ layer. ● The 2nd^ layer reads the header and verifies that this computer is the receiver. ● Then, it removes the header and saves the rest of the packet in a buffer. ● When the data is received, the 2nd^ layer passes the buffer to the application layer. ● The application layer reads the data and prints it as a text to the user.
Protocol Stack: Case 2
● Suppose:
● We have a reliable, small, wired computer network (LAN).
● The interconnected computers run only one network application.
● The network application is a simple email program, with which a user writes a text and sends it to another interconnected computer.
● Questions:
● How will we distinguish the different network applications?
● How are we going to deal with packet loss and reordering?
Protocol Stack: Case 2
● So:
● Between the Application and the Link Layer, we add the Transport Layer.
● The Transport Layer splits the text into packets, if need be, and at every packet adds a header.
● The header has at least the port of the corresponding application (email) at the receiver.
● If we want to retransmit lost packets or keep the correct order of received packets at the receiver, the Transport Layer of the sender writes the needed information in the header.
● Then, the Transport Layer forward the packets to the Link Layer.
● The remaining steps are the same as these of the Case 1.
● The Transport Layer of the receiver keeps internal states to correct possible packet lost or reordering. It, also, reassembles the text and forwards it to the application.
13
Protocol Stack: Case 3
● Suppose:
● We have a reliable, small, wide wired computer network (WAN). ● The interconnected computers run only one network application. ● The network application is a simple email program, with which a user writes a text and sends it to another interconnected computer.
● Questions:
● How will the computers be connected with each other?
Protocol Stack: Case 3
● So:
● We add between the Transport and the Link Layer, the Network Layer.
● The Network Layer takes the packet from the Transport Layer and adds a new header.
● The header contains at least the address of the destination.
● The Network Layer forwards the new packet to the Link Layer.
● When the packet reaches the interconnection means of the subnetwork, a specific device will see that the packet's destination is in a different subnetwork and it will send it to the next router.
● After packet being routed through the network, it reaches the subnetwork of the destination.
● Using the id that exists in the header of the Link Layer, the packet reaches the destination.
Today
the networking principles.
Coming up…