How Network Address Translation Works

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024
  • Explanation of what Network Address Translation is, how it works and why we need it to keep the internet growing. IP version 4 and 6 are also discussed.

Комментарии • 894

  • @varunsaproo4120
    @varunsaproo4120 3 года назад +5

    8 years later, this video is still perfect

  • @lukasaudir8
    @lukasaudir8 3 года назад +8

    Man that's sad that this guy stopped working on this channel all his videos are great and super simple to understand, he has a gift 👍
    Thank you Pieter!

  • @kennethhowell5291
    @kennethhowell5291 10 лет назад +100

    Thank you! After 10 years of trying to understand nat, you have explained it clearly in 2 seconds. Thank you!

    • @CSEPracticals
      @CSEPracticals 6 лет назад

      but where does that port no came from ?

    • @hieunt0204
      @hieunt0204 6 лет назад +3

      It's provided randomly by your router and pc

    • @TheIminator25
      @TheIminator25 6 лет назад +2

      10 min*

    • @FingerThatO
      @FingerThatO 5 лет назад

      @@hieunt0204 do the ports change or are they static per device?

    • @nikhilpatil5615
      @nikhilpatil5615 5 лет назад +1

      No some ports are reserved for particular use but u can specify particular port for your use

  • @БориславБорисов-я2ы
    @БориславБорисов-я2ы 5 лет назад +47

    So clearly! As said Einstein:
    “If you can't explain it to a six year old, you don't understand it yourself.”
    Thank you!

  • @michaelstyler1606
    @michaelstyler1606 8 лет назад +12

    Pieter, you have a gift for teaching. Please consider making more videos. I've been learning CompTIA Network+ Objectives for the exam and am brand new to networking, and your teaching style and presentation is perfect. The visuals are super high quality and helpful. Thanks for doing what you do. Your materials are some of the best on the internet.... but you need more videos! Lol

  • @AP-eh6gr
    @AP-eh6gr 8 лет назад +664

    at 1.25x, your video is perfect

  • @hiteshgarg649
    @hiteshgarg649 9 лет назад +89

    Hi !
    your videos are awesome. but why are you not making more videos related to computer networking?
    please upload more videos. these videos are very interesting.

  • @bsummer
    @bsummer Год назад +2

    I came back here because of aws natgateway . Your vid always clears doubts. Thanks for this.. Appreciate

  • @Benjamin-bf8fo
    @Benjamin-bf8fo 8 лет назад +3

    Your videos are life savers! I'm in the middle of studying for my exam on networking and the officiall university slides use so much technobabble that it's hard to grasp the underlying concepts.
    Also these videos are exceptionally well structured and your voice is very clear.
    Thanks a lot for doing this!

  • @luisalduucin
    @luisalduucin 10 лет назад +1

    Amazing ... you only can explain something when you understand it. This video proves that you understand it very well . Thanks

  • @kidtury
    @kidtury 10 лет назад +6

    Really straightforward and easy to understand. One of the best tech explanation videos out there. We need more.

  • @4949smiley
    @4949smiley 10 лет назад

    I came through NAT but I never was able to understand the clear picture of WHAT and HOW it works. You explained bit by bit. Simple and easy. Thanks :)

  • @sayandiproychowdhury7767
    @sayandiproychowdhury7767 9 лет назад +11

    i havent seen any better explanation before...pls pls pls make more videos on networking... network is fun

  • @bammoore8593
    @bammoore8593 10 лет назад +23

    Finally someone knows how to keep it simple!

  • @DiaborMagics
    @DiaborMagics 8 лет назад +1

    This video is pure GOLD! Thank you so much! You explained this about 4.2 billion times more clearly than my professor!

  • @seetsamolapo5600
    @seetsamolapo5600 Год назад

    Please make more videos. This was hands down the best explanation for NAT
    Don't mind me just making myself some notes here:
    -There are more people available who even use more devices than there are IPv4 addresses
    -Local machines in a local network are all connected to a router, which is in turn connected to the internet - external public networks
    - To reach a public server, the packet from a local private IP has to go through the home/local router. Then through the internet - multiple routes. Then finally the webserver.
    - The home router changes the packet private IP source address into its own public IP address
    - The home router also creates a NAT forwarding table which helps with return packets to know which packets go to which host in the local network by mapping host's private addresses to reserved public addresses in it
    - The web server creates a response packet with it's destination as a the home router which is a public IP
    - At the home router the packet's destination IP address is changed to the corresponding/matching local private IP address on the NAT forwarding table. Then the packet will be forwarded to the local host

  • @alecdoazan2771
    @alecdoazan2771 8 лет назад

    This is the best video series on the web for understanding internet networking. I personally suck at it, and now I feel like I could explain all of it to other! Brilliant!

  • @rafikhandoker9802
    @rafikhandoker9802 5 лет назад +23

    even in 2019 this is helpful

  • @jasonscalzo9597
    @jasonscalzo9597 4 года назад

    I've been having trouble understanding NAT and your video is what did it for me, thanks a lot! I had trouble realizing that private IP addresses can be reused on different networks, something I kind of already knew, and understanding how the router knows which device to send the packets to. You explained it wonderfully

  • @reactorscience
    @reactorscience 6 лет назад

    only 6 video on the channel and 54k subscribers, that kind of tells you the quality of the content. It is super amazing.

  • @irfan_antennas
    @irfan_antennas 4 года назад

    Your video did my assignment of Avionics Engineering in 2020 . Thanks keep rising and shining.

  • @Exodiq
    @Exodiq 6 лет назад

    watched like 50 videos that explain the internet and that was the only one that really helped . Thanks alot!

  • @LynFantast
    @LynFantast 11 лет назад

    I was disappointed to click on your channel and see that you had no more videos. This one was of great help, I hope you make more!

  • @Spaniards56
    @Spaniards56 3 года назад

    Thanks a lot for your explanation! Please do not stop sharing your knowledge. This is needed by people who, like me, are trying to learn these concepts.

  • @RaghunandanChakravarthy
    @RaghunandanChakravarthy 7 лет назад

    The concepts have been articulated very eloquently. Please make more videos like this and share your knowledge with us.

  • @priyankananwani8595
    @priyankananwani8595 6 лет назад +1

    Your illustrations are excellent. :) Please create more such videos especially around networking, how internet works, the different types of protocols - their history, advantages and disadvantages, and so on, thanks.

  • @LakshmipathiG
    @LakshmipathiG 7 лет назад

    Honestly, this channel deserve at-least half-a million (not 40k) subscribers. Thank you for your time and effort.

  • @PieterExplainsTech
    @PieterExplainsTech  11 лет назад +4

    Thanks! As far as the subtitles are concerned, they're generated automatically by RUclips and their accuracy varies.

  • @prafullavishwakarma2256
    @prafullavishwakarma2256 10 лет назад +1

    What would I do without you Pieter. So amazingly explained , I was gonna leave this topic for my exam . Thanks to you :)

  • @maryjohn3397
    @maryjohn3397 7 лет назад

    I have taken a full course in networking in India and haven't get to know how NAT works.But this video helped me to understand this concept.Great video.Keep this up Pieter.

  • @arontigerful
    @arontigerful 5 лет назад

    You make NAT so simple to understand, thank you! I was always have a question inside my head what is the function of NAT, after I see this video it become so clear to me what is the importance of NAT. I expect more video about networking from you

  • @johnconnor9787
    @johnconnor9787 5 лет назад

    The one who explains this material, the one who created this video presentation is a genious))) I watched tones of videos, read a lot of materials related to this topic, but nobody could explain it so clearly. You have a talent)) Please, start making new videos again. See, you have just 5 or 6 videos, but you have 54K subscribers. I believe that you are able to reach million in a short period. Thank you very much. You are the best

  • @jtigsi
    @jtigsi 6 лет назад

    Thank you so much. NAT was confusing at first and explained it in simple terms in this video. Helped a lot for writing about NAT and how it is used.

  • @exotool
    @exotool 10 лет назад +125

    This video is just missing "Hi, everybody!".

  • @johnconnor9787
    @johnconnor9787 5 лет назад

    This video is the best. Guys, you make the content of a very high quality. Your way of explanation is brilliant. But it seems like you stopped making videos and that is a sad story. Thank you! Please continue making your videos, we need this)))

  • @adrielomalley
    @adrielomalley 3 месяца назад

    Watched a BBC documentary "The Joy of Data" from 2016. It explained things amazingly.

  • @samantkumar7200
    @samantkumar7200 8 лет назад

    thanks a lot sir , i have my computer network exams tomorrow and i gained a lot of knowledge by watching few videos ,
    keep up the good work ...

  • @leojacquemin2037
    @leojacquemin2037 7 лет назад

    Seen half a vid only and already subscribed. Speaks for itself.

  • @nblandfriends
    @nblandfriends 7 лет назад

    Great video! Stumbled across this while I was researching CIDR block addressing.

  • @upasananigam
    @upasananigam 9 лет назад +21

    Good video but it is missing one thing;
    It says the reserved private IP ranges are 192.168.0.0 and 10.0.0.0, well there’s another one: 172.16.0.0 but unlike the other 2 which go to 192.168.255.255 and 10.255.255.255 respectively, the 172 range goes to 172.31.255.255

    • @Sarriman13
      @Sarriman13 5 лет назад

      That's what i was about to comment

    • @PieterExplainsTech
      @PieterExplainsTech  5 лет назад +6

      It's in there at 03:20 as a footnote in the bottom right corner of the video, it's just not very visible. When I originally made it, I didn't realize the video player controls would be covering up the note 😉
      Hopefully people will take notice because of your comment!

    • @muruganandamm6685
      @muruganandamm6685 5 лет назад

      @@PieterExplainsTech I have noted it

  • @emonmahbub969
    @emonmahbub969 4 года назад

    it is October of 2020, after 8 years of uploading this video I have to say it was a great job

  • @mrkaa001
    @mrkaa001 11 лет назад +3

    Thank you very much!! I wonder why some lecturers cant explain as clearly as you.

  • @logancarvalho
    @logancarvalho 10 лет назад

    I am so impressed about the quality of your videos that I want to cry. Congratulations, this work is wonderful, your explanation is excellent and your english is perfect.

  • @dimasdark
    @dimasdark 8 лет назад +1

    Omg the best teaching lessons I've ever got! You explain the concepts like magic, and I've already have classes with 3 network professors, and they were not as clear as you. I hope you make more videos =(

  • @SaadJameelAlrawi
    @SaadJameelAlrawi 4 года назад

    Man, the way you speak is amazing. Thank you very much.

  • @mohamad.baalbaki
    @mohamad.baalbaki 6 лет назад

    Man you just made me understand what the hell is the difference between public and private ips, thanks!

  • @nightwingx6
    @nightwingx6 10 лет назад +4

    You make fantastic videos that are clear, make sense visually, and hold true to the theory. THANK YOU!!!

  • @mathimagery
    @mathimagery 9 лет назад

    The video was awesome. You correct this- there are three reserved ranges of IPs not two, and these are: 1) 10.x.x.x.x 2) 192.168.x.x 3) 172.16.x.x

  • @ashish2614
    @ashish2614 6 лет назад

    PLEASE, MAKE MORE VIDEOS ON THESE KIND OF TOPIC. IT'S VERY EASY TO UNDERSTAND AFTER WATCHING YOUR VIDEOS.

  • @OfficiallyOrca
    @OfficiallyOrca 5 лет назад

    I would like to see ur explanation of Subnetting. Everything else you touch is golden I'm completely new to this field switching careers and ur videos is pretty good

  • @jishadpeevees9510
    @jishadpeevees9510 6 лет назад

    I was looking for such a simple video to understand NAT and its use.

  • @password7157
    @password7157 6 лет назад

    Well, this video dumbs the complexity of the basic functions of personal/public ip addresses down enough that along with the simple animations it can be understood by anyone who has any idea what an ip address is. Thank you for the videos, haters are going to hate no matter what, so keep up the good work

  • @nealdavidson3715
    @nealdavidson3715 3 года назад

    Man I been looking for a clear cut explanation. Thank you !

  • @vivekshivhare8820
    @vivekshivhare8820 4 года назад

    I just love the way you teach, clear and crisp, thank you so much.

  • @525RSRPmovies
    @525RSRPmovies 8 лет назад

    Would like to see more videos published by you on networking. Very helpful. Thank you.

  • @ana-mariacotilici4158
    @ana-mariacotilici4158 6 лет назад

    Your channel is amazing, you make these things very easy to understand, thank you!

  • @elegantuser1090
    @elegantuser1090 7 лет назад

    It's to the point that i was looking for. Literally, I was hungry, you helped me to grab more than what I consume usually, lol. Thank you.

  • @aakashkhatavkar2584
    @aakashkhatavkar2584 8 лет назад

    Very good video!!! Which software have you used for editing??

  • @babisuper85
    @babisuper85 9 лет назад

    Pieter, thank you.This helps me a lot.
    I'm entering new position and required me know the high level of IP Network.
    Your video is just amazingly easy to understand. Keep posting please.

  • @BrightBitGAMES
    @BrightBitGAMES 10 лет назад +10

    What happens when John's Laptop and Jane's Laptop are both trying to send request packages to the same webserver? How does the router determine where each response belongs to? In this case the NAT Forwarding Table would have two entries where each entry has the same "public side" info.

    • @sebimoe
      @sebimoe 10 лет назад +34

      Usually the local port is not the same, but let's assume it actually is, it still would work. Let's say we have:
      - Ann's computer (A) with local IP 192.168.0.2
      - Bob's laptop (B) with local IP 192.168.0.3
      - Router with local IP 192.168.0.1 and public IP 88.88.88.88
      - Remote server with IP 33.33.33.33
      Ann sends out packet [192.168.0.2:12345 -> 33.33.33.33:80], the router changes it to [88.88.88.88:50001 -> 33.33.33.33:80]
      Bob sends out packet [192.168.0.3:12345 -> 33.33.33.33:80], the router changes it to [88.88.88.88:50002 -> 33.33.33.33:80]
      Now, the NAT Forwarding Table looks like this:
      Local Socket < - > Public Socket
      192.168.0.2:12345 88.88.88.88:50001
      192.168.0.3:12345 88.88.88.88:50002
      Now, when the server responds to 88.88.88.88:50002, the router will know, because of the 50002 port, that it should be translated to port 12345 and sent to 192.168.0.3
      I hope I didn't overcomplicate stuff :s

    • @BrightBitGAMES
      @BrightBitGAMES 10 лет назад +5

      Sebastian Grygiel Ah, so the port is also stored and there is a different port for every PC connected to the router. I see now. Thank you very much!

    • @staph95
      @staph95 9 лет назад +2

      Sebastian Grygiel Thank you for the answer! it's clear and simple!!

  • @grishamcrime
    @grishamcrime 6 лет назад

    Great presentation and analogy. Straight to the point and well explained. I like it.

  • @oweibor
    @oweibor 6 лет назад

    best NAT Network and IPv4/v6 Explanation ever! Love you man!

  • @debanandasagarsahu7647
    @debanandasagarsahu7647 6 лет назад

    Hey I am a CCNA certified. I just felt like checking out some videos. And yes I found the best.

  • @shyamsundersamudrala5314
    @shyamsundersamudrala5314 7 лет назад

    Wonderful explanation! Simple and crisp.

  • @miloblue6740
    @miloblue6740 8 лет назад

    One of the best explained videos i have ever seen.....thumbs up!

  • @mohammadhaque6404
    @mohammadhaque6404 7 лет назад

    Awesome:
    Hope you are doing great!!
    Come back man. We guys are waiting for you.
    You have the capability to make the things very easy.

  • @stspringer2003
    @stspringer2003 9 лет назад +4

    Man, You are a great teacher. Very clear and understandable. Thanks

  • @vikashegde715
    @vikashegde715 9 лет назад

    very nice explanation. simple to consume. this is how networking classes should be.... more of such videos neccessary

  • @SamoZain
    @SamoZain 7 лет назад

    you are amazing. I've never understood how it's worked until I saw that video. thanks man

  • @realtebo
    @realtebo 3 года назад

    Absolutely best video on NAT for entry-level as me

  • @raymartin1687
    @raymartin1687 6 лет назад

    NAT address translation very well explained! Thank you. I went to several other sites but none handled it as well. The animation was key as was the illustration of the IP addresses and the specific port numbers

  • @sreenathsomarajapuram346
    @sreenathsomarajapuram346 6 лет назад

    The best explanation of NAT on RUclips.

  • @boogabooga223
    @boogabooga223 7 лет назад

    one of the best videos ive seen on youtube. so well explained.

  • @techtutorish
    @techtutorish 10 лет назад +2

    Great stuff! I would really like to know how you made the video - e.g. was it using a presentation software? If so, which one and how did you record it? I really love the minimalistic style of the icons, where did you get them? How long did it take to prepare the presentation and create the video? I create videos about tech and would love to try making something similar like this. Thanks!

    • @PieterExplainsTech
      @PieterExplainsTech  10 лет назад +5

      Thanks! All my videos are based off of plain old PowerPoint slides, even though my latest work hopefully looks a bit more polished. I record, edit and enhance the voiceover track using Reaper. I put the whole thing together in Premiere Elements. Here's a longer (but outdated) description of my process: www.pieterdedecker.be/blog/taking-secondary-education-into-the-youtube-age/ My icon sources are listed in the end credits after each video. Producing a 10-minute video easily takes me over 25 working hours, but I've never timed it with a stopwatch or anything. Good luck creating your own stuff!

    • @toshalazarus
      @toshalazarus 7 лет назад

      PieterExplainsTech Reaper! cool, I am learning this ,, thanks for informative vids

  • @amritpalsingh3293
    @amritpalsingh3293 8 лет назад

    The best video that I have seen.
    Although consider myself a novice in netowrking, Still I got more than necessary information that was required.
    can you also make such a video on NAPT.
    Network address and port translation.

  • @sagarraut9455
    @sagarraut9455 9 лет назад

    Video has cleared the concept of NAT.
    i have seen your other videos too... it's really simple to understand

  • @prashanthkumar0
    @prashanthkumar0 3 года назад

    really awesome work...thera quite a few tutorials about networking available on you tube....
    this channel is amazing....
    want some fundamental understanding about networking so keep on making it...

  • @tiggreen
    @tiggreen 10 лет назад +1

    Great videos Pieter. Please keep posting more videos about networking. Would love to watch more videos about IP protocol stack.

  • @coolcoolcoolio95
    @coolcoolcoolio95 5 лет назад +3

    You are doing great and with good explanation i can easily understand. Can you add subneting like this. Thanks in advance.

  • @عبيرالدهيمي
    @عبيرالدهيمي 9 лет назад

    This so helpful especially for students.. Please don't stop making videos please 😢

  • @herozero2007
    @herozero2007 9 лет назад

    Excellent way of describing the concepts using diagrams/illustrations/animation. Great job done PieterExplainsTech. And also explained slowly. Thanks for providing this informative video :)

  • @tamilhce
    @tamilhce 10 лет назад

    simple and superb.One question.Suppose My host runs 20 application,so each will have seperate port number.So NAT has entry for each port+ip address or it will have only one entery for each host.

  • @marciodeazeredo
    @marciodeazeredo 10 лет назад

    hey dude awesome, what program do you use to make your videos? is is simple enough? ;) I liked the kind of animations u used...

  • @Gooseycoyne
    @Gooseycoyne 6 лет назад

    Absolutely brilliant video. So easy to understand. Made me understand NAT very clearly. Thank you

  • @MrCatatete
    @MrCatatete 7 лет назад

    Finally i found there is a NAT table ! I have known it is a association between public and privat ip but i didn't know how exactly. TY

  • @shanakaj007
    @shanakaj007 6 лет назад

    172.16 is also a prviate IP guess that's just a comment. It's a amazing work by you. 5/5 great work. easy to understand.

  • @PieterExplainsTech
    @PieterExplainsTech  11 лет назад

    Perhaps a water analogy is appropriate here. The main water pipe that comes in to your house has a maximum capacity. There is a limit to the number of liters that it can carry per minute. Whether you connect 1 or 5 appliances to the main pipe, its maximum throughput doesn't change and the appliances will have to share the capacity of the main pipe. So yes, if you have multiple computers on your network they're sharing the capacity of your incoming internet connection.

  • @pramodkadam22
    @pramodkadam22 6 лет назад

    pieter...Your video presentation was simple & easy to understand. You should come up with more techy videos. Thanks a lot!

  • @Flopper3939
    @Flopper3939 10 лет назад

    Thank you for explaining that so clear and well. But i wonder, what now if a server wants to contact a host, without getting a request from a host first, then there will be nothing in the nat table, and the router would not be able to foward the packet correctly... so how does it do that?

  • @ClaxxClaxx
    @ClaxxClaxx 10 лет назад

    This is what it's being called brilliant explanation! Thanks!

  • @rajeshs7477
    @rajeshs7477 7 лет назад

    Really a very good explanation. Even a beginner can easily understand it. Thank you Pieter.

  • @Zomboid999
    @Zomboid999 6 лет назад

    Best Explains on RUclips so far.. :)!

  • @ToanTran-ev8im
    @ToanTran-ev8im 6 лет назад

    Very helpful, details and comprehensive explaination, thanks alot.

  • @ajaytamang5957
    @ajaytamang5957 7 лет назад

    Pieter you are just awesome...Thanks for this video and your simplest explanation of such a complex tropics

  • @planetlumi4138
    @planetlumi4138 3 года назад

    Best voice in all of video explanations and so much less jargon.

  • @EddieSundvall
    @EddieSundvall 9 лет назад

    Exactly the explanation I was looking for, been wondering about this subject for some time. Very pedagogic script and images/animations. You deserve a subscription!

  • @NicoleMurray01
    @NicoleMurray01 8 лет назад

    Thank you Pieter. This was a very simple and clear explanations. I will be checking out more of your stuff. I hope to find more networking videos.

  • @Ari-118
    @Ari-118 6 лет назад

    Wow!!! What a great n brilliant video I've just watched. U r a professional, keep ur great work up. Just one problem, there are types of NAT n u should have introduced that also. I'm a guy who dive deeper in the subject.

  • @crazynatassa
    @crazynatassa 7 лет назад

    You have to make more videos. These are the best videos on youtube on networks. Keep up the good work.

  • @ravuthoum3626
    @ravuthoum3626 2 года назад

    Very Well Explained ! I love the complimentary animation.