NAT Explained - Network Address Translation
Вставка
- Опубліковано 6 чер 2018
- What is NAT? This is an animated video tutorial explaining how NAT works (network address translation). What's the difference between a public IP address and private IP address? What's the difference between IPv4 vs IPv6?
►Never forget your passwords again. ►bit.ly/3S05wAM (RoboForm affiliate).
RoboForm is my personal password manager. Sync all your logins and passwords across all your devices. Save up to 42% using my link.
►Get the VPN that I use (affiliate). nordvpn.com/powercert
Save 65% on a 2-year plan + 4 months free
So their will be no private IP addresses? Are you saying NAT will be obsolete?
I am mostly a visual learner and I cannot stress enough how brilliant your videos are. Keep up the good work. Simply amazing.
Thanks :)
Actually, you are a multimodal learner. This video is instructed in a multimodal format. Everyone is a multimodal learner.
I also have Subtitles turned on. I have learned that while watching movies I retain more subtle plot details. It's working for learning as well and holy shit. I just unlocked another level of understanding for myself. Which is weird, because I cant retain anything by simply reading an educational book. Everything blends together too much in the aftermath.
Same, he needs to make coloring books too!
@@PowerCertAnimatedVideos seriously yes.
Fast forward 50 years,
When the IPv6 was created, engineers didn't realize how big the internet would become, because even though there were 340 undecillion IPv6 addresses available, the engineers thought that that would be enough, but obviously THEY WERE WRONG.
Yeah I was just about say This! 🤣🤣
I thought the same thing. Lol
this had me dead :D
IPv12:
Hello there
If you look at the rate of population growth, it’s impossible. We will be either extinct by then or be using a more advanced technology for device communication
"With a number that huge, we will never run out of IP addresses" Yeah... I heard that one before... ;-)
Just thinking that! haha
When we concord the universe. Then we will have ip v8 and ip v10 with more word and letter and number :v Even Sympol :3
With each IoT device....
with increasing AI and AI integration into all things humans, we will all have AT LEAST our own IP addresses (on our heads/hands) AS WELL as all other living things...and thats' before they decide to start applying nano-tech to our cells! Yeah that number can dwindle pretty fast....
@renragged:
we won't run out because public IP address' are LEASED out for ~24 hrs so each public IP address that is used will be re-used over and over as older devices get phased out or as you people swap out cell phones every year ...
Not all devices will access the internet for the rest of its life. At some point your device will shut down due to age, security, or failure at which point its public IP address will move on to another device ...
"Hey boss, whats the address of the exchange server again?" "For the last time, it's 2001:56b:bd91:3f00:b8da:922d:9485:9d0."
translate it :D
And that's the reason why starting using DNS names now for all.. but yeah i got the joke ;)
🤣🤣🤣 YESSIR!!!
that's not even a valid IPv6 address. but yeah got the joke!
Funny joke but if you’re computer is already connected to the company domain why would you need the ipv6 address of the server when you can just use your company email and password, created by the system administrator, to sign into your email account? Serious question.
Man I've learned so much from your videos bro. Please keep them coming!
True
truly true
Yeah he is the best
Same ...studying for my A+ and these vids help so much!!
I work in IT for the last 14 years and recently i've been helping others in troubleshoot and want to teach fundamentals in a Simple clear way- so they dont just solve and issue but understand it. Sir, your videos are brilliant for this. You are Simple, Direct, usefull and very pertinent. You are helping me Help others who in Turn Will better understand and Help others. Sharing is caring. Thank You ☺️🙏
Respect 👌
Hi Sir. Can you explain Double NAT in simpler way?
These lessons are done so well. I can tell lots of time went into these presentations.I have learned a lot in a very short period. Things I always wanted to know.
Each time i listen to this guy i realize there are good lecturers out there. Thanx man for always delivering mouthwatering tutorials
This is honestly the best and most concise explanation ever. Thank you.
Thanks
I want to watch another video saying "therefore engineers created ipv6. They thought world would never run out of ip addresses. THEY WERE WRONG!!!
I came here to say the same thing lol😂
I didn't think that I would understand some technology; because I am behind learning the basics. However, I am amazed at how easy you all made this video for anyone to grasp its meaning. Thank you very much.
This guys REALLY good man lol taking IT classes on my own but man, for clarity he really clears up these concepts. Thanks a billion
This is best tutorial channel i have came across. Pleasant and simple animation, Smooth and relaxing voice is icing on the cake. Keep it up Sir. JazakAllah
How great is that, no long into, no begging for likes or subscribes, immediately as soon it starts it answers your questions, this is good content
Thank you for this !! Studying for a Data Communications exam and the understanding of NAT is much much more clear!
I usually don't comment to videos but man, you are amazing educator with a calm and relaxing voice. Thanks for the free knowledge, I learn from your 5 mins videos more than I learn in 3 months course .
Thanks for the video. You born to be an educator.
Yes but you're not. *NOR* am I! See what I did there? Ok, I'll leave...
@@axlearyakia AND i´m leaving too ;)
@@axlearyakia I don't see it guys! pls help this potato :(
@@hoola_amigos the symbol of NOT gate check it
truly this courses you're providing are treasure. It is not common to get so well explained tech videos.
youtubers that follow that channel are blessed.
You have best IT videos i have ever seen, good job bro👍🏻
Whenever I suffer in understanding any concept, you always have a simple explanation for it. Thank you for sharing your knowledge :)
Very, very interesting as usual. You are so good to teach. thanks
Great video! Clear, concise and straight to the point!
Thank you soooooooo much. Didn't get a word my lecture was rambling about for 2 hours and you broke it down in minutes, bravo!!! 👏
literally the best channel for networks good job !!!!!
Your videos are so simple to understand thank you. Do you have a video for understanding routing protocols such as RIPV2, OSPF?
Thank you very very much for your extremely educational UA-cam videos that bring back a lot of forgotten knowledge in my memory.
Your channel is so rewarding. I'm new to CCNA, your videos helped me a lot. Thank you so much.
Superb, Awesome.
Love your way of explanation.
Always excited to watch new videos on this channel. It has made me learn and understand technology in a much better and simpler way.
God Bless you Sir for making such Wonderful videos.
Thank You so much.
Thanks!
PowerCert Animated Videos How does the router know which internal IP address should be used for incoming data?
As the field coordinator for a network installation company I don't necessarily need an in depth knowledge of network configuration, but a basic understanding of how it works helps generate up-sells for us and the companies we work with, your vids are perfect, thanks!
You sir ... you are a very good and well educated teacher, because only a good theacher can "translate" a complex information into simple words which stay as informational as possible AND understandable for a exhausted brain in the middle of the night (me) :) Thank you very much ! Keep the good work and keep it simple :)))))
This is the best explanation yet of all the videos that I've watched. Thank you so much!
This is better than linus tech tips and techquickie! give this channel a million sub! keep it up the good work man!
Thank you.
You didn't explain how nat works. How does the router know which incoming traffic is for which device.
using port numbers?
I have also same question
this is the basic concept bro. Research about it.
I think router remembers the MAC address of the device which is unique....
They use the port preservation technique,bacially when outbound traffic passes through router,the router uses the same port as used by device and stores the port info internally and forwards it to server with its IP . When the incoming traffic returns on this port, the router knows from the data stored earlier, that it should forward this traffic to certain device with certain IP.
Thanks so much for the video man. Short, quick and easy!!!
another masterpiece. i always like these videos before watching them
My gooodness the videos are mind blowing... U r a magician.. THank you very much for fantabulus videos and animations
Thank you so much
A few points. Some ISPs hand out private addresses, which mean customers are already behind NAT and so cannot connect to their own network from elsewhere. NAT also breaks some protocols. Also, address classes are obsolete, replaced with classless addresses, where a base address and subnet mask are specified.
BTW, according to Vint Cerf, the guy who invented this, 32 bit addresses were only intended to be used for proof of concept, with the final version having a much larger address space. Unfortunately, IPv4 escaped, leaving the world trying to get by with only 32 bits addresses.
Hey, im using a wireless 5g home Internet which is connected by sim router zlt x21, i have a doubt to clear. The thing is i want to use my router in my car to access wifi while im travelling but the network disconnects, is this because of NAT enabled? I can only use in the area of my home
I do have a socket to plug my router in my car
@@FAZILG007 I don't think NAT would cause it to disconnect. What are you doing when that happens? Are you moving? If so, it might be something as simple as a temporary loss of the cell connection.
@@FAZILG007 Home wireless connections are often locked to a specific cell tower. If you want internet while you're driving, you'll be better off with a regular mobile sim in your phone. Does that answer your question? It should be entirely unrelated to NAT.
Short and so much Information. You are my Hero!
You clarified more than half of my doughts in just four mins!!
I dont need school you are my teacher
*I dont need sleep i need answers*
How does NAT keeps track of request/answer packets and associates em to the correct private ip ?
Ok let’s try to make things easy:
1- Dynamic NAT works like this:
I have a private network with 3 host devices connected to a switch and the switch is connected to a router, ok?
Now my three host devices I assign them private IP Addresses, lets say:
Pc1 192.168.1.1
Pc2 192.168.1.2
Pc3 192.168.1.3
I have a Dynamic NAT Configuration in my Router, this DNAT contains a pool of public IP addresses, assume my pool is:
1) 65.2.2.1
2) 65.2.2.2
3) 65.2.2.3
Now lets say pc1 sends a message to the internet, the data will first arrive to the switch and from there to the router, the router will take the first public ip address from its pool of DNAT addresses, for e.g., this pc1 will take this public ip address:
192.168.1.1 :: 56.2..2.1
This is how it looks the DNAT mapping table in the router,
if pc2 also want to go outside to the network, the router will give the second public ip from its pool;
192.168.1.2:: 56.2.2.2
so on and so forth
When a reply comes from outside (internet) to this private network, the router will check the public ip address of the destination, lets say it’s for pc1:
56.2.2.1
So it will map
192.168.1.1:: 56.2.2.1
So the router says aha I got it this data is for pc1
So on and so forth, but this type of NAT It will consume a big amount of public ip addresses which is not free-
So the solution is to use other type of NAT, which is the one used mostly,
PAT (port address translation), PAT works like this:
The router configured with PAT has only ONE public ip address for all hosts in the its private network, lets say this address is:
56.2.2.10 but followed by a port number, like this:
56.2.2.10:: 8080
For pc1
-56.2.2.10::8081
For pc2
So on and so forth
therefore when pc1 wants yo communicate with outside world, the router will remove pc1’s private ip address (192.168.1.1) and assign him a public address followed by a port number like this;
56.2.2.1::8080
Every host will use same public ip addresses but with different and unique port numbers-
There are 65,635 port numbers available (only few are reserved for well known protocols or apps.)
@@anwarahmed5342 confused
This is great amazing simple and short but well explained!...
You explained this so simple. Amazing video!!
4:08 - "With a number that huge we will never run out of IP addresses"
2020 - Hold my Internet Protocol
Very helpful, cheers.
I’m gonna laugh though if in 20 years time I’m watching a video that says
“Engineers invented iPv6 and thought they would never run out of ip addresses”
😂
I doubt it because in order to run out of ipv6 addresses every person in the world would have to have billions of internet connected devices.
It's literally physically impossible to create enough devices to use up all the IPv6 addresses. It's not about hoping we don't run out, or just guessing that we won't. It's simple maths. As someone else put so well:
I dont think any of you understand how enormous that number is. If you had a job that paid you 390 trillion dollars per hour (US) you would have to work 24 hours per day, 7 days per week, 365 days per year for a just a little less than 100 quadrillion years to earn 340 undecillion dollars. You could literally start handing out IP-adresses to bacteria.
Or this great one:
So we could assign an IPV6 address to EVERY ATOM ON THE SURFACE OF THE EARTH, and still have enough addresses left to do another 100+ earths. It isn’t remotely likely that we’ll run out of IPV6 addresses at any time in the future.
Great information and well explained. Thank you!
This video has helped me grasp the topic better! You make great tutorials!
help mí tugedör ikszdéééééééééééééééééééé
I have one query regarding NAT.
As you all know that every device over the internet is recognized by its IP address, but when NAT translates the private IP into the public IP, which is the same for all devices as shown in the video, so how does this device will get regognized.
It doesnt by IP address, all those devices share the same IP. Depending on the service it maybe browser cookies/persistent cookies, browsing thumbprint, GEO location or other data the app may collect without you knowing...yeah, kinda disturbing
It's pretty obvious question that every video that explains NAT left out and did not address (pun intended). So when the service request comes back to requesting router how does router know which device originally requested that?
@@Nexus9 What is this nonsense?
@4:11
Im from the future, we just released IPv9 and we now need Untrigintillion IP adresses. It aint easy maintaining internet access when your civilization transverses the entire known Omniverse...
Your video is brilliant, simplified and easy to understand. Period. ;)
unbelievable teaching skills. fantastic channel !!
With IPv6 we would never run out of public IP addresses
India: hold my 8th child
Doesn't make sense
Ipv6 can be used to address every single grain of sand on our planet. Logically we won't run out of ip addresses because no more sand, no silicon chips therefore no more devices.
🤦🏻♂️
We will never run out of IPv6 addresses. Uhnnn thats what they said in the past with IPv4...
Amaury Caminero 😂
Well, IPv6 has the potential of 340 undecillion addresses. IPv4 has access to approx 4 billion. To put it in perspective, even if IPv6 were limited to 340 trillion addresses (it's not, it's undecillion), that would mean we could supply 4 billion IPv4 addresses to 85,000 different planets. However, an undecillion triples that amount to 85,000,000 (85 million), then triples it again to 85,000,000,000,000,000,000 (85 quintillion). So, for us to run out of IPv6 addresses, every person of our 8 billion people on the planet would have to have more than 1 trillion personal devices they wanted to connect to the internet.
We're not going to run out.
@@lannylangston Even though that's true, there is no guarantee that we will never run out of ip addresses by using IPv6. As we all know, technology has been evolving exponentially on those last decades, so I doubt that this amount of ip addresses will always be enough, after all a number being too big or too small is just a matter of perspective.
@fred that number is so big that the entire surface of the planet would literally have to be stacked shoulder to shoulder with people on every square inch, and each of those people would have to have over a billion devices each. Not going to happen. Ever. MAYBE if we colonize a few million other planets that are all on the same network.
@@lannylangston Damn, I didn't think about this detail at all and that's a pretty good point to state, but I still believe there is no limit for technology. :^)
I mean, many circumstances could lead us to consume a lot more ip addresses without running out of physical space like building devices that are smaller, stacking higher amounts of them, having multiple virtual machines on a same device (which means a single device would use many ip addresses), etc.
Anyway, when we finally run out of IPv6 addresses I won't even be here anymore. xd
Anyway, your explanation is always the best on youtube.! Thanks.
Finally I've found a comprehensive explanation of NAT! Thanks a lot
Can you imagine
Year 2010's-20's: "never gonna run short on IPv6 addresses"
Year two thousand and something: "ah shiet here we go again with NATting"
jesus christ my teacher had 1h lecture about this and i could not understand shit. Whatched this 4min video and understod everything perfectly.
Thank you so much, for great, obvious and clear explanation.
This guy has a gift, I can understand everything clearly at once
Thank you so much for sharing this type of videos more power to you guys!
This was quality. Had an understanding about NAT - but this cleryfied alot of questions i had, that i could not answer by myself or understand the answer when googling it. Thanks!
Great video, its a lot easier to understand with those animations, keep the good work!
Thank you very much for your effort making this wonderful material!
Awesome explanation , simple neat and crisp , thanks
let's face it, your videos are pure gold!
Another top notch mini tutorial - thanks!
Thank you so much for these videos. You're a savior. Please don't stop.
Thanks a bunch I've my exam tomorrow and you just saved me.
I love these videos- I'm studying for my CompTIA Network+ and this helps so much
Very nicely explained I've been struggling with this definition for a while, and your video solved all of my questions, thank you so much I suscribe :)
izaac
You're an excellent teacher.
Please keep them coming! good job
Thanks for such an awesome explanation !!!.......short and precise .👍
Have learned so much and am still learning,thank you so much for this.very good n very useful.
Once again you explained this in a way I finally understand.
ó máj gád merri szisztör
Woooow!!! Thank you soo much, my friend! This video really helped.
Your videos are awesome, man! Thank you so much!
Thank you for a VERY clear and easy to understand explanation !!
I like your videos, it's so easy to understand. You teach better than my teachers.
Ok I just founded ur videos and I really needed this!! I have exam about these things (NAT, WLAN, DNS and so on) and these videos are truly a way to learn things fast!!
You are the best. I have never seen any videos with such clarity. Super good. Much Appreciated!
Simple but hits the core. Thank you
This is an excellent explanation especially when you explain IPV6. Thank you
Bro you are really awesome... These tutorials are the best in the world... Love you so much. Keep all the things coming.
Thank you so much for your job. Very helpful and well done 👍
Best explanation ever of this topic! I love it
Well this video helped more than a week and a half of classes. Thanks a lot.
very strong visuals!!! Great Explanation
excelent videos so far the best videos over the internet for students learning about comptia a+ great work.
Excellent series of networking videos!!
Thanks! Your channel is really helpful.
So concise and to the point, thank you!
you deserve more and more respect. Thank you for teaching me. Love you from INDIA.
Very nicely explained sir ..u r best
This channel is a Life saver ♥️♥️♥️
Some great job you've done over the years
Thank you so much, for explaining in a very easy way. God bless!
Always very imformative and explained in very easy way for the viewer to understand.
very good explanation,,, i just loves your video, the animation and the easy language explanation is superb.
keep it up bro.
and 1 request, make a video for the combinations of all question that can be asked in an interview of a system admin for freshers as well as experienced person too.
thanks a lot