Configuring Static NAT, Dynamic NAT and PAT, Packet Tracer v.7.2

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • www.youtube.co....
    Download Packet Tracer source files:
    drive.google.c...
    download the lab walk through:
    drive.google.c...
    Today’s video is about NAT ( Network Address Translation).
    NAT in which a private IP address is mapped to a public IP address, where the public address is always the same IP address.
    Static NAT creates a fixed translation of private addresses to public addresses, the main difference between dynamic NAT and Static NAT is that the static NAT allows a remote host to initiate a connection to a translated host if an access list exists that allows it, while dynamic NAT does not.
    Dynamic network address translation Dynamic NAT is a technique in which multiple public internet protocol (IP) addresses are mapped and used with an internal private IP address.
    Now
    We want to configure a static NAT to the PC-1 of 192.168.1.2 so it can reach the servers on the internet.
    On Router1
    int s0/0/0
    ip nat outside
    int g0/0
    ip nat inside.
    ip nat inside source static 192.168.1.2 10.1.1.11
    Run this command:
    show ip nat translations
    Now, ping the server.
    ping 8.8.8.8
    Now we will configure dynamic NAT on the Router, to allow the network of 192.168.2.0 to access the internet.
    Let us ping the default gateway.
    ping 192.168.2.1
    Let us run a ping from a PC to the DNS server.
    ping 8.8.8.8
    Let us configure dynamic NAT on the Router.
    int s0/0/0
    ip nat outside
    int g0/0
    ip nat inside
    Now configuring an access list for the network
    access-list 1 permit 192.168.2.0 0.0.0.255
    ip nat pool NAT 10.1.1.5 10.1.1.10 netmask 255.255.255.0
    ip nat inside source list 1 pool NAT
    Now, let us create NAT overloading or PAT.
    Here we will have these two PCs to be nated to the IP address of the router.
    On Router1
    int s0/0/0
    ip nat outside
    int g0/0
    ip nat inside
    ip nat inside source list 1 interface s0/0/0 overload
    access-list 1 permit 192.168.1.0 0.0.0.255
    Let us enable telnet on Router2
    line vty 0 4
    login
    password cisco
    enable password cisco
    Let us telnet to the router from one of the PCs.
    Then run the command :
    show ip nat translations.

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

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

    Thanks Saleh. Much appreciated - just left for us to practice. Its never in vain

  • @mh63111
    @mh63111 2 года назад +1

    You made it very easy for me, many thanks..!!

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

    Thank you so much, best video on this topic

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

    really good

  • @ss-vp3vq
    @ss-vp3vq 16 дней назад

    Where is the part that you did routing? This will not work without routing.

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

    Hi Sales,
    It would be great to have in the list "download the lab walk through:" the previous configurations of the network. I am just a beginner and I'm struggling to understand how R2 is making the translations of the servers from private IPs to public because we have only one public address and 3 devices in the private network.
    Thank you for your time and good explanations.

  • @muhammadumair2062
    @muhammadumair2062 3 года назад +1

    what to give in "source static private IP" if DHCP is enabled on private network. If I give current IP, then it will be changed later because it is getting from DHCP server present in the same private n/w

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

    Good day Saleh, why don't use "enable secret" rather "enable password"?

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

      Enable secret is better and more secure.

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

    Sir can you make cli it black