1 00:00:00,090 --> 00:00:05,910 I don't want to spend too much time on theoretical information or to understand the packets sent to 2 00:00:05,910 --> 00:00:09,620 the destination systems and the reply packets as well. 3 00:00:09,690 --> 00:00:19,060 We should talk about the TCP/IP Internet Protocol suite. OSI (open systems interconnection) is a reference 4 00:00:19,060 --> 00:00:25,780 model for how applications can communicate over a network. A reference model is a conceptual framework 5 00:00:25,780 --> 00:00:28,390 for understanding relationships. 6 00:00:28,440 --> 00:00:34,680 The purpose of the OSI reference model is to guide vendors and developers so that the digital communication 7 00:00:34,680 --> 00:00:42,540 products and software programs they create will operate and to facilitate clear comparisons among communications 8 00:00:42,540 --> 00:00:43,390 tools. 9 00:00:43,560 --> 00:00:49,680 Most vendors involved in the telecommunications make an attempt to describe their products and services 10 00:00:49,680 --> 00:00:56,490 in relation to the OSI model and although useful for guiding discussion and evaluation. 11 00:00:56,650 --> 00:01:03,450 OSI is rarely actually implemented. As few network products or standard tools 12 00:01:03,450 --> 00:01:11,160 Keep all related functions together in well-defined layers as related to the model. Developed by representatives 13 00:01:11,160 --> 00:01:16,040 of major computer and telecommunication companies beginning in 1983, 14 00:01:16,340 --> 00:01:22,230 OSI was originally intended to be a detailed specification of actual interfaces. 15 00:01:22,230 --> 00:01:28,890 Instead, the committee decided to establish a common reference model for which others could then develop 16 00:01:28,890 --> 00:01:33,550 detailed interfaces, Which in turn could become standards. 17 00:01:33,630 --> 00:01:39,720 OSI was officially adopted as the international standard by the International Organization of standards. 18 00:01:39,800 --> 00:01:41,200 ISO 19 00:01:41,320 --> 00:01:42,800 So, what about the, OSI Layers 20 00:01:42,910 --> 00:01:51,460 The main concept of OSI is that the process of communication between two endpoints in 21 00:01:51,470 --> 00:01:58,400 a telecommunication network can be divided into seven distinct groups of related functions or layers. 22 00:01:59,470 --> 00:02:06,770 Each communicating user or program is at a computer that can provide those seven layers of function. 23 00:02:06,820 --> 00:02:13,000 So in a given message between users there will be a flow of data down through the layers in the source 24 00:02:13,000 --> 00:02:18,790 computer across the network and then up through the layers in the receiving computer. 25 00:02:18,790 --> 00:02:24,940 The seven layers of function are provided by a combination of applications, operating systems, network 26 00:02:24,940 --> 00:02:31,870 card, device drivers and networking hardware that enable a system to put a signal on a network cable 27 00:02:31,900 --> 00:02:36,310 or out over Wi-Fi or any other wireless protocol. 28 00:02:36,370 --> 00:02:42,100 The seven Open Systems Interconnection layers are: Layer 7. 29 00:02:42,130 --> 00:02:43,880 The application layer. 30 00:02:43,990 --> 00:02:47,830 This is a layer at which communication partners are identified. 31 00:02:47,830 --> 00:02:49,290 Is there someone to talk to? 32 00:02:50,690 --> 00:02:53,960 Network capacity is assessed (Will the network 33 00:02:53,960 --> 00:03:02,540 let me talk to them right now?), and that creates a thing to send or opens the thing received. 34 00:03:02,570 --> 00:03:06,120 Please note that this layer is not the application itself. 35 00:03:06,320 --> 00:03:13,400 It is this set of services an application should be able to make use of directly. Although some applications 36 00:03:13,400 --> 00:03:19,850 may perform application layer functions. Layer 6 - The presentation layer. 37 00:03:19,850 --> 00:03:27,050 This layer is usually part of an operating system and converts incoming and outgoing data from one presentation 38 00:03:27,050 --> 00:03:28,530 format to another. 39 00:03:28,730 --> 00:03:38,060 For example from clear text to encrypted text at one end and back to clear text the other. Layer 5 - The 40 00:03:38,130 --> 00:03:46,270 session layer. This layer sets up coordinates and terminate conversations. Services include authentication 41 00:03:46,330 --> 00:03:51,130 and reconnection after an interruption. On the Internet Transmission Control Protocol. 42 00:03:51,190 --> 00:03:58,210 TCP and User Datagram Protocol UDP provide these services for most applications. 43 00:03:59,210 --> 00:04:01,610 Layer 4. The transport layer. 44 00:04:01,610 --> 00:04:08,690 This layer manages packetization of data then the delivery of the packets. Including checking for errors 45 00:04:08,690 --> 00:04:12,090 in the data once it arrives. On the internet. 46 00:04:12,120 --> 00:04:16,019 TCP and UDP provide these services for most applications as well. 47 00:04:17,160 --> 00:04:23,610 Layer 3. The network layer. This layer handles the addressing and routing of the data. Sending it in the 48 00:04:23,610 --> 00:04:30,270 right direction to the right destination on outgoing transmissions and receiving incoming transmissions 49 00:04:30,420 --> 00:04:31,980 at the packet level. 50 00:04:32,400 --> 00:04:41,510 IP is a network layer for the Internet. Layer 2. The data link layer. This layer sets up links across 51 00:04:41,510 --> 00:04:42,540 the physical network, 52 00:04:42,560 --> 00:04:48,000 putting packets into network frames. This layer has two sub-layers. 53 00:04:48,050 --> 00:04:54,020 The Logical Link Control Layer and the Media Access Control Layer. Ethernet is the main data link layer in use. 54 00:04:54,020 --> 00:05:01,500 Layer 1. The physical layer. This layer conveys the bitstream through the network 55 00:05:01,510 --> 00:05:04,610 at electrical, optical or radio level. 56 00:05:04,860 --> 00:05:09,700 It provides a hardware means of sending and receiving data on a carrier network. 57 00:05:10,140 --> 00:05:13,090 Let's see some of the most famous protocols of the layers. 58 00:05:14,000 --> 00:05:20,810 For ease of use, it's better to talk about physical layer and data link layer together where we have some protocols 59 00:05:20,810 --> 00:05:26,960 and data link layer and some physical media and connection methodologies in physical layer. Ethernet 60 00:05:27,020 --> 00:05:34,230 and 802.11 wireless LAN are the most known protocols of the data link layer either net is the 61 00:05:34,230 --> 00:05:39,840 name of the most commonly used network protocol that controls how data is transmitted over a LAN, which 62 00:05:39,840 --> 00:05:47,040 is a local area network. You need to have Network Interface Cards in the devices that you want to connect 63 00:05:47,040 --> 00:05:55,150 to the network. A wireless local area network (WLAN) is a wireless computer network protocol that links 64 00:05:55,150 --> 00:06:01,930 two or more devices using wireless communication within a limited area such as a home, school, computer 65 00:06:01,930 --> 00:06:04,210 laboratory or office building. 66 00:06:04,210 --> 00:06:10,510 This gives users the ability to move around with a local coverage area and yet still be connected to the 67 00:06:10,510 --> 00:06:11,560 network. 68 00:06:11,590 --> 00:06:13,600 Most modern WLANs are based on 69 00:06:13,600 --> 00:06:21,930 IEEE 802.11 standard and are marketed under the Wi-Fi brand name. IP (internet protocol) 70 00:06:22,770 --> 00:06:29,460 is responsible for addressing host, encapsulating data into transferred packets and routing packets from 71 00:06:29,460 --> 00:06:35,790 a source host to a destination host across one or more IP networks. 72 00:06:35,840 --> 00:06:41,880 The best known transport protocol is the Transmission Control Protocol or TCP. 73 00:06:41,930 --> 00:06:49,340 It is used for connection oriented transmissions whereas the connectionless User Datagram Protocol (UDP) is 74 00:06:49,340 --> 00:06:51,850 used for simpler messaging transmissions. 75 00:06:51,890 --> 00:06:56,730 We're going to talk more in-depth about these protocols in the next lecture. 76 00:06:56,790 --> 00:07:03,690 Again, for ease of use the last three layers session layer presentation layer and application layer are 77 00:07:03,690 --> 00:07:10,650 thought of together as the application layer. Let me put another parenthesis here, 78 00:07:10,870 --> 00:07:14,430 We're talking about the OSI reference model here. 79 00:07:14,620 --> 00:07:21,710 In addition there is another reference model called TCP/IP reference model and instead of OSI model's 80 00:07:21,730 --> 00:07:28,000 last 3 layers. There is only a single application layer in the TCP/IP reference model. 81 00:07:28,000 --> 00:07:36,320 Just keep that in the back of your mind. And back to our subject. The application layer protocols are classified 82 00:07:36,470 --> 00:07:43,660 according to the protocol they are using in the transport layer and these protocols interact with the 83 00:07:43,660 --> 00:07:45,520 end user via applications. 84 00:07:45,520 --> 00:07:49,860 Therefore they are the most known protocols by just about everybody. 85 00:07:51,460 --> 00:07:59,930 Some of the most well known TCP based application layer protocols are HTTP (Hypertext Transfer Protocol) 86 00:08:00,460 --> 00:08:05,870 simply a communications protocol used to send and receive web pages and files on the internet. 87 00:08:06,670 --> 00:08:11,870 Telnet is one of the simplest ways to exchange data between two computers. 88 00:08:11,890 --> 00:08:18,190 It allows two computers anywhere on a computer network including the worldwide internet to exchange 89 00:08:18,190 --> 00:08:26,830 text and that well other data in real time. FTP (file transfer protocol) is a communication protocol for 90 00:08:26,830 --> 00:08:29,980 the rapid simple transmission of files across a network. 91 00:08:31,470 --> 00:08:39,230 SMTP (simple mail transfer protocol) is used to send and relay an e-mail message between email servers. 92 00:08:39,270 --> 00:08:45,300 Note that it is not used to retrieve email messages from a server instead either IMAP or POP is used 93 00:08:45,300 --> 00:08:49,940 to retrieve email messages. 94 00:08:50,070 --> 00:08:55,800 DNS (The domain name system) is the system used to convert a computer's hostname into an IP address on the 95 00:08:55,800 --> 00:08:56,550 Internet. 96 00:08:56,900 --> 00:09:03,210 For example if a computer needs to communicate with a web server nhs.uk. Your computer needs 97 00:09:03,210 --> 00:09:05,170 the IP address of the web server 98 00:09:05,320 --> 00:09:05,900 nhs.uk 99 00:09:05,910 --> 00:09:07,170 . 100 00:09:07,170 --> 00:09:14,490 It is the job of the DNS to convert the hostname to the IP address of the web server. The DNS uses both 101 00:09:14,780 --> 00:09:22,830 the UDP and TCP. SNMP (simple network management protocol) is used in network management systems to 102 00:09:22,830 --> 00:09:26,060 monitor status of devices and also spot problems.