LECTURE 4 NETWORK PROTOCOLS AND COMMNICATION Flashcards
What is message encoding?
Encoding is the process of converting information into another, acceptable form, for transmission. Decoding reverses this process in order to interpret the information.
Messages sent across the network are first converted into bits by the sending host. Each bit is encoded into a pattern of sounds, light waves, or electrical impulses depending on the network media over which the bits are transmitted. The destination host receives and decodes the signals in order to interpret the message.
What is message formatting and encapsulation
A letter writer uses an accepted format to ensure that the letter is delivered and understood by the recipient. In the same way, a message that is sent over a computer network follows specific format rules for it to be delivered and processed. Just as a letter is encapsulated in an envelope for delivery, so too are computer messages encapsulated. Each computer message is encapsulated in a specific format, called a frame, before it is sent over the network. A frame acts like an envelope; it provides the address of the intended destination and the address of the source host.
As application data is passed down the
protocol stack, information is added at each level. This is known as the encapsulation
process.
Discuss message size
when a long message is sent from one host to another over a network, it is necessary to break the message into smaller pieces. The rules that govern the size of the pieces, or frames, communicated across the network are very strict. They can also be different, depending on the channel used. Frames that are too long or too short are not delivered.
What is segmenting?
The size restrictions of frames require the source host to break a long message into individual pieces that meet both the minimum and maximum size requirements. This is known as segmenting
Discuss message timing
Determines when to send messages how fast or slow etc. Involves:
• Access Method
• Flow Control
• Response Timeout
Discuss access method
Access method determines when someone is able to send a message. These timing rules are based on the environment. Hosts on a network need an access method to know when to begin sending messages and how to respond when errors occur.
Discuss Flow Control
In network communication, a sending host can transmit messages at a faster rate than the destination host can receive and process. Source and destination hosts use flow control to negotiate correct timing for successful communication.
Discuss response timeout
Hosts on the network also have rules that specify how long to wait for responses and what action to take if a response timeout occurs.
Discuss the different message delivery options
A one-to-one delivery option is referred to as a unicast, meaning that there is only a single destination for the message.
When a host needs to send messages using a one-to-many delivery option, it is referred to as a multicast. Multicasting is the delivery of the same message to a group of host destinations simultaneously.
If all hosts on the network need to receive the message at the same time, a broadcast is used. Broadcasting represents a one-to-all message delivery option. Additionally, hosts have requirements for acknowledged versus unacknowledged messages
Discuss the correlation between protocols and layers
Protocol suites are implemented by hosts and networking devices in software, hardware or both.
The protocols are viewed in terms of layers, with each higher level
service depending on the
functionality defined by the protocols shown in the lower levels.
What is a network protocol?
Networking protocols define a common format and set of rules for exchanging messages
between devices.
Using an example explain protocol interaction
Communication between a web server and web client is an example of an interaction between several protocols:
• HTTP - an application protocol that governs the
way a web server and a web client interact.
• TCP - transport protocol that manages the
individual conversations.
• IP – encapsulates the TCP segments into packets, assigns addresses, and delivers to the destination host.
• Ethernet - allows communication over a data link and the physical transmission of data on the
network media.
What is a protocol suite?
A protocol suite is a set of protocols that work together to provide
comprehensive network
communication services eg TCPI/IP
The TCP/IP protocol suite is an open standard, the protocols are freely
available, and any vendor is able to implement these protocols on their
hardware or in their software.
What is APRANET?
Advanced Research Projects Agency Network (ARPANET) was the
predecessor to today’s Internet.
• ARPANET was funded by the U.S. Department of Defense for use by
universities and research
laboratories.
Map different protocols to the various layers
*see doc for pic