Networking Protocols

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

In computer networking, what primary condition enables proper communication between different systems?

  • Entities in different systems must communicate with each other directly.
  • Entities in different systems must share and use the same protocol language. (correct)
  • Systems must use different data encryption methods.
  • Systems can use proprietary communication methods as long as they exchange bytes.

Why is the task of data transfer typically broken up into modules in protocol architecture?

  • To increase the complexity of network communications.
  • To simplify the design and management of network processes. (correct)
  • To reduce the number of systems involved in data transfer.
  • To limit the number of protocols that can be used.

In the context of protocol architecture, how do peer-to-peer protocols operate?

  • They are dependent on specific communication mediums.
  • They are independent of each other. (correct)
  • They must be changed to suit each medium.
  • They are fully dependent of other upper and lower layers.

Consider a file transfer scenario: Which module would manage error detection during data transfer?

<p>The Communication Service module. (D)</p> Signup and view all the answers

What principle defines that each layer provides services to the upper layer and expects services from the lower layer?

<p>Layered architecture. (B)</p> Signup and view all the answers

In a three-layer model (Network Access, Transport, Application), which layer is concerned with the actual transfer of data and dealing directly with the network's specifics?

<p>Network Access Layer. (D)</p> Signup and view all the answers

Why is it necessary for each application on a multi-tasking computer to have a unique address?

<p>To enable the transport layer to route data correctly to the intended application. (C)</p> Signup and view all the answers

What is the role of Protocol Data Units (PDU) in network communication?

<p>To encapsulate user data with control information as it moves through different layers. (B)</p> Signup and view all the answers

In the Transport Layer, what is the purpose of adding a sequence number to each fragment of user data?

<p>To ensure that the data packets are reassembled in the correct order at the destination. (B)</p> Signup and view all the answers

What is the primary function of the network header added by the Network PDU?

<p>To provide the network address for the destination computer. (C)</p> Signup and view all the answers

How do standard protocol architectures contribute to vendor interoperability?

<p>They allow products from different vendors to work together. (A)</p> Signup and view all the answers

What was the primary reason the OSI Reference Model did not become the widely adopted standard?

<p>It was delivered too late, after TCP/IP had already become the standard. (A)</p> Signup and view all the answers

In the OSI model, why is it important that changes in one layer should not require changes in other layers?

<p>To allow for modularity and easier updates or modifications. (C)</p> Signup and view all the answers

According to the OSI model, what are the three essential elements for standardization?

<p>Protocol specification, service definition, and addressing. (C)</p> Signup and view all the answers

Which OSI layer is responsible for defining data formats, compression, and encryption?

<p>Presentation Layer. (A)</p> Signup and view all the answers

What led to the DoD creating an enormous market for TCP/IP?

<p>Funding TCP/IP for its packet-switched network (ARPANET). (B)</p> Signup and view all the answers

Why is TCP/IP reference model built on its protocols?

<p>Because TCP, IP and the application protocols used the reference model. (A)</p> Signup and view all the answers

Which layers in the OSI model does the TCP/IP model largely omit or not discuss in detail?

<p>Network access and physical. (B)</p> Signup and view all the answers

Which characteristic defines IP as a 'connectionless' protocol?

<p>Each packet travels independently and may arrive out of order. (D)</p> Signup and view all the answers

What are the main differences between TCP and UDP?

<p>TCP provides guaranteed delivery and UDP does not. (B)</p> Signup and view all the answers

What is the role of the IANA?

<p>Allocating unique 'numbers' on the Internet. (A)</p> Signup and view all the answers

What function does the 'service access point' (SAP) perform in a network architecture?

<p>It serves as a unique address within a computer for each application. (B)</p> Signup and view all the answers

Which statement accurately describes the relationship between the Transmission Control Protocol (TCP) and the Transport Layer?

<p>TCP is a protocol used at the Transport Layer to ensure reliable data exchange. (D)</p> Signup and view all the answers

What characteristic of standard protocols enables equipment and software from different vendors to work together, promoting a larger market?

<p>Interoperability. (C)</p> Signup and view all the answers

Suppose a data packet arrives at its destination but is found to be in error. According to protocol operation, what typically happens next?

<p>The packet is retransmitted by the sending system. (B)</p> Signup and view all the answers

What is the role of a ‘router’ in the context of computer networks?

<p>To relay and route packets between different subnetworks. (A)</p> Signup and view all the answers

Why is it important for subnetworks to use the same internetwork protocol?

<p>To enable routers and end systems to communicate and route data correctly. (C)</p> Signup and view all the answers

Which of the following is a key function of the Internet Engineering Task Force (IETF)?

<p>To facilitate protocol engineering and development for the Internet. (A)</p> Signup and view all the answers

What is the main goal of the Internet Assigned Numbers Authority (IANA)?

<p>To manage and allocate unique numbers and codes used in Internet protocols. (B)</p> Signup and view all the answers

What is the purpose of adding error detection code at the Transport Layer?

<p>To determine if a packet needs to be retransmitted. (D)</p> Signup and view all the answers

Which of the following is an example of something that the OSI model specifies for inter-operability?

<p>The precise syntax of different protocols. (B)</p> Signup and view all the answers

Which of the following accurately describes the IESG?

<p>A group within the IETF. (D)</p> Signup and view all the answers

What are the three suborganizations within the Internet Society?

<p>IAB, IETF, IESG (B)</p> Signup and view all the answers

How does a router handle differences in addressing schemes between two subnetworks?

<p>By translating network addresses as needed to ensure packets reach their destination. (B)</p> Signup and view all the answers

Which of the following is a core function of the Internet Protocol (IP)?

<p>Routing packets across multiple networks in a connectionless manner. (C)</p> Signup and view all the answers

Why is it advantageous for data transmission to adopt standard protocol architectures?

<p>Proprietary approaches prevent external devices from being connected. (A)</p> Signup and view all the answers

Which of the following choices is handled by the Transport Layer?

<p>End to end exchange of data. (A)</p> Signup and view all the answers

What is the key design change in IPv6 that was implemented to increase available addresses?

<p>It increased the size of the address space. (C)</p> Signup and view all the answers

The OSI model did not standardize because...

<p>It was designed after TCP/IP was already common. (D)</p> Signup and view all the answers

Flashcards

What are protocols?

Conventions and rules that dictate how networked devices communicate.

What is Protocol Architecture?

Breaking down data transfer tasks into manageable modules.

What is the Network Access Layer?

A layer that handles the exchange of data between a computer and the network.

What is the Transport Layer?

A layer responsible for reliable data exchange, ensuring packets arrive in order and without errors.

Signup and view all the flashcards

What is the Application Layer?

Supports user applications like email and file transfer.

Signup and view all the flashcards

What is computer's network address?

A unique address needed for each computer on a network.

Signup and view all the flashcards

What is a Service Access Point (SAP)?

A unique address needed for each process within a (multi-tasking) computer.

Signup and view all the flashcards

What is a Protocol Data Unit (PDU)?

A unit of data with added control information, passed between layers.

Signup and view all the flashcards

What is the Transport PDU?

A PDU at the transport layer that may contain fragmented user data and a transport header.

Signup and view all the flashcards

What is the Network PDU?

A PDU which contains a network header with destination computer's network address.

Signup and view all the flashcards

What are Standard Protocols?

A common set of conventions for network communication.

Signup and view all the flashcards

What is OSI Reference Model?

A reference model providing a framework for standardization of network protocols, defining layers and services.

Signup and view all the flashcards

What is the TCP/IP Protocol Suite?

A widely used interoperable network protocol architecture.

Signup and view all the flashcards

What is the Physical Layer?

The physical interface between devices.

Signup and view all the flashcards

What is the Data Link Layer?

The layer that provides error detection and flow control at the link level.

Signup and view all the flashcards

What is the Network Layer?

The layer responsible for transferring information through the network, including switching and routing.

Signup and view all the flashcards

What is the Transport Layer (OSI)?

The layer that ensures end-to-end data exchange with reliability and sequencing.

Signup and view all the flashcards

What is the Session Layer?

The layer which controls dialogues and manages connections.

Signup and view all the flashcards

What is the Presentation Layer?

The layer that handles data formats, compression, and encryption.

Signup and view all the flashcards

What is the Application Layer (OSI)?

The layer providing support for various network applications.

Signup and view all the flashcards

What is the Internet Layer?

The TCP/IP layer that handles routing across multiple networks.

Signup and view all the flashcards

What is Transmission Control Protocol (TCP)?

A connection-oriented transport protocol providing reliable data delivery.

Signup and view all the flashcards

What is User Datagram Protocol (UDP)?

A connectionless transport protocol that does not guarantee delivery.

Signup and view all the flashcards

What is Internet Protocol (IP)?

The core of TCP/IP, existing both as IPv4 and IPv6.

Signup and view all the flashcards

What is reliable connection?

Provides flow and error control in TCP

Signup and view all the flashcards

What is internetworking?

An interconnected set of networks.

Signup and view all the flashcards

What are Routers?

Devices that connect dissimilar subnetworks and route packets.

Signup and view all the flashcards

What are Standards?

Required for inter-operability of equipment

Signup and view all the flashcards

What is the Internet Society (ISOC)?

An organization responsible for Internet development and standardization.

Signup and view all the flashcards

What is IAB?

The ISOC's Internet Architecture Board

Signup and view all the flashcards

What is an Internet Draft?

A temporary document that expires, related to internet protocol standards.

Signup and view all the flashcards

What is a Request for Comments (RFC)?

A final version of the Internet Standards

Signup and view all the flashcards

What is Internet Assigned number Authority (IANA)?

An ISOC entity for the Internet's unique identifiers

Signup and view all the flashcards

Study Notes

  • Protocols are conventions and rules for communication, necessitating cooperative action in computer networking that goes beyond mere byte exchange. They ensure entities in different systems communicate effectively by "speaking the same language".

Protocol Architecture

  • Data transfer tasks are divided into modules to manage complexity and facilitate interaction. File transfers uses three modules: file transfer application, communication service, and network access.

Real World Example

  • Peer-to-peer protocols operate independently of each other. Secretaries exemplify this, changing the communication medium to email
  • Translators might agree on using a common language. Each layer includes a header.

Simplified File Transfer Architecture

  • Computer X links to Computer Y through a File Transfer Application Layer, Communication Service Module, and Network access module through communications.

General Protocol Architecture Principles

  • It has a layered structure using a protocol stack. Each layer offers services to the layer above while expecting services from the layer below. Peer entities use their protocols for communication.

General Three Layer Model

  • Includes network access, transport, and application layers, applicable across various applications like email and file transfer.

Network Access Layer

  • Network access layers involve the exchange of data between the computer and the network and provides the destination addresses for routing, using techniques such as circuit switching, packet switching and LANS
  • It may use specific drivers and interface equipment specific to the network types.
  • Upper layers remain unaware of these specific details, maintaining independence.

Transport Layer

  • Transport Layer enables reliable data exchange, ensuring packets arrive in the order sent and retransmitting any lost or erroneous packets; operating independently of both the network and the application.

Application Layer

  • Supports various user applications, such as e-mail and file transfer.

Addressing Requirements

  • Addressing necessitates two levels: unique network addresses for each computer and unique addresses (like ports) for each application on multitasking systems

Protocol Data Units (PDU)

  • PDUs are formed as user data traverses through layers, with control information like headers and sometimes trailers being added or removed at each step; this combination, essentially a "packet", differs across layers.

Transport PDU

  • Transport layers handles fragmentation of user data, adding a header with destination port, sequence number, and an error detection code, often found in the trailer. The transport layer may also split application data into smaller packets

Network PDU

  • Network PDU's adds a network header with the destination computers address and optional network facilities like priority level.

Protocol Architecture Operation

  • Consits of a source, destination, application, transport headers and a network access module that contains the network header.

Standard Protocol Architecture

  • Standard Protocols uses a common set of conventions. Its standards can be designed only once. This allows products from different vendors to interoperate, whereas customers are not limited to one vendor.
  • Failure to implement standard protocols on products will limit a products market; as these products are largely favorable.
  • Two standard approaches includes the OSI reference model and the TCP/IP protocol suite.

OSI Reference Model

  • OSI is a reference model framework for standardization, defining a set of layers and service that each layer provides. It allows for one or more protocols to become developed for a layer.
  • It was developed by the International Organization for Standardization (ISO) and published by ITU-T (International Telecommunications Union)
  • It is a layered model that compromised of 7 layers which has been presented as the optimal number of layers.
  • It was delivered too late in 1984, where TCP/IP was becoming the de facto standard. However the model proves to still be valid within textbooks

OSI - Layer Model

  • Each layer performs a subset of of the required communication functions
  • Each layer relies on the the next lower layer to perform more primitive functions
  • Each layer provides services to the next higher layer
  • Changes in one layer should not require changes in other layers.

OSI as Framework for Standardization

  • Layer functionalities are described by OSI. Different standards can be developed based on these functionalities.

Layer Specific Standards

  • It has service definitions and addressing access points as well as a protocol specification for precise syntax and semantics for interoperability

Elements of Standardization

  • Includes protocol specifications that operate between the same layer on two systems. These specifications have to be precise due to data units and all fields.
  • Service definition for functional description of what is provided to the next upper layer. This also comes with Addressing via SAPs.

OSI Environment

  • It comprises of the application layer, Transport, Network, session presentation, and data link layers.

OSI Layers (1)

  • Consists of a Physical components that has an electrical and mechanical interface between devices
  • The electrical level dictates voltage levels for transmission rates and coding
  • The mechanical level dictates the interface specs
  • Data Link deals with basic services of flow control, error detection and link level control. A sublayer is added, MAC, to deal with control access for broadcast networks.

OSI Layers (2)

  • Network layer is responsible for the transfer of information through a communication network that also network related problems
  • Network nodes must perform switching and routing functions.
  • This layer also addresses: QoS and congestion control.
  • It is also responsible for handling Internetworking issues, which includes differences in addressing and max data length requirements
  • Upper layers do not need to know about the underlying networking technology
  • Network layer is not needed on direct links

OSI Layers (3)

  • Transport layers facilitates end to end exchange of data with no data loss or duplicates
  • If needed, upper layer data can be split into smaller units.
  • It is also responsible for sessions that has dialogues and whose turn to talk There is dialogue discipline of: full duplex and half duplex.
  • There is also checkpointing and recovery capabilities.

OSI Layers (4)

  • Presents data in various forms, allowing for compression and encryption
  • Application layers support various applications and formats.

TCP/IP Protocol Suite.

  • It is a widely interoperable network architecture specified and extensively used before OSI because OSI was slow to take place in the market
  • TCP/IP Protocol Suite was funded by DARPA (US Defense Advanced Research Project Agency) for packet switching.
  • Has made for enormous market for TCP/IP thanks to DoD. Used by the Internet and WWW

TCP/IP Protocol Suite

  • it lacks an official layer structure, but some protocols do imply one
  • Consists of application layers, host layers, internet layers, network access layers, and physical layers.
  • It acts as a model built on it's own protocols for applications in TCP, IP and applications that are used on the protocol

OSI vs TCP/IP

  • OSI consists of Application Layers which makes of Application.
  • Presentation and Session whilst TCP/IP have HTTP and SMTP.
  • Transport Layer uses TCP and UDP
  • Network Layer uses IP
  • Data Link uses Network Access
  • Physical has a physical presence

Network Access and Physical Layers

  • Focuses on connecting to a network efficiently for IP packet transmission, with protocols largely undefined by TCP/IP and predominantly implemented in hardware such as Ethernet

Internet Layer

  • This layer manages routing across networks where each packet travels independently, may not arrive due to network issues, or may be received out of order. DoD established this process so the network remained flexible and response to the loss of some subnet devices
  • It is implemented in end systems and routers and acts as the (IP) internet protocol

Transport Layer

  • Enables end-to-end data transfer using two protocols
  • Transmission Control Protocol (TCP): A connection-oriented, reliable and and ordered delivery of data as their main goals
  • User Datagram Protocol (UDP): Connectionless services where delivery is not guaranteed.

Application Layer

  • Provides support for user applications via separate modules such as HTTP, SMTP, and Telnet

IP (Internet Protocol)

  • It is the core of the TCP/IP protocol suite. Two versions are co-existing: V4 and V6
  • IPV4: Widely used IP Protocol
  • IPV6: Standardized in 1996 but not highly deployed. This has a minimum header of 20 octets (160 bits)

IPv6

  • IPv6 enhances modern high-speed networks over IPv4 and supports for multimedia data streams

  • V6 increase in address space

  • 128 bit vs the 32-bit of v4.

  • This however is not backward compatible. Therefore all equipment and software must change.

TCP

  • TCP (Transmission Control Protocol) involves end to end protocols that are built on reliable connections and have both error and flow control. Connections are in TCP terms for termporary association between entities in different systems.
  • The PDU is called "TCP segment" and also includes destination and source ports

UDP

  • UDP is an alternative to TCP that has end-to-end protocol. Has no guaranteed delivery, or preservation of sequence, no protection of duplication with the smallest amount of overhead

PDUs in TCP/IP

  • Includes the network level header with the destination addresses, sequence numbers and checksums as well Destination ports and source addresses.

Operation of TCP and IP

  • This makes for a logical connection across the Router subnet work in order to transport packets.

Protocols in TCP/IP Suite

  • Includes telnet, FTP, SMTP, HTTP, DHCP,BGP, DNS, SNMP, TCP, TLS, RSVP, RTP,ICMP etc.

Internetworking

  • Internetworking is the concept of interconnected networks that can be seen as a large network. Each constituent network can be seen as a subnetwork and considered an internet. Conceptually, this is the same idea as a specific network and the internet is the most important example for one.

Internetworking Devices

  • Support communication among subnetwork devices called End systems (ESs)
  • Subnetworks are connected by intermediate systems (ISSs), or "routers", that relay packets routed between subnetworks
  • Routers must support multiple Network Access Protocols if subnetworks differ.
  • In OSI, a router operates at layer 3 (Network Layer)

Routers

  • Routers interconnect dissimilar subnetworks without modifying their architectures but must accommodate differences in addressing schemes and packet sizes and use the IP protocol.

Configuration for TCP/IP Example

  • Routers handle dissimilar networks linked by protocols to workstations and routers.

Action of Sender

  • The application protocol prepares a data block for transmission. The data are converted to a form the destination expects: different character code, encryption, or compression. TCP breaks the data block into a number of tracked segments,Each TCP segment includes a header for detection of errors. A copy is made of each TCP segment, retransmission is needed due to the loss/damage. IP breaks a TCP segment into a number of datagrams for various networks. Each datagram includes a header containing a destination address, a frame check etc. Finally an ATM header is added to each IP datagram to form/transmit an ATMS cell.

Action of Router

  • the IP header is examined and outgoing links is determined and passed onto datagrams back to the link for transmission. Processing the cell, the ATM layer removes the header and processes it. This process interprets the signal as a call of bits and then process them. LLC is added to each IP datagram to to form an LLC DPU with sequence numbers and other address data. The media is then transmited over the communication channel

Action of Receiver

  • The incoming information is interpreted as data to the MAC fram. The header is then processed in a LLC format for the layer to use for error correction etc.
  • Processing the IP datagram means that the header is removed.
  • TCP removes the header for the segment in question and checks for acknowledgement if there is an mismatch.
  • The segments are reassembled if the segment has multiple parts.
  • The necessary translations are preformed including transformations

Standards

  • Required to allow for interoperability among equipment
  • Ensures a large market for equipment and software as well as products to communicate
  • Can freeze technology to improve products.

Standards Organizations in Networking

  • The Internet Society
  • ISO (International Organization of Standardization): more formalized NGO (but most members are from Governments)
  • ITU-T (formerly CCITT): International Telecommunications Union

Internet Society (ISOC)

  • Engages in Internet development and standardization with three subgroups:
  • IAB (Internet Architecture Board)
  • IETF (Internet Engineering Task Force)
  • IESG (Internet Engineering Steering Group)

IETF Organization

  • Grouped into applications, security and other domains
  • Consists of area directories with groups contributing and standardizing protocols

Internet Drafts and RFCs

  • Draft documents expires in 6 months (can be resubmitted, published online)
  • RFC's can be used as comment (are final versions, obsolete and may have any types of standard.

Internet Standards Track

  • Involve the steps of increasing amount of scrutiny and testing
  • Steps 1-4: Internet draft, Proposed standard (needs at least six months to advance), Draft Standard for two independent implementation and internet Standard (consensus)
  • Step 3 Key is the differences in ISOC.

Internet Assigned Numbers Authority (IANA)

  • A ISOC organization responsible for numeric codes on the Internet. These protocols work with numeric parameters such as the meaning of all numeric codes are mostly specified in RFCs, including IP addresses, port numbers, error codes, status codes, message types, options, etc.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser