Principles of Modern Communications Network Standards based on 2011 lecture series by Dr. S. Waharte. Department of Computer Science and Technology, University of Bedfordshire. 11th January 2013 Outline Modern Communications David Goodwin University of Bedfordshire 1 Definitions and concepts Definitions and concepts 2 Message ordering and reliability Message ordering and reliability Semantics and syntax 3 Semantics and syntax Encoding application messages Vertical communication on the source host 4 Encoding application messages Standards architectures 5 Vertical communication on the source host 6 Standards architectures 84 Modern Communications David Goodwin University of Bedfordshire Definitions and concepts 3 Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 84 Last Lecture Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Lecture 1 introduced core concepts and principles. 4 One of these was the importance of standards. In this lecture, we will look at standards in much more depth. Message ordering and reliability Semantics and syntax Encoding application messages Lecture 1 discussed Vertical communication on the source host standards in terms of five layers of operation. Standards architectures This will also be an important focus of Lecture 2. 84 Standards Modern Communications David Goodwin University of Bedfordshire Definitions and concepts 5 Standards allow different systems to work together. Message ordering and reliability The terms “standard” and “protocol” mean the same thing. Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 84 Standards Modern Communications David Goodwin University of Bedfordshire Definitions and concepts 6 Message ordering and reliability Example Semantics and syntax Encoding application messages What is the standard language in this classroom? Vertical communication on the source host What would happen if you didn’t have this standard? Standards architectures 84 Network Standards Modern Communications David Goodwin University of Bedfordshire Definitions and concepts 7 Message ordering and reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 84 Physical, Data Link, and Internet Layers Modern Communications David Goodwin University of Bedfordshire Definitions and concepts 8 Message ordering and reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 84 Internet, Transport & Application Layers Modern Communications David Goodwin University of Bedfordshire Definitions and concepts 9 Message ordering and reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 84 Layers Modern Communications David Goodwin University of Bedfordshire Definitions and concepts 10 Message ordering and reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 84 Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and 11 reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 84 Message ordering and reliability Network Standards Concepts Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and 12 reliability Network Standards Semantics and syntax Network standards are rules that govern the exchange of Encoding application messages messages between hardware or software processes on different hosts, including messages (ordering, semantics, and syntax), reliability, and connection orientation. What are ordering, semantics, and syntax? Vertical communication on the source host Standards architectures 84 Network Standards Concepts Modern Communications David Goodwin University of Bedfordshire Message Order Definitions and concepts Message ordering and 13 reliability Semantics and syntax Encoding application messages Turn taking (think of telephone conversations) Order of messages in a complex transaction Who must initiate communication, and so on Reliability Vertical communication on the source host A reliable protocol both detects and corrects errors during Standards architectures Error detection alone is not enough. Some unreliable protocols detect errors but then only drop transmission. incorrect messages. 84 Network Standards Concepts Modern Communications David Goodwin University of Bedfordshire Message Order in HTTP Definitions and concepts Message ordering and 14 reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 84 In HTTP, the client program initiates the communication by sending an HTTP request message Network Standards Concepts Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message Order in HTTP Message ordering and 15 reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 84 Network Standards Concepts Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and 16 reliability Semantics and syntax Encoding application messages Reflection: Message Order in HTTP The client must initiate the interaction. Other network standards have more complex turn taking; for instance TCP. Human turn taking is loose and flexible. But message order for network standards must be rigid Vertical communication on the source host because computers are not intelligent. Standards architectures TCP exemplifies more complex message ordering. 84 A Connection Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and 17 reliability Semantics and syntax HTTP is connectionless. Every request-response cycle is independent. TCP is connection-oriented. Encoding application messages There is a formal opening of the connection. Within the connection, messages are sequenced, Vertical communication on the source host acknowledged, and retransmitted if necessary. Standards architectures There is a formal closing of the connection. 84 A TCP Connection Modern Communications David Goodwin University of Bedfordshire A connection opening requires three segments. Definitions and concepts SYN segments only have headers with the SYN bit set. Message ordering and 18 reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 84 A TCP Connection Modern Communications David Goodwin University of Bedfordshire HTTP request and response messages are acknowledged if Definitions and concepts Message ordering and 19 reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 84 received correctly. A TCP Connection Modern Communications David Goodwin University of Bedfordshire Unacknowledged segments are retransmitted. Definitions and concepts Message ordering and 20 reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 84 A TCP Connection Modern Communications David Goodwin University of Bedfordshire Four messages close connections. Definitions and concepts FIN segments are headers with the FIN bit set. Message ordering and 21 reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 84 Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Semantics and syntax Message ordering and reliability Semantics and syntax 22 Encoding application messages Vertical communication on the source host Standards architectures 84 Network Standards Concepts Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Message Semantics Semantics and syntax 23 Encoding application messages Vertical communication on the source host Semantics = the meaning of a message. HTTP request message: “Please give me this file.” HTTP response message: Here is the file. (Or, I could not comply for the following reason. . . ) Standards architectures 84 Network Standards Concepts Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message Semantics Message ordering and reliability Semantics and syntax 24 Encoding application messages Network standards normally have a very limited set of possible message meanings. For example, HTTP requests have only a few possible meanings. Vertical communication on the source host GET: Please give me a file. PUT: Store this file (not often used). A few more. Standards architectures 84 General Message Organization Modern Communications David Goodwin University of Bedfordshire Message Syntax: Message Layout Like human grammar, but more rigid. In general, messages may have three parts. Definitions and concepts Message ordering and reliability Semantics and syntax 25 Encoding application messages Vertical communication on the source host Standards architectures 84 General Message Organization Modern Communications David Goodwin University of Bedfordshire Message Syntax The data field contains the content being delivered. The header is everything before the data field. The trailer is everything after the data field. Definitions and concepts Message ordering and reliability Semantics and syntax 26 Encoding application messages Vertical communication on the source host Standards architectures 84 General Message Organization Modern Communications David Goodwin University of Bedfordshire Message Syntax The header is usually broken into smaller sections called Definitions and concepts header fields. There often is an address field to indicate where to deliver Message ordering and reliability Semantics and syntax 27 Encoding application messages Vertical communication on the source host Standards architectures 84 the message. General Message Organization Modern Communications David Goodwin University of Bedfordshire Most Messages Do Not Have Trailers. Definitions and concepts Message ordering and reliability Semantics and syntax 28 Encoding application messages Vertical communication on the source host Standards architectures 84 General Message Organization Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 29 Field lengths may be measured in bits or bytes. Encoding application messages Another name for byte is “octet.” Vertical communication on the source host The term “octet” is used frequently in networking. Standards architectures 84 General Message Organization Modern Communications David Goodwin University of Bedfordshire Some Messages Do Not Have Data Fields Definitions and concepts Example: TCP SYN segments only have headers. Message ordering and reliability Semantics and syntax 30 Encoding application messages Vertical communication on the source host Standards architectures 84 Ethernet Frame Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 31 Encoding application messages Vertical communication on the source host Standards architectures The Ethernet frame has a header, data field, and trailer. The header has multiple fields. 84 Ethernet Frame Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 32 Encoding application messages Vertical communication on the source host Standards architectures There are source and destination address fields. Ethernet addresses are called MAC addresses (We will see 84 why in Chapter 6). MAC addresses are 48 bits long. (In contrast, IP addresses in IP packets are 32 bits long.) Ethernet Frame Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 33 Encoding application messages Vertical communication on the source host Standards architectures The Ethernet data field contains the packet that the frame is delivering. 84 Ethernet Frame Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 34 Encoding application messages Vertical communication on the source host Standards architectures The trailer contains the Frame Check Sequence field for error detection. The sender computes the value based on all bits. The receiver redoes the calculation. If the receiver gets a different value, it discards the frame. There is no error correction. 84 Ethernet is not reliable. Internet Protocol (IP) Packet Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 35 Encoding application messages Vertical communication on the source host Standards architectures The IP packet is a long string of bits. It is drawn 32 bits on each line. The first line has the bits 0 through 31. The second line has bits 32 to 63, and so on. 84 Internet Protocol (IP) Packet Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 36 Encoding application messages Vertical communication on the source host Standards architectures For the Header Checksum field, the sender calculates a number based on other bits and places the number in the Header Checksum field. The receiver redoes the calculation. If the receiver does not 84 get what the sender computed, then there has been an error, and the packet is dropped. Internet Protocol (IP) Packet Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 37 Encoding application messages Vertical communication on the source host Standards architectures There are 32-bit fields for the source IP address and the destination IP address. 84 Internet Protocol (IP) Packet Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 38 Encoding application messages Vertical communication on the source host Standards architectures The data field often contains a TCP segment. It may also contain a UDP datagram. 84 Internet Protocol (IP) Packet Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability The IP packet always has a header. Semantics and syntax 39 The IP packet always has a data field. Encoding application messages The IP packet NEVER has a trailer. Vertical communication on the source host In fact, trailers are only found on Layer 2 frames. In fact, many Layer 2 frames do not have trailers. Standards architectures 84 TCP Segment Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 40 Encoding application messages Vertical communication on the source host Standards architectures The Sequence Number field gives the TCP segment’s order in the session. The Acknowledgement Number field indicates the segment that this segment is acknowledging. These fields are 32 bits long. 84 TCP Segment Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 41 Encoding application messages Vertical communication on the source host Standards architectures Flag fields are one-bit fields. If the value is 1, the flag field is Set. If the value is 0, the flag field is Not Set. Flag bits are SYN, ACK, FIN, and RST. 84 TCP has six flag fields. TCP Segment Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 42 Encoding application messages Vertical communication on the source host Standards architectures The TCP Checksum Field is for error correction. The sender computes the value in the field. If the receiver computes the same value, it sends an ACK. If not, the receiver discards the segment and sends nothing. 84 The sender will resend the segment. TCP is reliable. TCP Segment Modern Communications David Goodwin University of Bedfordshire Definitions and concepts TCP segments always have headers. Message ordering and reliability Semantics and syntax 43 SOME TCP segments do not have data fields. Supervisory segments, such as SYN, do not carry data Encoding application messages because the information to be conveyed, such as opening a connection, delivers no data. Vertical communication on the source host TCP segments NEVER have trailers. Standards architectures 84 UDP Datagram Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 44 Encoding application messages Vertical communication on the source host In UDP, the application message must fit into a single UDP datagram. Standards architectures So few header fields are needed. The UDP Checksum field is for error detection. If there is an error, UDP discards the datagram. If it does not detect an error, it accepts the datagram but does not send an acknowledgement. 84 Perspective on TCP and UDP Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability If the transport layer process detects an error in an arriving Semantics and syntax 45 Encoding application messages TCP segment, what does it do? If the transport layer process detects an error in an arriving UDP datagram, what does it do? Vertical communication on the source host Are these actions different? Standards architectures 84 Recap: Port Number Fields Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 46 Encoding application messages Both TCP and UDP headers begin with Vertical communication on the source host a source port number field and a destination port number field. Standards architectures 84 Port Numbers on Servers Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 47 Encoding application messages Vertical communication on the source host Standards architectures Multitasking servers run multiple applications. Each application is assigned a port number. 84 Port Numbers on Servers Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax 48 Encoding application messages Vertical communication on the source host Standards architectures Major applications usually are given well-known port numbers from 0 to 1023. HTTP’s well-known port number is 80. The File Transfer Protocol has two: 20 and 21. 84 Hypertext Transfer Protocol Message Syntax Modern Communications David Goodwin University of Bedfordshire Definitions and concepts HTTP Message ordering and reliability Semantics and syntax 49 Encoding application messages Vertical communication on the source host The application layer is the highest layer. It has more standards than any other layer. HTTP is not the only application layer standard; it is one of many. Many application layer protocols, such as SMTP for e-mail, Standards architectures are much more complex than HTTP. 84 Hypertext Transfer Protocol Message Syntax Modern Communications David Goodwin University of Bedfordshire Definitions and concepts HTTP Syntax Uses [CRLF] Message ordering and reliability Semantics and syntax 50 Encoding application messages This stands for carriage return plus line feed. On printers, carriage moves the print head back to the left of the same line, and line feed moves the print head down a line. Vertical communication on the source host In simpler terms, [CRLF] begins a new line. Question: What will two [CRLFs] in a row do? Standards architectures 84 Hypertext Transfer Protocol Message Syntax Modern Communications David Goodwin University of Bedfordshire HTTP Request Message: Definitions and concepts GET /panko/home.htm HTTP/1.1[CRLF] Host: voyager.shidler.hawaii.edu Message ordering and reliability Semantics and syntax 51 Encoding application messages In the first line: GET says that this is a request to get a file. /panko/home.htm is the location of the file. HTTP/1.1 says that the browser speaks HTTP/1.1. Vertical communication on the source host Standards architectures The second line specifies the host to receive this HTTP request message. 84 Hypertext Transfer Protocol Message Syntax Modern Communications David Goodwin University of Bedfordshire Definitions and concepts In HTTP, most lines have this syntax: Message ordering and reliability Semantics and syntax 52 Encoding application messages Vertical communication on the source host Standards architectures 84 Keyword: Value Example: Host: voyager.shidler.hawaii.edu This is like e-mail, with its To:, From:, and so on, fields. HTTP was based on e-mail header concepts. Consequently, it feels old-fashioned. Hypertext Transfer Protocol Message Syntax Modern Communications David Goodwin University of Bedfordshire Definitions and concepts HTTP Response Message Message ordering and reliability Semantics and syntax 53 Encoding application messages Vertical communication on the source host Standards architectures 84 HTTP/1.1 200 OK[CRLF] Date: Tuesday, 20-MAR-2011 18:32:15 GMT[CRLF] Server: name of server software[CRLF] MIME-version: 1.0[CRLF] Content-type: text/plain[CRLF] -[CRLF] File to be downloaded. A string of bytes that may be text, graphics, sound, video, or other content. Perspective: Syntax Modern Communications David Goodwin University of Bedfordshire Definitions and concepts We have spent much time on message syntax because it is Message ordering and reliability extremely important in networking. Semantics and syntax 54 Encoding application messages Ethernet frames are drawn with fields one below the other. IP, TCP, and UDP syntax are drawn with fields beginning Vertical communication on the source host with bit position. HTTP header syntax is shown as a series of lines of text, Standards architectures most of which have the Keyword: Value format. 84 Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages 55 Vertical communication on the source host Standards architectures 84 Encoding application messages Encoding Application Messages Modern Communications David Goodwin University of Bedfordshire Encoding Definitions and concepts Applications must convert application message content into Message ordering and reliability bits. This is necessary because all lower layers have fields Semantics and syntax Encoding application messages 56 Vertical communication on the source host Standards architectures 84 consisting only of ones and zeros. This is called encoding. Encoding Text Modern Communications Text often is encoded with 7-bit ASCII. David Goodwin University of Bedfordshire The eighth bit in each byte is unused. Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages 57 Vertical communication on the source host Standards architectures 84 Binary Representations of Whole Numbers Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages 58 Vertical communication on the source host Standards architectures 84 Encoding Application Messages Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Encoding Alternatives Message ordering and reliability Some information consists of alternatives that have no particular order: Semantics and syntax Encoding application messages 59 Vertical communication on the source host Gender (male or female): 2 alternatives Sales region (north, south, east, west): 4 alternatives City of birth: Many alternatives How many bits do you need to represent alternatives? Standards architectures Must be encoded into a field of fixed length 84 Encoding Application Messages Modern Communications David Goodwin University of Bedfordshire Encoding Alternatives If a field is N bits long, it can represent 2N alternatives Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages 60 Vertical communication on the source host Standards architectures 84 Encoding Application Messages Modern Communications David Goodwin University of Bedfordshire Each additional bit doubles the number of alternatives a field can represent. Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages 61 Vertical communication on the source host Standards architectures 84 Encoding Application Messages Modern Communications David Goodwin University of Bedfordshire Each additional bit doubles the number of alternatives a field Definitions and concepts can represent. Message ordering and reliability Example Semantics and syntax Encoding application messages 62 Vertical communication on the source host Give the number of possible alternatives for 1 Standards architectures 2 3 4 5 84 1 2 3 4 5 bit: bits: bits: bits: bits: 6 7 8 9 10 6 bits: 7 bits: 8 bits: 9 bits: 10 bits: Encoding Application Messages Modern Communications David Goodwin University of Bedfordshire Example Definitions and concepts Message ordering and reliability 1 What is the formula for the number of alternatives you can represent in a field? 2 A field is three bits long. How many alternatives can it represent? 3 A field is four bits long. How many alternatives can it represent? 4 If you want to encode the 12 months, how many bits will you need in the field? Semantics and syntax Encoding application messages 63 Vertical communication on the source host Standards architectures 84 Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages 64 Vertical communication on the source host Standards architectures 84 Vertical communication on the source host Vertical communication on the source host Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages 65 Vertical communication on the source host Standards architectures The application process (in this case a browser) creates an application message for the application process on the destination host. In this case, the application process is a browser. 84 Vertical communication on the source host Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages 66 Vertical communication on the source host Standards architectures The application process passes the HTTP message down to the transport layer process. The transport process encapsulates the HTTP message in the data field of TCP segment. This requires adding a TCP header. 84 Vertical communication on the source host Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages 67 Vertical communication on the source host Standards architectures The transport process passes the TCP segment down to the internet process, which encapsulates the segment in an IP packet. 84 Vertical communication on the source host Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages 68 Vertical communication on the source host Standards architectures The internet process passes the IP packet to the data link process, which is Ethernet. Ethernet adds a header and trailer. 84 Vertical communication on the source host Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages 69 Vertical communication on the source host Standards architectures The data link process passes the frame down to the physical layer. The physical layer does NOT do encapsulation. It merely converts the bits of the frame into signals. 84 Vertical communication on the source host Modern Communications David Goodwin University of Bedfordshire Definitions and concepts The application, transport, internet, and data link layer Message ordering and reliability process do the same thing. Semantics and syntax Create a message in all but the originating layer (in this case, Encoding application messages application), by encapsulation. 70 Vertical communication on the source host Standards architectures 84 Then pass the message down to the next lower layer. The physical layer process is different. It merely converts the bits of the frame into signals. Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Standards architectures Message ordering and reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 71 84 Major Standards Architectures Modern Communications David Goodwin University of Bedfordshire Definitions and concepts To build a house, you do not build one room, then decide Message ordering and reliability what to do next. Semantics and syntax You create an architecture identifying the rooms that will be Encoding application messages needed and how the rooms will relate to one another in terms of flow. Vertical communication on the source host Standards architectures 72 84 Then you begin the design of individual rooms. Major Standards Architectures Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability In networking, standards agencies first create standards architectures that define the categories of standards to be developed. Semantics and syntax Encoding application messages They define categories in terms of layers. Vertical communication on the source host Standards architectures They then design standards for the individual categories. 73 84 Major Standards Architectures Modern Communications David Goodwin University of Bedfordshire Definitions and concepts There are two major standards architectures. Message ordering and reliability TCP/IP This is the standards architecture for the Internet and many Semantics and syntax Encoding application messages corporate internets. Its standards agency is the Internet Engineering Task Force Vertical communication on the source host Standards architectures (IETF). 74 As we saw in Chapter 1, most of its documents are called requests for comment (RFCs). Some (but not all) RFCs are official Internet standards. 84 Major Standards Architectures Modern Communications David Goodwin University of Bedfordshire Definitions and concepts OSI Message ordering and reliability Its two standards agency are ISO and the ITU-T. ISO (the International Organization for Standardization) is a Semantics and syntax Encoding application messages computer standards agency. The ITU-T is the International Telecommunications Vertical communication on the source host Standards architectures Union—Transmission Standards Agency. 75 84 Don’t confuse ISO the organization with OSI the architecture. Major Standards Architectures Modern Communications David Goodwin University of Bedfordshire OSI divides standards into seven layers: Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 76 84 Major Standards Architectures Modern Communications David Goodwin University of Bedfordshire Definitions and concepts OSI divided application communication into three layers. Message ordering and reliability Session (5) creates a managed session between applications. Semantics and syntax If there is a break in communication, the communication only has to go back to the last roll-back point. Presentation (6) was designed to translate between data formats on different computers. In practice, it is used as a category for file format standards, such as jpg and mp3. Application (7) handles other details of application communication. Encoding application messages Vertical communication on the source host Standards architectures 77 84 Major Standards Architectures Modern Communications David Goodwin University of Bedfordshire TCP/IP divides standards into four layers. Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 78 84 Hybrid TCP/IP-OSI Standards Architecture Modern Communications David Goodwin University of Bedfordshire Companies actually use the Hybrid TCP/IP-OSI Standards Architecture that takes standards at different layers from the two architectures. Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 79 84 Major Standards Architectures Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Dominance Message ordering and reliability OSI is almost 100% dominant at the physical and data link Semantics and syntax Encoding application messages layers. It is so dominant that the IETF assumes that network users Vertical communication on the source host Standards architectures will use OSI standards at the physical and data link layers. 80 84 This means single switched or wireless LANs and WANs. Major Standards Architectures Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Dominance Message ordering and reliability TCP/IP is about 90% dominant at the internet and transport Semantics and syntax layers, but other standards architectures are sometimes used at these layers. Encoding application messages Vertical communication on the source host Standards architectures 81 84 IPX/SPX is used on older Novell Netware file servers. SNA is used by many IBM mainframes. AppleTalk is used by some Apple servers. Major Standards Architectures Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Dominance Semantics and syntax At the application layer, many standards come from TCP/IP, Encoding application messages but many also come from OSI, the World Wide Web Consortium, and other standards agencies. Vertical communication on the source host Standards architectures 82 84 Recap: Characteristics of Protocols in this Chapter Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax Encoding application messages Vertical communication on the source host Standards architectures 83 84 Next Lecture Modern Communications David Goodwin University of Bedfordshire Definitions and concepts Message ordering and reliability Semantics and syntax Lecture 1: Core concepts and principles Encoding application messages Lecture 2: Standards concepts Lecture 3: Physical propagation layer Vertical communication on the source host Standards architectures 84 84