MicroNugget: What is Network Address Translation?

  Рет қаралды 86,517

CBT Nuggets

CBT Nuggets

Күн бұрын

Start learning cybersecurity with CBT Nuggets. courses.cbt.gg/security
In this video, Keith Barker covers NAT, why it's necessary, and its relationship to PAT. Obviously a local network can assign addresses however it wants to, but somehow traffic headed for the Internet has to get a global address. Naturally, NAT's how it happens.
Speaking generally, an IP address isn't really anything more than a street name and a house number - useful if you're in the same area, but useless if you don't know what city, state or country the street is in. When you're on a local network, that's usually no problem - but private addresses don't work on the Internet. That's where Network Address Translation comes in.
When a host makes a request that's headed for the Internet, a router substitutes the private address for its own global address, and then when the fulfilled request comes back, the router remembers which host originated the request and untranslates the global address back to private. NAT and PAT are vital for routing and help keep the number of global addresses to a minimum.
🌐 Download the Free Ultimate Networking Cert Guide: blog.cbt.gg/viwz
⬇️ 13-Week Study Plan: CCNA (200-301): blog.cbt.gg/sxi0
Start learning with CBT Nuggets:
• Intro to Networking | courses.cbt.gg/tuv
• TCP/IP IPv4 | courses.cbt.gg/m8f
• Cisco CCDA Design (200-310 DESGN) | courses.cbt.gg/0tv

Пікірлер: 60
@KeithBarker
@KeithBarker 10 жыл бұрын
Hello Adam. Yes, you are absolutely correct! They often use a flavor of NAT called PAT (port address translation) that allows all the IP addresses on the inside be translated to the single IP address that is being used by the router itself. Cheers, Keith
@joselevicanasenjo2171
@joselevicanasenjo2171 Жыл бұрын
Keith, I just came across your channel. I just loved it. It has been very informative, the best!. THe Wireshark demostration is very helpful, and clarified many doubts I had. I dont know if there is another channel that explains networking as well as you do. I am starting to follow you!! Thanks for posting
@KeithBarker
@KeithBarker 11 жыл бұрын
Glad you like the videos. Thank you for the feedback! Keith
@alittax
@alittax 2 жыл бұрын
Hello. Thanks for the videos! I've got one question about NAT: if the internet sends back all packets with the same IP, then how does the router (that does the NATing) tell the difference between each packet? How does the router know that packet A from the internet is destined to host A, and not host B, if the internet can't code any information that can tell the difference between packets A and B? Thanks.
@niiodaie
@niiodaie 11 жыл бұрын
You are the best Keith....you keep it easy and simple, great JOB man!!! You + Jeremy rock the Networking World
@KeithBarker
@KeithBarker 11 жыл бұрын
Hi Manoj- Thanks for the feedback! I appreciate it. Keith
@Santosh2730
@Santosh2730 8 жыл бұрын
A simple and very informative video for beginners. Thanks a lot.
@sbentjies
@sbentjies 9 жыл бұрын
Thanks for making it simple to understand!
@18steps
@18steps 10 жыл бұрын
informative and easily understandable
@cbtnuggets
@cbtnuggets 12 жыл бұрын
He's also working on several full length series for us, currently he's working on one for Network+
@muhammadlateef7193
@muhammadlateef7193 11 жыл бұрын
Keith thanks for sharing very useful information. Can you please do a short nugget on NAT-T
@Dinodialoo
@Dinodialoo 11 жыл бұрын
you and Jeremy are the best of the best , well done
@KeithBarker
@KeithBarker 11 жыл бұрын
Thanks Ankit! Keith
@vigilantezack
@vigilantezack 12 жыл бұрын
New sub, looking forward to all Net+ stuff. Thanks a bunch!
@johnconnor9787
@johnconnor9787 3 жыл бұрын
Thank you for your awesome tutorials :) Could you please help with one question related to NAT configuration. Should we also configure our OUTSIDE port on a router as a default route (0.0.0.0 0.0.0.0 next_hop_ip)? Otherwise how the router will know that it should use NAT for a certain request of the user
@ankitdoshi90
@ankitdoshi90 11 жыл бұрын
Awesome Explanation while covering almost everything... Thank You Sir Don't stop with such tutorials in future :P It helps a lot :)
@VS-ws4ls
@VS-ws4ls 9 жыл бұрын
Helps alot! Im graduating tomorow and NAT is one of the question, I knew NOTHING about it, but now I know how it works pretty well! thanks
@cbtnuggets
@cbtnuggets 9 жыл бұрын
Vojta Sleichert You're welcome. And congratulations on your graduation!
@VS-ws4ls
@VS-ws4ls 9 жыл бұрын
I guess I wrote it wrongly, Im not english talking guy :D I will have the exam tomorow... :D so idk if I will make it yet, but thanks :)
@cbtnuggets
@cbtnuggets 9 жыл бұрын
Vojta Sleichert Oh well in that case, best of luck on your exam! :)
@VS-ws4ls
@VS-ws4ls 9 жыл бұрын
thanks alot ! :) will let you know how I ended up, if I will not forget :D
@VS-ws4ls
@VS-ws4ls 9 жыл бұрын
I DID IT!!!!!!!! YAAAAY but I did not get NAT question, but thanks anyway :D
@Yatana108
@Yatana108 6 жыл бұрын
very good and simple explanation
@1Midnight187
@1Midnight187 10 жыл бұрын
thanks a lot for the informative video :)
@cbtnuggets
@cbtnuggets 10 жыл бұрын
Daniel McRowley You are welcome! Don't forget to submit a MicroNugget request if you have one in the link above.
@TauterHobo007
@TauterHobo007 8 жыл бұрын
Thanks a lot of good information but I do have a question..... when playing games online why does the NAT change to strict for some people?
@TheVerengena
@TheVerengena 11 жыл бұрын
real good one Keith
@aquaticsplashes
@aquaticsplashes 8 жыл бұрын
you're a good teacher
@lupineye
@lupineye 10 жыл бұрын
Yes! usually home wireless router has PAT and RIP as long as I know.
@adityasingh4126
@adityasingh4126 9 жыл бұрын
Can we restrict the bandwidth from the private side of the NAT before forwarding it to public IP
@Voodookillers
@Voodookillers 11 жыл бұрын
this info.... is so basic it makes to much sense , THANK YOU! xD
@khalidmorada550
@khalidmorada550 11 жыл бұрын
the best presentation! i like it..very useful. thank you
@DavidJercinovic
@DavidJercinovic 9 жыл бұрын
i understand the host on the inside is the inside local, but after that I have a hard time piecing together which is the inside global, outside local and outside global ... i understand the outside host must be google.com, the 8.8.8.8 address, but is that the outside global or outside local ? and if i type "what is my IP address" into google.com what address is that? inside global?
@sudarshanpawar4596
@sudarshanpawar4596 8 жыл бұрын
Thumbs up keith!
@blackhathackerz
@blackhathackerz 11 жыл бұрын
nice video..you really helped me...thanks a lot
@katarimanojrevs
@katarimanojrevs 11 жыл бұрын
awesome exlanation..tanxxx
@LovingDatMinecraft
@LovingDatMinecraft 9 жыл бұрын
Saints row 4 is telling me I cant connect to games online because of my NAT how do i change that?
@poligon333
@poligon333 11 жыл бұрын
Thank you thank you thank you.
@edinjusupovic8442
@edinjusupovic8442 11 жыл бұрын
Thank you alot.
@AdamMT1618
@AdamMT1618 10 жыл бұрын
Thank you. so basically all home routers are NAT?
@SakarSubedi
@SakarSubedi 7 жыл бұрын
How to port forward if case of NATing ??
@hungvu-xc3uf
@hungvu-xc3uf 7 жыл бұрын
so are there any problems with NAT?
@thenextbigthing7268
@thenextbigthing7268 3 жыл бұрын
Also is this all still standard now? Except for the ip class though as we mostly use class c now right? My private ip is the 192 one.
@cbtnuggets
@cbtnuggets 3 жыл бұрын
For the IP addresses, you are allowed to use a class A, B, or C within a private network. The default for home routers are going to be a class C address range.
@Lardzor
@Lardzor 8 жыл бұрын
At 2:38 you say the router just swaps out the source address. So what happens if two people on the private network communicate to google at the same time. Both outgoing packets from the router would have a return address AND PORT that are identical. How would the router know which computer to send the return packets to? Doesn't the router have to give each outgoing packet unique port addresses, so it can distinguish the returning packets? If so, your comment at 2:38 is misleading.
@haydo8373
@haydo8373 8 жыл бұрын
Good questions, I found this - whatismyipaddress.com/nat see paragraph four
@maycoltreminio9914
@maycoltreminio9914 11 жыл бұрын
Very helpful. Thank ou
@77jaykb
@77jaykb 4 жыл бұрын
Missed the point, why NAT in the first place. Coz we dont have enough ipv4 addresses
@sourabhjaiswal1530
@sourabhjaiswal1530 7 жыл бұрын
Hello CBT Team, Can you please share the types cyber/ malware attack (hostile or intrusive software, including computer viruses, worms, trojan horses, ransom ware, spyware, adware, shareware, and diff malicious programs.) video on your channel. I need your help on this topics. Regards, Saurav J
@NirajanParajuli
@NirajanParajuli 10 жыл бұрын
nice video ..
@thenextbigthing7268
@thenextbigthing7268 3 жыл бұрын
So how does getting hacked/ddosed or something work? Do they need the private one or global one?
@cbtnuggets
@cbtnuggets 3 жыл бұрын
Hi! Thank you for your question. Getting hacked is having your systems be compromised. This can be achieved in many different ways, but it will mean either someone can gain access to your system or network. It doesn't even have to be full access, they may have a tool to send information. A DDoS is when hundreds/thousands of machines are compromised with some sort of malware to direct traffic to a specific location, which can overwhelm the one location. Let us know if you have any other questions!
@FFxO
@FFxO 7 жыл бұрын
wow sooo goood!
@KeithBarker
@KeithBarker 11 жыл бұрын
Hello- 2 or more inside clients, sharing the same (single) global address, is PAT. In answer to your question, yes. Keith
@garyb2652
@garyb2652 9 жыл бұрын
the short verison
MicroNugget: Private VLANs
9:44
CBT Nuggets
Рет қаралды 60 М.
Network Address Translation - Computerphile
10:50
Computerphile
Рет қаралды 159 М.
100❤️
00:19
MY💝No War🤝
Рет қаралды 23 МЛН
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Stocat
Рет қаралды 16 МЛН
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 79 МЛН
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 65 МЛН
MicroNugget: BGP Configuration Explained | CBT Nuggets
7:19
CBT Nuggets
Рет қаралды 184 М.
NAT - SNAT, DNAT, PAT & Port Forwarding
9:50
Sunny Classroom
Рет қаралды 350 М.
MicroNugget: How to Use "HSRP" for High Availability
9:57
CBT Nuggets
Рет қаралды 64 М.
NAT vs PAT, Static vs Dynamic -- demystified! -- Network Address Translation
7:07
NAT Explained - Network Address Translation
4:26
PowerCert Animated Videos
Рет қаралды 1,7 МЛН
MicroNugget: What is Multi-Protocol Label Switching (MPLS)?
6:58
CBT Nuggets
Рет қаралды 162 М.
OSI and TCP IP Models - Best Explanation
19:20
_Drunk Engineer_
Рет қаралды 310 М.
NAT and Firewall Explained
9:24
IBM Technology
Рет қаралды 99 М.
100❤️
00:19
MY💝No War🤝
Рет қаралды 23 МЛН