LECTURE 4 NETWORK PROTOCOLS AND COMMNICATION Flashcards

1
Q

What is message encoding?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is message formatting and encapsulation

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Discuss message size

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is segmenting?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Discuss message timing

A

Determines when to send messages how fast or slow etc. Involves:
• Access Method
• Flow Control
• Response Timeout

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Discuss access method

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Discuss Flow Control

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Discuss response timeout

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Discuss the different message delivery options

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Discuss the correlation between protocols and layers

A

 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a network protocol?

A

Networking protocols define a common format and set of rules for exchanging messages
between devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Using an example explain protocol interaction

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a protocol suite?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is APRANET?

A

 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Map different protocols to the various layers

A

*see doc for pic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Describe the TCP/IP Communication process

A

The webserver prepares the Hypertext Markup Language (HTML) page. The HTTP application layer protocol sends the data to the transport layer.
• The transport layer breaks the data into
segments and identifies each.
• Next the IP source and destination addresses are added, creating an IP Packet.
• The Ethernet information is then added
creating the Ethernet Frame, or data link frame.
• This frame is delivered to the nearest router along the path towards the web client. Each router adds new data link
information before forwarding the packet.

17
Q

Describe TCP/IP communications from the clients perspective

A
 When receiving the data link frames from
the web server, the client processes and
removes each protocol header in the
opposite order it was added:
• First the Ethernet header is removed
• Then the IP header
• Then the Transport layer header
• Finally the HTTP information is processed and
sent to the client’s web browser
18
Q

What are the benefits of open standards and who provides them?

A

Open standards encourage interoperability, competition, and innovation.
 Standards organizations are usually vendor-neutral, non-profit organizations
established to develop and promote the concept of open standards

19
Q

Give examples of internet standards organizations

A

 Internet Society (ISOC)
 Internet Architecture Board (IAB)
 Internet Engineering Task Force (IETF)
 Internet Research Task Force (IRTF)

20
Q

Give examples of electronics and communications standard organizations

A

 Institute of Electrical and Electronics Engineers
(IEEE)
 Electronic Industries Alliance (EIA)
 Telecommunications Industry Association (TIA)

21
Q

What are the benefits of using a layered model?

A

• Assisting in protocol design since protocols at each layer have defined functions.
• Fostering competition because products from different vendors can work together.
• Preventing technology changes in one layer from affecting other layers.
• Providing a common language to describe networking functions and
capabilities.

22
Q

Describe each layer of the OSI Model

A

 Application - contains protocols used for process-to-process communications.
 Presentation - provides for common representation of the data.
 Session - provides services to the presentation layer to
organize its dialogue and to manage data exchange.
 Transport - defines services to segment, transfer, and reassemble the data.
 Network - provides services to exchange the individual pieces of data over the network between identified end devices.
 Data Link - provides methods for exchanging data frames between devices over a common media.
 Physical - describes the mechanical, electrical, functional, and procedural means to transmit bits across physical connections.

23
Q

Describe each layer of the TCP/IP Model

A

Application- Represents data to the user, plus encoding and dialog control
Transport- Supports communication between various devices across diverse networks
Internet - Determines the best path through a network
Network Access- Controls the hardware devices and media that make up the network

24
Q

How does the OSI model map onto the TCP/IP model?

A

*See doc for pic

25
Q

What are the names of the PDUs of different layers

A
  • Data - application layer PDU
  • Segment – Transport layer PDU
  • Packet – Network layer PDU
  • Frame – Data Link Layer PDU
  • Bits – Physical Layer PDU
26
Q

Give examples of the encapsulation process

A

 The encapsulation process works from top to bottom:
• Data is divided into segments.
• The TCP segment is encapsulated in the IP Packet.
• The IP packet is encapsulated in the
Ethernet Frame

27
Q

What is the de-encapsulation process?

A

 De-encapsulation is the process used by a receiving device to
remove one or more of the protocol headers.
 The de-encapsulation process works from bottom to top.
• The data is de-encapsulated as it
moves up the stack toward the end-user application.

28
Q

What is the purpose of the network layer source and destination addresses?

A
  • Responsible for delivering the IP packet from the original source to the final destination.
29
Q

What is the purpose of the data link addresses ?

A

 The purpose of the data link address is to deliver the data link frame from one network interface to
another network interface on the same network.
• As the IP packet travels from source to destination it is encapsulated in a new
data link frame when it is forwarded by each router.

30
Q

What are the parts of an IP address?

A

 The network layer addresses, or IP addresses, indicate the original source and final
destination.
• Network portion – The left-most part of the
address indicates which network the IP address
is a member of.
• Host portion – The remaining part of the address identifies a specific device on the network.

31
Q

What is the difference in addressing when devices are on the same network and on a remote network?

A
IP
Same- IP addresses,
indicate the original source and final
destination.
Remote- the
source and destination IP
addresses represent hosts on different networks.

DATA-LINK
Same-The data link frame which uses MAC
addressing, is sent directly to the receiving
device
Remote-The data link frame cannot be sent
directly to the remote destination host. Therefore the frame is sent to the default gateway (nearest router
interface). The router removes the received
Layer 2 information and adds new data link information before
forwarding out the exit interface.

32
Q

 Explain the role of protocols and standards organizations in facilitating
interoperability in network communications.

A

Most protocols are created by a standards organization such as the IETF or IEEE. Since these protocols are uniform different devices or systems form different vendors are able to readily connect and exchange information with each other