Dynamic NAT - Network Address Translation

Sdílet
Vložit
  • čas přidán 2. 06. 2024
  • Dynamic NAT is a type of translation that allows many internal hosts to share fewer external IP addresses. Typically in today's world, a true Dynamic NAT is very rarely used. However... Dynamic NAT is often confused with a Dynamic PAT -- which is used very commonly.
    The critical difference between a Dynamic NAT and a Dynamic PAT is with a Dynamic NAT, the IP address can only be used by one internal host at a time... where as with a Dynamic PAT, the IP address can be shared among many internal hosts at a time.
    📌 Full NAT Playlist:
    • Network Address Transl...
    📌 Learn to configure / verify / troubleshoot NAT on Cisco Routers:
    classes.pracnet.net/courses/n...
    📌 Learn to configure / verify / troubleshoot NAT on Cisco ASA, ASAx, and Firepower Firewalls:
    classes.pracnet.net/courses/n...
    📌 Want to learn Networking?
    • Networking Fundamentals
    📌 Want to learn Subnetting?
    • Subnetting Mastery
    📌 Studying for the CCNA?
    www.practicalnetworking.net/i...
    00:00 - Dynamic NAT definition
    01:01 - Dynamic NAT Illustration & Configuration
    01:35 - Dynamic NAT Packet Flow
    04:15 - Dynamic NAT is Bidirectional
    05:04 - File Transfer Protocol -- Active FTP vs Passive FTP
    07:30 - Lazy Static NAT
    08:58 - Disadvantages of Dynamic NAT
    10:22 - Summary + Dynamic NAT vs Dynamic PAT
    #dynamicnat #pat #nat #rfc1918 #ip-address #cisco #juniper #ccna #net+ #dynamicpat
  • Věda a technologie

Komentáře • 37

  • @PracticalNetworking
    @PracticalNetworking  Před rokem +1

    👉 *Want more?* Watch the rest of the NAT Series: czcams.com/play/PLIFyRwBY_4bQ7tJvbLA9A0v8Fq9l-H923.html
    🐦 *Enjoy this content?* Help me out with a like and/or Retweet: twitter.com/ed_pracnet/status/1513944439625977858
    📌 *Want to learn Subnetting?* --> czcams.com/play/PLIFyRwBY_4bQUE4IB5c4VPRyDoLgOdExE.html
    🖧 *Want to learn Computer Networking?* --> czcams.com/video/bj-Yfakjllc/video.html

    • @sds.gaming738
      @sds.gaming738 Před rokem

      DearSir,
      I have a question regarding the example you mentioned for FTP.You explained how DNAT can be a bidirectional while being active.
      My question is Can't that be the case in DPAT as well?
      Because if the connection is active,the port translated by the DPAT will remain the same, and the server can see the translated port and initiate a data channel.
      Kindly clear my confusion.
      And I have been following you for the last couple of weeks(found you anonymously).I love your content, the way you explain every tiny detail is amazing.I wish you were available to me in my university.
      Thanks a lot for such amazing content ❤

  • @rotrose7531
    @rotrose7531 Před rokem +5

    Your channel provides the best, most easy to understand networking content to all of us. I can not say enough thanks.

  • @shujauttali2608
    @shujauttali2608 Před rokem +1

    This feels like an offline class 👍👍👍

  • @moonlightknight6877
    @moonlightknight6877 Před 10 měsíci +1

    Thank you for creating such amazing videos. Your videos have been a lifesaver for me. I was not understanding NAT vs PAT until I watched this series.

  • @VideosfromElle
    @VideosfromElle Před 2 lety +4

    Just such a great, consistent, valuable delivery!

  • @Demopanz
    @Demopanz Před 3 měsíci

    Terrific video to help explain what i am reading in my network+ book. Thanks for having this sort of stuff easily available

  • @justsomebody14
    @justsomebody14 Před 7 měsíci +1

    Thanks so much for your work! It helps me so much! You're the best channel on network topic i ever saw!

  • @simonsays5569
    @simonsays5569 Před 2 lety +2

    Waiting for the complete networking course !! Great content as always !

  • @asish4ever
    @asish4ever Před 6 dny

    Nice session, thank you

  • @nickjurkovic6831
    @nickjurkovic6831 Před rokem +1

    Amazing, this is actually fun to watch :)

  • @ssh-dev
    @ssh-dev Před 10 měsíci +2

    Great content 👍

  • @fuzzyball2132
    @fuzzyball2132 Před 2 lety +2

    Great content and effort!!!

  • @IliyaDamyanov
    @IliyaDamyanov Před 8 měsíci

    Nice video.

  • @ratnahnavar5717
    @ratnahnavar5717 Před 2 lety +3

    Superb

  • @jnyfah
    @jnyfah Před 2 lety +1

    I enjoyed this

  • @skalmelid
    @skalmelid Před 2 lety +1

    In your ftp example. At 5:47 when opening the second channel, did you actually mean a different random port than the control channel is using? You called them both R.

  • @aaronnikels5706
    @aaronnikels5706 Před rokem +2

    Hi, thanks for the fantastic content! I have a question about FTP I was hoping you could answer...
    Why does FTP initiate a new connection over port 20? Why not just respond with the data over port 21? Why make this entirely new connection if you can just use the same channel? Also, even if FTP uses port 21 anyways, why not address the packet to the same temporary port that the request was received from? If Active FTP cannot work with dynamic PAT, then that means it is attempting to send data to a new port on the local host, otherwise if it was sent to the same port that initiated the connection on the router's public IP, the router should be able to locate the entry on its routing table and translate it. Why not just use the same port that the request was sent from over port 21 on the control channel? I know Active FTP is legacy, but it sounded like passive FTP had the client initiating both connections, and I just don't see why the server couldn't just respond with the data either over the same port or just send the data from a different port (i.e. port 20) to the same port the client requested it from, that way the client wouldn't be initiating new connections and it would just be a lot more consistent
    Either way, great video! Your explanations are always very clear and easy to understand

    • @PracticalNetworking
      @PracticalNetworking  Před rokem +3

      Glad you enjoyed them.
      FTP was created before NAT took over the world, so the "flaw" of Active FTP not working through Dynamic PAT was less relevant.
      As for why not use the same channel, remember bandwidth was very limited back then. The idea of a separate "data" channel was you could use the control channel to start a download for three files, and it would create three separate data channels for the actual data transfer. This way your "control" channel wasn't stuck waiting on the file to finish transferring before you could send more "control" commands (requests/uploads/etc).
      Hope that answers your question. If not, feel free to continue the discussion on Discord: pracnet.net/discord
      Otherwise ... Could you do me a favor? Do you mind sharing this video on Linked In, Reddit, Twitter, Facebook, or any other social media you use? As an independent creator, that would be an _enormous_ help, and I would appreciate it _greatly_ .

    • @aaronnikels5706
      @aaronnikels5706 Před rokem +3

      @@PracticalNetworking Sure thing. Also, I've already recommended your channel to a few of my friends. I think your packet traveling video is the best!

    • @PracticalNetworking
      @PracticalNetworking  Před rokem

      @@aaronnikels5706 Thank you, Aaron. I appreciate your support.
      PS, there was a question on my discord related to this and FTP's control vs data channel... was that you? If not, you might enjoy skimming the Q & A.

  • @rafay1708
    @rafay1708 Před 2 lety +1

    Thanks 👍

  • @fajarhariadi4291
    @fajarhariadi4291 Před 2 lety +1

    how can the router have multiple public ip address? do each ip have their own port and cable to the public, or using sub-interface? and did they need to be in the same subnet, or it can be done with different subnet of public ip address?

    • @PracticalNetworking
      @PracticalNetworking  Před 2 lety

      Routers can be assigned multiple addresses from either the Interface subnet or another subnet. If it's another Subnet, a route will have to be added on the upstream router. Some details here:
      www.practicalnetworking.net/series/arp/proxy-arp/

    • @fajarhariadi4291
      @fajarhariadi4291 Před 2 lety

      @@PracticalNetworking thank you very much, this is help me so much to understand much more in networking

    • @MegaZeks
      @MegaZeks Před 7 měsíci

      Sorry I still dont' understand it. I thought only 1 public IP address is provided by ISP per router. That is why from every device from local network that is connected to the router, when I type in browser "what is my IP" I get the same public IP. How can there be more of them per 1 router?

  • @johnnydepp2090
    @johnnydepp2090 Před 2 lety +1

    Have a complete networking course please

    • @PracticalNetworking
      @PracticalNetworking  Před 2 lety +1

      Hi Johnny. Loved you in Pirates of the Caribbean! ;) I published some Networking videos here:
      czcams.com/play/PLIFyRwBY_4bRLmKfP1KnZA6rZbRHtxmXi.html