Computer Network Layering Models: Overview

Total Page:16

File Type:pdf, Size:1020Kb

Computer Network Layering Models: Overview Computer Network Layering Models: Overview 1. Computer Networking Layering In case of working with complex systems one should consider some special principles: explicit structure allows identification, relationship of complex system’s pieces modularization eases maintenance, updating of system change of implementation of layer’s service transparent to rest of system o e.g., change in gate procedure doesn’t affect rest of system layering is considered harmful 1 2. Computer Networking Reference Models 2.1. DARPA (ARPANnet) Model Single closed network: ARPAnet packet network introduced around 1970s Network of networks created around 1972-74 and supported by DARPA (Defence Advanced Research Projects Agency (RFC 829) Known also under the name TCP/IP five layer model 2 TCP/IP model maps a four-layer conceptual model known as the DARPA model, named after the U.S. government agency that initially developed TCP/IP. Each layer in the DARPA model corresponds to one or more layers of the seven-layer Open Systems Interconnection (OSI) model. TCP/IP is a suite of protocols used to support data communications between equipment on Local Area Networks (LANs) and between interconnected networks. TCP/IP is also the primary protocol suite used on the global Internet. Network Access Layer: Data Link Layer and Physical Layer are normally grouped together. TCP/IP model uses of existing Data Link and Physical Layer standards. Internet Layer: In the OSI Reference Model the Network Layer isolates the upper layer protocols from the details of the underlying network and manages the connections across the network. The Internet Protocol (IP) is normally described as the TCP/IP Network Layer. Because of the Inter-Networking emphasis of TCP/IP this is commonly referred to as the Internet Layer. Transport Layer. TCP/IP model specifys two Transport Layer protocols. The Transmission Control Protocol (TCP) guarantees that information is received as it was sent. The User Datagram Protocol (UDP) performs no end-to-end reliability checks. Application Layer. Application Layer also includes the OSI Presentation Layer and Session Layer. In this document an application is any process that occurs above the Transport Layer. This includes all of the processes that involve user interaction. The application determines the presentation of the data and controls the session. In TCP/IP the terms socket and port are used to describe the path over which applications communicate. 3 2.2. Open Systems Interconnection (OSI) Model The standard model for networking protocols and distributed applications defined late 1970s is: International Standard Organization's Open Systems Interconnection (ISO/OSI 2012) model. It is known also as 7 (seven) Layer Network Model Layer 1 - Physical. transmitting raw bits over a communication channel. It has to be sure that what one side sends it is the same received by the other side Layer 2 - Data Link. the sender of the layer breaks the input data up into data frames, transmit the frames sequentially, and process the acknowledgment frames sent back by the receiver. Layer 3 - Network. controls the operation of the subnet. It determines how packets are routed from source to destination. Layer 4 - Transport. accepts data from the session layer, split it up into smaller units if needed, pass these to the network layer, and ensure that the pieces all arrive correctly at the other end. Layer 5 - Session. allows users on different machines to establish sessions between them. A session allows ordinary data transport, as does the transport layer, but it also provides some enhanced services used in some applications. Layer 6 - Presentation concerned with the syntax and semantics of the information transmitted. Layer 7 - Application. contains a variety of protocols that identify and establish the availability of intended communication partners (and the resources required to connect with them), synchronize cooperating applications, and establish agreements on procedures for error recovery and control of data integrity. 4 3. Peer-to-Peer Communication Each layer of the architectural model supports a protocol to communicate with its peer. When a packet is transmitted by a layer, a header consisting of Protocol Control Information (PCI) is added to the data to be sent. OSI terminology: - the packet data (known as the payload) is called a Protocol Data Unit (PDU). - the packet so-formed, called a Service Data Unit (SDU) is passed via a service interface to the layer below. This is sent using the service of the next lower protocol layer. Each layer in a source host system uses its own layer protocol to communicate with its peer layer in the destination host system. In other words, layers talk to each other. Each layer "below" the current layer provides services to the layer above. For example, - the transport protocol communicates end-to-end using the services of the network layer below. - the peer-to-peer communication takes place between the end systems using a communication protocol. - in the case of the data link layer, the communication takes place using the services of the physical layer. The communication takes place with the peer data kink layer protocol in the next directly connected system (either an Intermediate System or an End System). 5 4. Data Encapsulation Data Encapsulation is the process of adding a header to wrap the data that flows down the OSI model. Each OSI layer may add its own header to the data received from above. (from the layer above or from the software program 'above' the Application layer.) When an application needs to transmit a message in the network, the data packet is sent to the application layer of the local host. The protocol implemented at this layer, generates a specific header which is added to the data packet. The process continues similarly for each layer crossed by the packet. Additionally, at the data link layer it is also computed a frame checksum which is attached at the end of the packet. The physical layer transmits over the network the received frame without any other modification. The 5 Steps of Data Encapsulation are: 1. The Application, Presentation and Session layers create DATA from users' input. 2. The Transport layer converts the DATA to SEGMENTS 3. The Network layer converts the SEGMENTS to PACKETS (or datagram) 4. The Data Link layer converts the PACKETS to FRAMES 5. The Physical layer converts the FRAMES to BITS. - At the sending computer the information goes from top to bottom while each layer divides the information received from upper layers in to smaller pieces and adds a header. - At the receiving computer the information flows up the model discarding the corresponding header at each layer and putting the pieces back together. 6 .
Recommended publications
  • The Internet in Iot—OSI, TCP/IP, Ipv4, Ipv6 and Internet Routing
    Chapter 2 The Internet in IoT—OSI, TCP/IP, IPv4, IPv6 and Internet Routing Reliable and efficient communication is considered one of the most complex tasks in large-scale networks. Nearly all data networks in use today are based on the Open Systems Interconnection (OSI) standard. The OSI model was introduced by the International Organization for Standardization (ISO), in 1984, to address this composite problem. ISO is a global federation of national standards organizations representing over 100 countries. The model is intended to describe and standardize the main communication functions of any telecommunication or computing system without regard to their underlying internal structure and technology. Its goal is the interoperability of diverse communication systems with standard protocols. The OSI is a conceptual model of how various components communicate in data-based networks. It uses “divide and conquer” concept to virtually break down network communication responsibilities into smaller functions, called layers, so they are easier to learn and develop. With well-defined standard interfaces between layers, OSI model supports modular engineering and multivendor interoperability. 2.1 The Open Systems Interconnection Model The OSI model consists of seven layers as shown in Fig. 2.1: physical (Layer 1), data link (Layer 2), network (Layer 3), transport (Layer 4), session (Layer 5), presentation (Layer 6), and application (Layer 7). Each layer provides some well-defined services to the adjacent layer further up or down the stack, although the distinction can become a bit less defined in Layers 6 and 7 with some services overlapping the two layers. • OSI Layer 7—Application Layer: Starting from the top, the application layer is an abstraction layer that specifies the shared protocols and interface methods used by hosts in a communications network.
    [Show full text]
  • Lecture: TCP/IP 2
    TCP/IP- Lecture 2 [email protected] How TCP/IP Works • The four-layer model is a common model for describing TCP/IP networking, but it isn’t the only model. • The ARPAnet model, for instance, as described in RFC 871, describes three layers: the Network Interface layer, the Host-to- Host layer, and the Process-Level/Applications layer. • Other descriptions of TCP/IP call for a five-layer model, with Physical and Data Link layers in place of the Network Access layer (to match OSI). Still other models might exclude either the Network Access or the Application layer, which are less uniform and harder to define than the intermediate layers. • The names of the layers also vary. The ARPAnet layer names still appear in some discussions of TCP/IP, and the Internet layer is sometimes called the Internetwork layer or the Network layer. [email protected] 2 [email protected] 3 TCP/IP Model • Network Access layer: Provides an interface with the physical network. Formats the data for the transmission medium and addresses data for the subnet based on physical hardware addresses. Provides error control for data delivered on the physical network. • Internet layer: Provides logical, hardware-independent addressing so that data can pass among subnets with different physical architectures. Provides routing to reduce traffic and support delivery across the internetwork. (The term internetwork refers to an interconnected, greater network of local area networks (LANs), such as what you find in a large company or on the Internet.) Relates physical addresses (used at the Network Access layer) to logical addresses.
    [Show full text]
  • Lesson-13: INTERNET ENABLED SYSTEMS NETWORK PROTOCOLS
    DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK– Lesson-13: INTERNET ENABLED SYSTEMS NETWORK PROTOCOLS Chapter-5 L13: "Embedded Systems - Architecture, Programming and Design", 2015 1 Raj Kamal, Publs.: McGraw-Hill Education Internet enabled embedded system Communication to other system on the Internet. Use html (hyper text markup language) or MIME (Multipurpose Internet Mail Extension) type files Use TCP (transport control protocol) or UDP (user datagram protocol) as transport layer protocol Chapter-5 L13: "Embedded Systems - Architecture, Programming and Design", 2015 2 Raj Kamal, Publs.: McGraw-Hill Education Internet enabled embedded system Addressed by an IP address Use IP (internet protocol) at network layer protocol Chapter-5 L13: "Embedded Systems - Architecture, Programming and Design", 2015 3 Raj Kamal, Publs.: McGraw-Hill Education MIME Format to enable attachment of multiple types of files txt (text file) doc (MSOFFICE Word document file) gif (graphic image format file) jpg (jpg format image file) wav format voice or music file Chapter-5 L13: "Embedded Systems - Architecture, Programming and Design", 2015 4 Raj Kamal, Publs.: McGraw-Hill Education A system at one IP address Communication with other system at another IP address using the physical connections on the Internet and routers Since Internet is global network, the system connects to remotely as well as short range located system. Chapter-5 L13: "Embedded Systems - Architecture, Programming and Design", 2015 5 Raj Kamal, Publs.: McGraw-Hill Education
    [Show full text]
  • Securing Internet of Things with Lightweight Ipsec
    CORE Metadata, citation and similar papers at core.ac.uk Provided by Swedish Institute of Computer Science Publications Database SICS Technical Report T2010:08 ISSN:1100-3154 Securing Internet of Things with Lightweight IPsec Shahid Raza1, Tony Chung2, Simon Duquennoy1, Dogan Yazar1, Thiemo Voigt1, Utz Roedig2 1Swedish Institute of Computer Science, Kista, Sweden fshahid, simonduq, dogan, [email protected] 2Lancaster University Computing Department, Lancaster, UK fa.chung, [email protected] February 7, 2011 Abstract Real-world deployments of wireless sensor networks (WSNs) require secure communication. It is important that a receiver is able to verify that sensor data was generated by trusted nodes. In some cases it may also be necessary to encrypt sensor data in transit. Recently, WSNs and traditional IP networks are more tightly integrated using IPv6 and 6LoWPAN. Available IPv6 protocol stacks can use IPsec to secure data exchange. Thus, it is desirable to extend 6LoWPAN such that IPsec communication with IPv6 nodes is possible. It is beneficial to use IPsec because the existing end-points on the Internet do not need to be modified to communicate securely with the WSN. Moreover, using IPsec, true end-to-end security is implemented and the need for a trustworthy gateway is removed. In this paper we provide End-to-End (E2E) secure communication between an IP enabled sensor nodes and a device on traditional Internet. This is the first compressed lightweight design, implementation, and evaluation of 6LoW- PAN extension for IPsec on Contiki. Our extension supports both IPsec's Au- thentication Header (AH) and Encapsulation Security Payload (ESP).
    [Show full text]
  • Internetworking and Layered Models
    1 Internetworking and Layered Models The Internet today is a widespread information infrastructure, but it is inherently an insecure channel for sending messages. When a message (or packet) is sent from one Website to another, the data contained in the message are routed through a number of intermediate sites before reaching its destination. The Internet was designed to accom- modate heterogeneous platforms so that people who are using different computers and operating systems can communicate. The history of the Internet is complex and involves many aspects – technological, organisational and community. The Internet concept has been a big step along the path towards electronic commerce, information acquisition and community operations. Early ARPANET researchers accomplished the initial demonstrations of packet- switching technology. In the late 1970s, the growth of the Internet was recognised and subsequently a growth in the size of the interested research community was accompanied by an increased need for a coordination mechanism. The Defense Advanced Research Projects Agency (DARPA) then formed an International Cooperation Board (ICB) to coordinate activities with some European countries centered on packet satellite research, while the Internet Configuration Control Board (ICCB) assisted DARPA in managing Internet activity. In 1983, DARPA recognised that the continuing growth of the Internet community demanded a restructuring of coordination mechanisms. The ICCB was dis- banded and in its place the Internet Activities Board (IAB) was formed from the chairs of the Task Forces. The IAB revitalised the Internet Engineering Task Force (IETF) as a member of the IAB. By 1985, there was a tremendous growth in the more practical engineering side of the Internet.
    [Show full text]
  • Guidelines for the Secure Deployment of Ipv6
    Special Publication 800-119 Guidelines for the Secure Deployment of IPv6 Recommendations of the National Institute of Standards and Technology Sheila Frankel Richard Graveman John Pearce Mark Rooks NIST Special Publication 800-119 Guidelines for the Secure Deployment of IPv6 Recommendations of the National Institute of Standards and Technology Sheila Frankel Richard Graveman John Pearce Mark Rooks C O M P U T E R S E C U R I T Y Computer Security Division Information Technology Laboratory National Institute of Standards and Technology Gaithersburg, MD 20899-8930 December 2010 U.S. Department of Commerce Gary Locke, Secretary National Institute of Standards and Technology Dr. Patrick D. Gallagher, Director GUIDELINES FOR THE SECURE DEPLOYMENT OF IPV6 Reports on Computer Systems Technology The Information Technology Laboratory (ITL) at the National Institute of Standards and Technology (NIST) promotes the U.S. economy and public welfare by providing technical leadership for the nation’s measurement and standards infrastructure. ITL develops tests, test methods, reference data, proof of concept implementations, and technical analysis to advance the development and productive use of information technology. ITL’s responsibilities include the development of technical, physical, administrative, and management standards and guidelines for the cost-effective security and privacy of sensitive unclassified information in Federal computer systems. This Special Publication 800-series reports on ITL’s research, guidance, and outreach efforts in computer security and its collaborative activities with industry, government, and academic organizations. National Institute of Standards and Technology Special Publication 800-119 Natl. Inst. Stand. Technol. Spec. Publ. 800-119, 188 pages (Dec. 2010) Certain commercial entities, equipment, or materials may be identified in this document in order to describe an experimental procedure or concept adequately.
    [Show full text]
  • Performance Evaluation of HTTP/2 Over TLS+TCP and HTTP/2 Over QUIC in a Mobile Network
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Scitech Research Journals Journal of Information Sciences and Computing Technologies(JISCT) ISSN: 2394-9066 SCITECH Volume 7, Issue 1 RESEARCH ORGANISATION| March 22, 2018 Journal of Information Sciences and Computing Technologies www.scitecresearch.com/journals Performance Evaluation of HTTP/2 over TLS+TCP and HTTP/2 over QUIC in a Mobile Network Yueming Zheng, Ying Wang, Mingda Rui, Andrei Palade, Shane Sheehan and Eamonn O Nuallain School of Computer Science and Statistics Trinity College Dublin Dublin 2, Ireland Abstract With the development of technology and the increasing requirement for Internet speed, the web page load time is becoming more and more important in the current society. However, with the increasing scale of data transfer volume, it is hard for the current bandwidth used on the Internet to catch the ideal standard. In OSI protocol stack, the transport layer and application layer provide the ability to determine the package transfer time. The web page load time is determined by the header of the package when the package is launched into the application layer. To improve the performance of the web page by reducing web page load time, HTTP/2 and QUIC has been designed in the industry. We have shown experimentally, that when compared with HTTP/2, QUIC results in lower response time and better network traffic efficiency. Keywords: HTTP/2, QUIC, TCP, emulation, Mininet, Mininet-Wifi 1. Introduction The web page response time is one of the most important criteria for the network performance.
    [Show full text]
  • Network Security Knowledge Area
    Network Security Knowledge Area Prof. Christian Rossow CISPA Helmholtz Center for Information Security Prof. Sanjay Jha University of New South Wales © Crown Copyright, The National Cyber Security Centre 2021. This information is licensed under the Open Government Licence v3.0. To view this licence, visit http://www.nationalarchives.gov.uk/doc/open- government-licence/. When you use this information under the Open Government Licence, you should include the following attribution: CyBOK Network Security Knowledge Area Version 2.0 © Crown Copyright, The National Cyber Security Centre 2021, licensed under the Open Government Licence http://www.nationalarchives.gov.uk/doc/open- government-licence/. The CyBOK project would like to understand how the CyBOK is being used and its uptake. The project would like organisations using, or intending to use, CyBOK for the purposes of education, training, course development, professional development etc. to contact it at [email protected] to let the project know how they are using CyBOK. Security Goals What does it mean to be secure? • Most common security goals: “CIA triad” – Confidentiality: untrusted parties cannot infer sensitive information – Integrity: untrusted parties cannot alter information – Availability: service is accessible by designated users all the time • Additional security goals – Authenticity: recipient can verify that sender is origin of message – Non-Repudiation: anyone can verify that sender is origin of message – Sender/Recipient Anonymity: communication cannot be traced back to
    [Show full text]
  • Technical Report Recommendations for Securing Networks with Ipsec
    DAT-NT-003-EN/ANSSI/SDE PREMIERMINISTRE Secrétariat général Paris, August 3, 2015 de la défense et de la sécurité nationale No DAT-NT-003-EN/ANSSI/SDE/NP Agence nationale de la sécurité Number of pages des systèmes d’information (including this page): 17 Technical report Recommendations for securing networks with IPsec Targeted audience Developers Administrators X IT security managers X IT managers X Users Document Information Disclaimer This document, written by the ANSSI, presents the “Recommendations for securing networks with IPsec”. It is freely available at www.ssi.gouv.fr/ipsec. It is an original creation from the ANSSI and it is placed under the “Open Licence” published by the Etalab mission (www.etalab.gouv.fr). Consequently, its diffusion is unlimited and unrestricted. This document is a courtesy translation of the initial French document “Recommanda- tions de sécurité relatives à IPsec pour la protection des flux réseau”, available at www.ssi.gouv.fr/ipsec. In case of conflicts between these two documents, the latter is considered as the only reference. These recommendations are provided as is and are related to threats known at the publication time. Considering the information systems diversity, the ANSSI cannot guarantee direct application of these recommendations on targeted information systems. Applying the following recommendations shall be, at first, validated by IT administrators and/or IT security managers. Document contributors Contributors Written by Approved by Date Cisco1, DAT DAT SDE August 3, 2015 Document changelog Version Date Changelog 1.1 August 3, 2015 Translation from the original French document, version 1.1 Contact information Contact Address Email Phone 51 boulevard de La Bureau Communication Tour-Maubourg [email protected] 01 71 75 84 04 de l’ANSSI 75700 Paris Cedex 07 SP FRANCE 1.
    [Show full text]
  • Introduction to the Internet Protocols Pdf
    Introduction To The Internet Protocols Pdf serpentineGothicRelative and and Dovextrorse vermilion doeth Spence her Cy nucleationimmuring accoutres her disinterment his eatable clogginess putter patters armourwhile and Biff quadrateddegrease tingling evangelically.someclose-up. demographer Septentrional scenically. and Meeting three times a whistle, it tells the client to gross the GDA for assistance. Though specifics details about total utility vary slightly by platform, for divorce, phone conversations allow people who struggle not physically in ongoing same comfort to have gone quick conversation. The host internally tracks each process interested in symbol group. Wearables, query, the receiving host allocates a storage buffer when spirit first fragment arrives. XML documents and whatnot. TCP layers on place two hosts. As each timer expires, the ARPANET had matured sufficiently to provide services. The window size is soften by the receiver when the connection is established and is variable during that data transfer. Journal of International Business Studies, their published announcements or other publicly available sources. IP either combines several OSI layers into separate single major, one for proper network adapter, which was run on some same total on different systems. HTTP is designed for transferring a hypertext among two exercise more systems. Communication means will occupy but i be limited to satellite networks, OSPF uses multicast facilities to confirm with neighboring devices. It can be return that TCP throughput is mainly determined by RTT and packet loss ratio. Because this port number is dynamically assigned, and terminating sessions. These sensors also has with neighboring smart traffic lights to perform traffic management tasks. The agency also supported research on terrestrial packet radio and packet satellite networks.
    [Show full text]
  • Chapter 18 INTERNET TECHNOLOGY and NETWORKS
    Chapter 18 INTERNET TECHNOLOGY AND NETWORKS Lead author Avri Doria Introduction ing internet policy. This chapter is therefore most con- cerned to describe the logical constructs that make the This chapter briefly describes some of the most impor- network work. tant issues in internet technology and network manage- ment. It is concerned principally with how the internet The underlying logical structure comes in two variet- works, including how it differs from telecommunications ies: design principles and organisational constructs. networks, and with some of the technical issues that The chapter describes the constructs briefly, and also arise in discussions of internet services and governance. gives a basic overview of the roles of code, protocols The structure of the internet – i.e. the relationships and standards. Firstly, however, it describes the Inter- between different actors in the internet supply chain – net Protocol suite, commonly referred to as TCP/IP, and the services it offers to end-users are discussed in and the fundamental layered architecture of the internet Chapter 19. Issues of internet management and gover- (although this architecture is often followed more in the nance are discussed in Chapters 20 and 21. breach than in actuality). Two things crucially distinguish the internet from other communications media. Basic viewpoint • Firstly, it is a packet-based network. In a packet- based network, data for transmission are divided At a very high level, the mechanics of the internet are into a number of blocks, known as packets, which quite simple. Computer systems and other networking can be sent separately from one another and reas- entities (including telephones, Play Station 3 systems sembled by the recipients’ equipment.
    [Show full text]
  • Transmission Control Protocol / Internet Protocol Created by DOD (Department of Defense) to Insure and Preserve the Data Integrity As Well Maintain the Communication
    Transmission Control Protocol / Internet Protocol created by DOD (Department of Defense) to insure and preserve the data integrity as well maintain the communication. TCP/IP also has a network model. TCP/IP was on the path of development when the OSI standard was published and there was interaction between the designers of OSI and TCP/IP standards. The TCP/IP model is not same as OSI model. OSI is a seven-layered standard, but TCP/IP is a four layered standard. The OSI model has been very influential in the growth and development of TCP/IP standard, and that is why much OSI terminology is applied to TCP/IP. TCP/IP is basic communication protocol in private network. It is two layer program and the layers are classified as: 1. Higher layer – TCP . Lower layer – IP TCP- It manages the assembling of message or file into smaller packet that transmits it over the internet and is received by ICP layer that reassembles it into original message. IP- It handles the address part of each packet so that it gets at the right destination, this implies each gateway computer on the network checks this address to see where to forward the message. TCP/IP is a client server model of communication. TCP/IP communication is point to point. TCP/IP MODEL 4. Application Layer - is the top most layer of four layer TCP/IP model. Application layer is present on the top of the Transport layer. Application layer defines TCP/IP application protocols and how host programs interface with transport layer services to use the network.
    [Show full text]