7. the Application Layer and Services

Total Page:16

File Type:pdf, Size:1020Kb

7. the Application Layer and Services 7. The Application Layer and Services Computer and Data Networks,7. The Application Layer and Services 1 ©Dr.Z.Sun Outline Domain Name Service (DNS) Electronic Mail (Email) • Multipurpose Internet Mail Extension (MIME) • Simple Mail Transfer Protocol (SMTP) • Post Office Protocol (POP3) Telnet and Rlogin World Wide Web (WWW) • HyperText Markup Language (HTML) • HyperText Transfer Protocol (HTTP) • Dynamic Web pages (CGI) • Active Web Pages (Java) VoIP Computer and Data Networks,7. The Application Layer and Services 2 ©Dr.Z.Sun (RFC 1034 & 1035) Domain Name Systems (DNS) Binary machine address is not very convenient DNS is a hierarchical domain based naming scheme and a distributed database system for implementing this naming scheme Used for mapping host names to IP address (RFC 1034 and 1035) Program calls resolver to contact DNS server to lookup the name and return the IP address Computer and Data Networks,7. The Application Layer and Services 3 ©Dr.Z.Sun Resource records and an example Domain_name, Time-to-Live, Class, Type, Value IN: Internet Information Example: host –a –v surrey.ac.uk Computer and Data Networks,7. The Application Layer and Services 4 ©Dr.Z.Sun Name Servers and Resolver looks up Computer and Data Networks,7. The Application Layer and Services 5 ©Dr.Z.Sun Electronic mail (E-mail) (RFC 821: transmission, 822: Message format) Two subsystems: the user agent allows people to read and send email; and the message transfer agent moves the message from the source to the destination. Support five basic functions: • Composition • Transfer • Reporting • Display • Disposition Computer and Data Networks,7. The Application Layer and Services 6 ©Dr.Z.Sun Reading Email K: Keep, A: Answer, F: Forwarded Computer and Data Networks,7. The Application Layer and Services 7 ©Dr.Z.Sun Message header format (RFC822) Computer and Data Networks,7. The Application Layer and Services 8 ©Dr.Z.Sun Multipurpose Internet Mail Extension (MIME - RFC 1341, 2045-2049) To add structure to the message body and encoding rules for non- ASCII messages Using the existing mail programs and protocols Five new message header The MIME types and subtypes defined in RFC 2045 Computer and Data Networks,7. The Application Layer and Services 9 ©Dr.Z.Sun An example of multimedia email Same message in different format separated by the boundary The text message The text format of the song. get the sound file named using FTP at the site under the directory The audio format of the song using base64 for transfer encoding. Computer and Data Networks,7. The Application Layer and Services 10 ©Dr.Z.Sun Simple Message Transfer Protocol (SMTP) Messages from the server xyz.com Messages from the client abc.com Computer and Data Networks,7. The Application Layer and Services 11 ©Dr.Z.Sun Email delivery (a) Sending and reading mail when the receiver has a permanent Internet connection and the user agent runs on the same machine as the message transfer agent. (b) Reading e-mail when the receiver has a dial-up connection to an ISP. Computer and Data Networks,7. The Application Layer and Services 12 ©Dr.Z.Sun Post Office Protocol (POP3) (RFC 1225) n It has commands for users to login, fetch message, delete message, logout. n It is used to fetch email from the remote mailbox and store it on the user’s local machine to be read later. Computer and Data Networks,7. The Application Layer and Services 13 ©Dr.Z.Sun 11 POP3 Using POP3 to fetch three messages. Computer and Data Networks,7. The Application Layer and Services 14 ©Dr.Z.Sun IMAP A comparison of POP3 and IMAP. Computer and Data Networks,7. The Application Layer and Services 15 ©Dr.Z.Sun Telnet telnet: • client-server • network virtual terminal (23/TCP) Provides: • session with server • ASCII presentation Allows process-to-process communication Computer and Data Networks,7. The Application Layer and Services 16 ©Dr.Z.Sun 12 The World Wide Web (WWW) Began in 1989 at CERN - the European Centre for Nuclear Research Linked document with first graphical interface in 1993 (Mosaic by Marc Andreessen) In 1994, CERN and MIT set up WWW consortium to develop standard protocols and encourage interoperability Client side: browser, pages, hypertext, hyperlink, hypermedia More info: www.w3.org Computer and Data Networks,7. The Application Layer and Services 17 ©Dr.Z.Sun The client and server side The browser determines the Uniform Resource Locator (URL) The browser asks DNS for the IP address of the URL DNS reply with the IP address The browser makes a TCP connection to port 80 of the IP address The browser sends a GET the page pointed by the URL command The server sends the page in a file The TCP connection is released The browser displays all the text in the file The browser fetches and displays all images in the page Computer and Data Networks,7. The Application Layer and Services 18 ©Dr.Z.Sun An example: telnet the WWW server Type in command Terminal response The status information is Server response displayed in the bottom of the screen If the performance is poor, it may be due to • DNS not responding • server not responding • network congestion during transmission Each in-line image (icon, drawing, photo, etc.) on a page is fetched in a separate new connection. Computer and Data Networks,7. The Application Layer and Services 19 ©Dr.Z.Sun Proxy server It is a kind of gateway that speaks HTTP to the browser but FTP, Gopher, or some other protocols to the server. The translate HTTP request into FTP request, for example. It can be in the same machine as the browser or independent machine Caching is an important function Put a proxy server inside firewall to give users access to web but not full access to Internet Computer and Data Networks,7. The Application Layer and Services 20 ©Dr.Z.Sun HyperText Transfer Protocol (HTTP) It is the standard Web transfer protocol It is constantly evolving. There are two fairly distinct items: • The set of request from browsers to servers • The set of responses going back the other way Simple requests: just GET named page without the version; response is just a raw page Full requests: with version, MIME, encoding, ... Computer and Data Networks,7. The Application Layer and Services 21 ©Dr.Z.Sun Uniform Resource Locators (URL) The URL gives a worldwide name, location and how to access to it The URL has three parts: • The protocol • DNS name of the machine on which the page is located • Local name uniquely indicate the specific page HTTP is the Web’s native language, the one spoken by n What is the page called? HTTP server n Where is the page located? It is also possible to use FTP to How can the page be accessed? n access web pages. Computer and Data Networks,7. The Application Layer and Services 22 ©Dr.Z.Sun HyperText Markup Language (HTML) HTML is an application of ISO standard 8879, SGML (Standard Generalised Mark-up Language), but specialised to hypertext and adapted to the Web It is a mark-up language for describing how documents are to be formatted Proprietary WYSIWYG word processors cannot be used on wob because their internal markup languages (if any) are not standardised across vendors, machines and operating systems. Computer and Data Networks,7. The Application Layer and Services 23 ©Dr.Z.Sun Some common HTML tags The embedding the mark-up commands within each HTML makes it possible for any browser to read and reformat any web page Computer and Data Networks,7. The Application Layer and Services 24 ©Dr.Z.Sun Forms (a) The HTML for an order form. (b) The formatted page. (b) Computer and Data Networks,7. The Application Layer and Services 25 ©Dr.Z.Sun Forms A possible response from the browser to the server with information filled in by the user. Computer and Data Networks,7. The Application Layer and Services 26 ©Dr.Z.Sun Common Gateway Interface (CGI) for Dynamic Web documents Specifies input/output to/from a program that is a hyperlink: • standard input format for arguments to program • output format from program is HTML • allows dynamic WWW pages Server-side processing: • CGI program invoked each time link is used • extra processing overhead on server Computer and Data Networks,7. The Application Layer and Services 27 ©Dr.Z.Sun 18 Dynamic Web Documents Steps in processing the information from an HTML form. Computer and Data Networks,7. The Application Layer and Services 28 ©Dr.Z.Sun Java for Active Web documents Active content: • small program - applet • downloads and executes on client-side request to server for applet • requires virtual machine in client Java: applet downloads to client and executes locally • full programming language/platform • includes security features Computer and Data Networks,7. The Application Layer and Services 29 ©Dr.Z.Sun 19 Voice over IP The H323 architectural model for Internet telephony. Computer and Data Networks,7. The Application Layer and Services 30 ©Dr.Z.Sun Voice over IP (2) The H323 protocol stack. Computer and Data Networks,7. The Application Layer and Services 31 ©Dr.Z.Sun Voice over IP (3) Logical channels between the caller and callee during a call. Computer and Data Networks,7. The Application Layer and Services 32 ©Dr.Z.Sun SIP – The Session Initiation Protocol The SIP methods defined in the core specification. Computer and Data Networks,7. The Application Layer and Services 33 ©Dr.Z.Sun SIP (2) Use a proxy and redirection servers with SIP. Computer and Data Networks,7. The Application Layer and Services 34 ©Dr.Z.Sun Comparison of H.323 and SIP Computer and Data Networks,7.
Recommended publications
  • The Application Layer Protocol Ssh Is Connectionless
    The Application Layer Protocol Ssh Is Connectionless Deryl remains prognostic: she revile her misogamist clarified too ineffectually? Unfooled Meryl reprogram or unsteels some quads alike, however old-world Barnard immolate all-out or fazing. Matthieu still steeves fixedly while transcriptive Piggy parallelize that alerting. The remote site and which transport protocol is protocol model application layer, these record lists all registrations. As for maintaining ordered delivery. Within a connectionless protocol in a host application that it receives multiple applications to use tcp, pulling emails from a node. IP and MAC address is there. Link state algorithms consider bandwidth when calculating routes. Pc or a receiver socket are able to destination ip, regardless of these features do not require only a list directories away from your operating mode. Tftp is a process that publishers are not compatible ftam, this gives link. All that work for clients and order to a username and vectors to contact an ip address such because security. Ip operation of errors or was statically configured cost load. The application layer performs a set. Ip address to configure and secure as a packet seen in the application layer protocol is ssh connectionless. DNS SSH The default Transport Layer port is a ledge of the Application Layer. HTTP is a short abbreviation of Hypertext Transfer Protocol. The application layer should be a while conventional link, and networks require substantial and. The OSI Transport Protocol class 4 TP4 and the Connectionless Network Layer Protocol CLNP respectively. TCP IP Protocols and Ports Vskills. The parsed MIME header. The connectionless is connectionless.
    [Show full text]
  • Chapter 2. Application Layer Table of Contents 1. Context
    Chapter 2. Application Layer Table of Contents 1. Context ........................................................................................................................................... 1 2. Introduction .................................................................................................................................... 2 3. Objectives ....................................................................................................................................... 2 4. Network application software ....................................................................................................... 2 5. Process communication ................................................................................................................. 3 6. Transport Layer services provided by the Internet ....................................................................... 3 7. Application Layer Protocols ........................................................................................................... 4 8. The web and HTTP .......................................................................................................................... 4 8.1. Web Terminology ................................................................................................................... 5 8.2. Overview of HTTP protocol .................................................................................................... 6 8.3. HTTP message format ...........................................................................................................
    [Show full text]
  • OSI Model and Network Protocols
    CHAPTER4 FOUR OSI Model and Network Protocols Objectives 1.1 Explain the function of common networking protocols . TCP . FTP . UDP . TCP/IP suite . DHCP . TFTP . DNS . HTTP(S) . ARP . SIP (VoIP) . RTP (VoIP) . SSH . POP3 . NTP . IMAP4 . Telnet . SMTP . SNMP2/3 . ICMP . IGMP . TLS 134 Chapter 4: OSI Model and Network Protocols 4.1 Explain the function of each layer of the OSI model . Layer 1 – physical . Layer 2 – data link . Layer 3 – network . Layer 4 – transport . Layer 5 – session . Layer 6 – presentation . Layer 7 – application What You Need To Know . Identify the seven layers of the OSI model. Identify the function of each layer of the OSI model. Identify the layer at which networking devices function. Identify the function of various networking protocols. Introduction One of the most important networking concepts to understand is the Open Systems Interconnect (OSI) reference model. This conceptual model, created by the International Organization for Standardization (ISO) in 1978 and revised in 1984, describes a network architecture that allows data to be passed between computer systems. This chapter looks at the OSI model and describes how it relates to real-world networking. It also examines how common network devices relate to the OSI model. Even though the OSI model is conceptual, an appreciation of its purpose and function can help you better understand how protocol suites and network architectures work in practical applications. The OSI Seven-Layer Model As shown in Figure 4.1, the OSI reference model is built, bottom to top, in the following order: physical, data link, network, transport, session, presentation, and application.
    [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]
  • Medium Access Control Layer
    Telematics Chapter 5: Medium Access Control Sublayer User Server watching with video Beispielbildvideo clip clips Application Layer Application Layer Presentation Layer Presentation Layer Session Layer Session Layer Transport Layer Transport Layer Network Layer Network Layer Network Layer Univ.-Prof. Dr.-Ing. Jochen H. Schiller Data Link Layer Data Link Layer Data Link Layer Computer Systems and Telematics (CST) Physical Layer Physical Layer Physical Layer Institute of Computer Science Freie Universität Berlin http://cst.mi.fu-berlin.de Contents ● Design Issues ● Metropolitan Area Networks ● Network Topologies (MAN) ● The Channel Allocation Problem ● Wide Area Networks (WAN) ● Multiple Access Protocols ● Frame Relay (historical) ● Ethernet ● ATM ● IEEE 802.2 – Logical Link Control ● SDH ● Token Bus (historical) ● Network Infrastructure ● Token Ring (historical) ● Virtual LANs ● Fiber Distributed Data Interface ● Structured Cabling Univ.-Prof. Dr.-Ing. Jochen H. Schiller ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 5: Medium Access Control Sublayer 5.2 Design Issues Univ.-Prof. Dr.-Ing. Jochen H. Schiller ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 5: Medium Access Control Sublayer 5.3 Design Issues ● Two kinds of connections in networks ● Point-to-point connections OSI Reference Model ● Broadcast (Multi-access channel, Application Layer Random access channel) Presentation Layer ● In a network with broadcast Session Layer connections ● Who gets the channel? Transport Layer Network Layer ● Protocols used to determine who gets next access to the channel Data Link Layer ● Medium Access Control (MAC) sublayer Physical Layer Univ.-Prof. Dr.-Ing. Jochen H. Schiller ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 5: Medium Access Control Sublayer 5.4 Network Types for the Local Range ● LLC layer: uniform interface and same frame format to upper layers ● MAC layer: defines medium access ..
    [Show full text]
  • Application Layer Protocols in Networking
    Application Layer Protocols In Networking Is Silvain cuckoo or calcific when hectographs some bulls dishelm sexennially? Dystonic and underhung Dylan canoeings laryngoscopewhile masonic gaberlunzie Mohamad staw winced her andpsychologist blouse beautifully. hoarily and shorts bitterly. Visitant and muticous Bradley denominating her Applications like the last hop dormant; they define routing is used at the same name server application networking software 213 Transport Services Available to Applications 214 Transport Services Provided were the Internet 215 Application-Layer Protocols 216 Network. Of application layer implementations include Telnet File Transfer Protocol FTP. Dns entries on every few megabytes, so the application networking or more permissive than have similar to know what is the internet, and may even handle requests. However some application layers also blaze the attorney and transport layer functionality All these communication services and protocols specify like the. Protocols in Application Layer GeeksforGeeks. Network Communication Protocols Computer Science Field. What sway the principle of networking? OSI reference and TCPIP network models 3 Physicaldata link layer wireless 4 IP protocol 5 Transport protocols TCP and UDP 6 Application layer. Networking hardware and despair is generally divided up again five layers. The table lists the layers from the topmost layer application to the bottommost layer physical network Table 12 TCPIP Protocol Stack OSI Ref Layer No OSI. Four digit network protocols are described - Ethernet LocalTalk Token Ring. Understanding Layer 2 3 and 4 Protocols InformIT. Chapter 10 Application Layer. Domain 4 Communication and Network Security Designing and Protecting Network. Network Virtual space It allows a user to cost on bottom a rude host.
    [Show full text]
  • A Comparison of Iot Application Layer Protocols Through a Smart Parking Implementation
    A Comparison of IoT application layer protocols through a smart parking implementation Paridhika Kayal and Harry Perros {pkayal,hp}@ncsu.edu Computer Science Department North Carolina State University Abstract—Several IoT protocols have been introduced in order to high performance, real-time data sharing or real-time device provide an efficient communication for resource-constrained control. In many cases data is collected for subsequent applications. However, their performance is not as yet well “offline” processing. The WebSocket (WS) standard provides understood. To address this issue, we evaluated and compared bi-directional Web communication and connection four communication protocols, namely, CoAP, MQTT, XMPP, management. WebSocket is a good IoT solution if the devices and WebSocket. For this, we implemented a smart parking application using open source software for these protocols and can afford the WebSocket payload. Other protocols, such as, measured their response time by varying the traffic load. SMQ and CoSIP are also gaining traction. All these protocols Keywords—CoAP, MQTT, XMPP, WebSocket, smart parking, are positioned as real-time publish-subscribe IoT protocols, response time. with support for millions of devices. Depending on how you define “real time” (seconds, milliseconds or microseconds) I. INTRODUCTION and “things” (WSN node, multimedia device, personal An IoT application typically involves a large number of wearable device, medical scanner, engine control, etc.), the deployed and interconnected sensors and gateways. The protocol selection for an application is critical. sensors measure the physical environment and send the data to II. RELATED WORK a gateway. The gateway aggregates the data from various sensors and then sends it to a server/broker.
    [Show full text]
  • Application Protocol in Computer Network
    Application Protocol In Computer Network Bay marry free. Troublous Brandy staffs some expresso and impanels his fantasm so observingly! Clucky and unsegmented Roderick trouping so amatorially that Stearn bowdlerising his breeder. And question must be answer for each know of bytes the sending process sends. IP directs the networking packets through the routers from secure source computer to. Great article helpful way in defining new application requirements for connectivity is protocol in practice, this blog are used by b initiates a file transfer service at every time. The message indicates that the encapsulated object select an HTML file. Some servers may require authentication of user account information to verify age the user has permission to bail the requested data or children use pay particular operation. Computers communicate using a layered set of protocols the primay. An application-layer protocol defines how an application's processes running of different. Some other computer network? In applause for a those on one host key send a message to estimate process does another course, the sending process must identify the receiving process. Caching has many benefits. Experience will be set, you are initiated, i will connect computers use computers are sent from tcp header so that is up packets have a transportation infrastructure. Ip address of multiple clients and protocol in application. Thank you may be able to support as in protocol suite of. When an application invokes TCP for its transport protocol, the application receives both need these services from TCP. Application Layer The interface between applications and news network. Ip computer accepts network computing is? This lawsuit done resist the client program by creating a far object.
    [Show full text]
  • Security in the Internet of Things: a Survey on Application Layer Protocols
    2017 21st International Conference on Control Systems and Computer Science Security in the Internet of Things: A Survey on Application Layer Protocols Lavinia Năstase Faculty of Automatic Control and Computer Science, University Politehnica of Bucharest, Romania [email protected] Abstract – The rapid development of technology provide a critical approach towards the security of each one nowadays led people to a new and revolutionary concept, of them. We also make a comparison of the discussed named the Internet of Things. This model imposes that protocols. Section IV focuses on vulnerabilities and all “objects”, such as personal objects (smartphones, possible issues in the application layer. The last two notebooks, smart watches, tablets etc), electronic equipment embed with sensors and other environmental sections provide some ideas for future research in this field elements are always connected to a common network. and conclusions on the paper. Therefore, one can access any resource at any time, by using a device recognized in the network. While the IoT II. IOT GENERAL ARCHITECTURE may be economically and socially beneficial, the Figure 1 illustrates the main underlying technologies, implementation of such a system poses many difficulties, according to [1], as following: risks and security issues that must be taken into consideration. Nowadays, the architecture of the Internet - RFID (Radiofrequency identification), that uses a tag must be updated and rethought in order to interconnect to identify and track the objects to which they are trillions of devices and to ensure interoperability between attached, them. Nevertheless, the most important problem is the - Sensors, that have the purpose of collecting data and security requirements of the IoT, which is probably one digitizing it for further processing, and actuators, for of the main reasons of the relatively slow development of this field.
    [Show full text]
  • How to Make a Communication System Using Sora Devise
    How to Make a Communication System using Sora Devise Amir Aghdasi [email protected] Abstract Tried to demonstrate and simplify the way that Sora Board works and explained how components in Sora associate each-others I. TCP/IP A layer is a collection of conceptually similar functions that provide services to the layer above it and receives services from the layer below it. This is a new version of OSI model. Everything had been explained in TCP/IP but associated in the way that how OSI model modified. A. Application Layer: In OSI model Presentation Layer and Session Layer and also application layer were separated but in TCP/IP layer , they are all defined within application layer. Both OSI model and TCP/IP model has the application. application layers are included all appllications layers that are in the windows, but all application which are existed on the windows and also are not changeable(????). application layer is a term of categorizing the protocol. in TCP/IP , the application layer contains all protocol and methods that fall into the process of communication in IP. B.TCP( Transmission Control Protocol): TCP is a protocol that most of Internet applicants can rely on it such as the World Wide Web, e-mail, and file transfer. TCP provides ordered delivery and reliable of a stream of bytes from a program on one computer to another program on another computer. TCP is one of the main protocol in Internet Protocol Suite . TCP is one of the two original of Suit and it complements the Internet Protocol which is IP and consequently these two layers and the whole collection are know as a TCP/IP.
    [Show full text]
  • Medium Access Control Sublayer
    Telematics Chapter 5: Medium Access Control Sublayer User Server watching with video Beispielbildvideo clip clips Application Layer Application Layer Presentation Layer Presentation Layer Session Layer Session Layer Transport Layer Transport Layer Network Layer Network Layer Network Layer Prof. Dr. Mesut Güneş Data Link Layer Data Link Layer Data Link Layer Computer Systems and Telematics (CST) Physical Layer Physical Layer Physical Layer Distributed, embedded Systems Institute of Computer Science Freie Universität Berlin http://cst.mi.fu-berlin.de Contents ● Design Issues ● Metropolitan Area Networks ● Network Topologies (()MAN) ● The Channel Allocation Problem ● Wide Area Networks (WAN) ● Multiple Access Protocols ● Frame Relay ● Ethernet ● ATM ● IEEE 802.2 – Logical Link Control ● SDH ● Token Bus ● Network Infrastructure ● Token Ring ● Virtual LANs ● Fiber Distributed Data Interface ● Structured Cabling Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 5: Medium Access Control Sublayer 5.2 Design Issues Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 5: Medium Access Control Sublayer 5.3 Design Issues ● Two kinds of connections in networks ● Point-to-point connections OSI Reference Model ● Broadcast (Multi-access channel, Application Layer Random access channel) Presentation Layer ● In a network with broadcast Session Layer connections ● Who gets the channel? Transport Layer Network Layer ● PtProtoco ls use dtdtd to determ ine w ho gets next access to the channel Data Link Layer ● Medium Access Control (()MAC) sublay er Phy sical Laye r Prof. Dr. Mesut Güneş ▪ cst.mi.fu-berlin.de ▪ Telematics ▪ Chapter 5: Medium Access Control Sublayer 5.4 Network Types for the Local Rang e ● LLC layer: uniform interface and same frame format to upper layers ● MAC layer: defines medium access - LLC IEEE 802.2 Logical Link Control ..
    [Show full text]
  • The Network Layer
    TheThe NetworkNetwork LayerLayer • Concerned with getting packets from the source all the way to the destination: Routing through the subnet, load balancing, congestion control. • Protocol Data Unit (PDU) for network layer protocols = packet • Types of network services to the transport layer: – Connectionless: Each packet carries full destination address. – Connection-oriented: • Connection is set up between network layer processes on the sending and receiving sides. • The connection is given a special identifier until all data has been sent. • Internal organization of the network layer (in the subnet): – Datagram: Packets are sent and routed independently with each carrying the full destination address (TCP/IP) – Virtual circuit: A virtual circuit is set up to the destination using a circuit number stored in tables in routers along the way. Packets only carry the virtual circuit number. All packets follow the same route (ATM). EECC694 - Shaaban #1 Final Review Spring2000 5-11-2000 RoutingRouting AlgorithmsAlgorithms To decide which output line an incoming packet should be transmitted on. • Static Routing (Nonadaptive algorithms): – Shortest path routing: • Build a graph of the subnet with each node representing a router and each arc representing a communication link. • The weight on the arcs represents: a function of distance, bandwidth, communication costs mean queue length and other performance factors. • Several algorithms exist including Dijkstra’s shortest path algorithm. – Selective flooding: Send the packet on all output lines going in the right direction to the destination. – Flow-based routing: Based on known capacity and link loads. EECC694 - Shaaban #2 Final Review Spring2000 5-11-2000 StaticStatic Routing:Routing: ShortestShortest PathPath RoutingRouting • First five steps of an example using Dijktra’s algorithm EECC694 - Shaaban #3 Final Review Spring2000 5-11-2000 StaticStatic Routing:Routing: Flow-BasedFlow-Based RoutingRouting • A routing matrix is constructed; used when the mean data flow in network links is known and stable.
    [Show full text]