Network Protocols - ARP, FTP, SMTP, HTTP, SSL, TLS, HTTPS, DNS, DHCP - Networking Fundamentals - L6

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello welcome to another video from module one of our networking fundamentals series this module will teach you everything you need to understand how data flows through a network this is lesson six where we'll unpack the idea of networking protocols and give you a brief description of a few important protocols you should know about now we've actually used the term protocols a few times in this course without giving you a formal definition and i'd like to start there a protocol is simply a set of rules and messages that form an internet standard for example we've discussed the address resolution protocol or arp in this course we've told you that arp resolves ip to mac mappings this allows two hosts to discover each other's mac address if all they know is their ip address they do this by sending out an arp request and the receiving host sends an arp response the key though is someone had to determine what an arp request looked like what question was asked in the arp request or what information was included in the arp request or what to add as the destination mac address in the arp request in the same way something had to decide what an arp response looked like well in the case of arp that set of rules is defined by rfc 826 you can actually look up rfc 826 to see the specific rules for what actually makes an arp conversation the rfc are the engineering implementation guidelines for how to do arp this rfc has all the rules that govern what an arp request is and what an arp response is and the fact that these rules are published as an internet standard allows arp to be implemented by many different vendors that's what will allow a hp server to speak to a apple macbook or a dell laptop to speak to a samsung phone all these different vendors are simply following the public open internet standard for arp and that's what allows them all to speak the same language when they are doing arp with one another that is the definition of a protocol again it's simply a set of rules and messages which create an internet standard just like arp is an important internet protocol that you should know about there's a few other internet protocols that i'd like to introduce to you starting with file transfer protocol or ftp ftp allows a client and a server to send and receive files from each other the ftp conversation is made up of messages that look like this the client would send the retr command which stands for retrieve and ask for a particular file and this would prompt the server to respond with that file there's also the smtp protocol which stands for simple mail transfer protocol this is the protocol that email servers will use to exchange emails that conversation looks like this the client will send the hello command to an smtp server the smtp server will then respond with a response code of 250 and now the client and the server can exchange emails with one another hello and 250 are simply some of the messages in the smtp standard there's also http which stands for hyper text transfer protocol this is the protocol you're using anytime you're communicating with a web server web servers host many web sites written in html which stands for hypertext markup language and those html pages are exchanged using http when you browse to site.com your client your web browser is sending a get request to the web server and the web server will respond with a 200 ok message and then provide the website you are asking for there's also the ssl and tls protocols which allow a client and a server to build a secure tunnel between themselves and then they can do that http conversation within that tunnel that process is what's known as https that is in fact what https stands for it's an http conversation secured within an ssl or tls tunnel that's what allows you to browse the web securely so that's a quick rundown of some of the important protocols that exist on the internet there are thousands of protocols out there and all of them contribute to some sort of functionality in the internet ecosystem and there's two more rather important ones that i want to talk about but first i want to focus on the host for a minute in lesson one we told you that a host is anything that sends or receive traffic and that hosts are typically divided as clients or servers but we also said that a server is really nothing more than a computer that knows how to respond to specific requests meaning each of these servers are really just computers that have ftp software installed or smtp software installed or hdp or ssl software installed which means these clients and servers all follow the same rules of host to host communication that we unpacked in lesson three and one of the key elements of that is for a host to speak to another host it must know the other host ip address now this will work for this client to speak to the ftp server because we can see the ip address right here but how does it work for this client to speak to the smtp server or the web server if i asked you for your favorite websites you would probably give me the domain names of your favorite websites or if i asked you for your email address you would give me something that looks like this you wouldn't give me an ip address lucky for us there is a protocol that exists which will translate these domain names into an ip address and that protocol is dns or the domain name system dns will use a dns server to convert a domain name into an ip address the way it works is when you type in a website into your browser your browser is first going to make a request to a dns server asking for the ip address of the website that you just typed into your browser and then the dns server will provide an ip address and this will now allow your host to make a request to the actual web server ip address even though you never provided the website ip address itself your computer was able to figure it out automatically by using the dns protocol dns is also what makes email possible again if i were to ask you for your email address you'd probably give me something that looked like this and not the actual ip address of your email server but dns would resolve this into your actual mail service ip address and now your client can actually send mail to the mail server so as you can see dns is actually a pretty important protocol in the internet ecosystem and in fact dns does so much more than what we just described but discussing the full depth of dns goes beyond the scope of this particular module we will cover dns in more detail later on in this course now let's go back to focusing on this host for a minute anytime a host connects to a network there are four items that need to be configured on this host to achieve internet connectivity i'm going to show you those four items in this box the first of those items is an ip address this is going to serve as the host identity on the internet and this host right here has the ip address 9.1.1.11 the next thing a host needs is a subnet mask this is going to tell the host the size of its network this will allow the host to determine if it's trying to speak to something on its own network or to speak to something on a foreign network now a subnet mask can look like this 24 or can look like this 255.255.255.0 both of those are simply different ways to display an identical subnet mask either way if all a host has is these two things an ip address and a subnet mask this will absolutely allow this host to speak to any other hosts on the same local network but if this host needs to speak to something on a foreign network for instance the internet that host is going to need a router and specifically that host is going to need the router's ip address configured as that host's default gateway with these three elements configured on this host this host can now speak through the router to the internet to any server using its ip address but most the time when you're on the internet you're looking at websites or trying to send email and as we described a moment ago you can't speak to domains without converting those into an ip address first which means the fourth item that every single host needs in order to achieve internet connectivity is the ip address of a dns server so that it can translate domain names to ip address so it can then communicate with other hosts using their domain names these four things must be configured on every single host anytime it connects to a network as we alluded to a moment ago the definition of a host is anything that sends or received traffic on the internet which means a host could very well be your laptop or your printer or your mobile phone in all cases every time any of these devices connects to a new network these devices must be configured with these four items but some of you might be thinking wait a minute every time i connect to a new wi-fi network at the local coffee shop or the hotel or an airport or my school network i don't have to go into the settings of my phone and configure these things manually yet i can still reach the internet well what's occurring behind the scenes is yet another important internet protocol that internet protocol is known as dhcp the dynamic host configuration protocol what dhcp does is it allows a dhcp server to provide an ip address a mask a default gateway and a dns server for any client this is actually what happens every time you connect to a new wifi network your host will send a dhcp discover message to discover the dhcp server and then the dhcp server will provide these four things in response back to the client then your client has everything it needs in order to speak to the internet that is how every time you connect to a new wi-fi network your phone or laptop automatically acquires the information it needs in order to speak to the internet and that wraps up the main ideas i wanted to communicate to you in this lesson the main takeaways of this lesson is understanding dns and dhcp and their roles in internet communication understanding the four things that every single host needs in order to attain any sort of internet connectivity and understanding a high level definition of each of the other protocols that we discussed in this lesson for each of these we really only scratch the surface for what those protocols do we could spend hours talking about each of these and how they work but for now i just wanted to give you a quick idea of where each of these protocols fit into the overall internet ecosystem either way that wraps up this lesson i hope you enjoyed this video i want to thank you for watching and i'll see you in the next one hey youtube i hope you enjoyed that free lesson i'm releasing this content for free to see how much interest there would be in a full networking fundamentals course taught in the same practical networking style if you want the full course to be created you have to help me out by spreading the word about this free module if this content gets enough attention i will definitely create the full course based upon your suggestions for what you want in a networking fundamentals course besides i'm sure you know someone that would also benefit from learning how data flows through the internet so you'd be helping them by sharing these videos you could also further help me out with a youtube algorithm by liking subscribing and leaving a comment below i would appreciate it greatly and i read and respond to every comment otherwise feel free to join fellow learners and fans of practical networking on discord the invite is available at pragnet.net thank you for watching and we'll see you in the next video
Info
Channel: Practical Networking
Views: 1,301,768
Rating: undefined out of 5
Keywords: network connectivity, protocols, ccna, troubleshooting, networking
Id: E5bSumTAHZE
Channel Id: undefined
Length: 12min 27sec (747 seconds)
Published: Mon Aug 30 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.