How to configure NAT and PAT in Packet Tracer

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
all right everybody welcome back in in this lecture we're actually going to start talking about that all right network address translation and specifically we're going to talk about how to configure a static net on one of our routers here and I name a Matt on the other one but as you can see here it's also called pad because we're going to be using that overload and yes you know how cisco loves their acronyms or synonyms whatever you call those things but it's something we have to deal with also a follow log in your IC and d1 100 - 105 official certification guide through Cisco they do a fantastic job at representing and explaining it NAT ok all the terms that you need to know it's an important topic going into your C sent your icnd1 exam you could be expected to need to know how to configure and be asked how to troubleshoot net okay and again our topology looks very similar to this but I deliberately changed it around so if you are following in the book you're not going to overlap with this course so you're getting a little bit of variety and another important thing is make sure you open up my book to chapter 27 if you don't know subnetting you need to take my subnetting course it's awesome a lot of good feedback from a lot of great reviews but we are implementing access control lists which if you don't know subnetting it could really start messing with your head and you will be thrown off and really confused moving forward so I strongly encourage you to take that course as well this link will provide you with a special discount since you are taking this course ok so let's go ahead and begin I'm going to go ahead and setup the devices I'm going to fast forward it so just follow along and then I will come back to you guys when we actually start configuring at the devices [Music] alright welcome back guys now I did that deliberately because I know you guys already know how to configure all these and user devices pretty quickly so I don't want to spend too much time on it anyway let's go ahead and set up static Matt on our service provider okay now there's going to be a few things in here you may or may not have seen yet okay so we are going to go ahead and configure that first thing we need to is set up a default route okay so IP route zero two zero two zero two zero zero two zero two zero two zero and a serial zero 3 is zero this is saying any device that is communicating from this network into the router the router does not know how to route that information just go ahead and forward it out its interface give that responsibility to the next router ok the next hop ok so that's as simple as that gets now we need to configure the interfaces so interface FA 0 0 whoops interface FA 0/0 we're going to do IP address 10.0.0.0 right 255 0 0 0 we need to do a IP NAT inside because it is our private network for the server essentially ok and we need to do a no shutdown when you turn that baby on let's do interface serial 0 3 0 IP address to 2110 dot 0 dot 1 to 5 5 to 5 5 to 5 5.25 2 and we need to do a clock rate because this is our DC Eastside rate 64,000 yes slow but it's only a lab we don't care we also need to see IP net outside because that is our outside address write a public address then we also need to say new shutdown ok let's go ahead and exit this and now let's go ahead and actually configure static NAT to do that I'll just say I P naught is the initial command we're going inside because that's the address we are converting right translating from our public to the inside address and then we need to say source will be static and then we need to say ok to reach 1000 to 10 you're going to translate it to the 220 that 110 that 0.1 address which again is our so go back up here that's our serial interface okay so badda-bing badda-boom we are golden on that one okay so let's just go ahead and edit this let's go ahead and do a I'm sorry copy RS which is running startup config just to save our configurations to NVRAM go ahead and close that out let's go to the customer edge router and set up our dynamic NAT which is our Pat okay not overload so again we got to do a couple things here saying no enable config T we need to setup our IP default route which is 0 to 0 - 0 to 0 0 to 0 that's 0 to 0 0 0 3 0 C I use the same interfaces to make a nice and simple right IP interface interface fa 0 0 is going to be 1 9 - I P address 192.168.1.1 - 5 to +5 - to 5.0 we got my decimal so let's just go ahead and put him in here and then we need to do I pee in that inside then we're going to do no shutdown we need to do interface serial 0 3 0 we need to do IP in that outside we do not need to set a clock rate because this is our DTE side but we do need to say no shutdown and we need to also IP address that baby so IP address 220 that one 10 0.2 and let's try that again that 2 255.255.255.0 5 2 and we are golden let me just know shut just to be safe okay so let's go ahead and a get that now we need to set up what's called an access list okay you're actually control list these are essentially like creating a firewall you could implement firewall configurations on a router but the problem is we don't like to do that too much or you usually like to keep the ACLs lower on the routers and specifically designee our walls to act as firewalls okay but essentially if we say you know let's type in an access list here and I question mark you see we are giving it a number so then we need to say ok deny permit or remark basically exactly what your firewalls do we will go into this a lot more in the icnd2 course but just to be familiar with it now this is where the adjusting comes in ok so we're going to say permit and this is where you need to know Network bits are ones and host bits are zeros but since we are using the anding method for subnetting we are using what we call wild card masters are basically reversed okay it's true and true true and false false and false and a bunch of different algorithms that the and method okay the and algorithm whatever so that's for another topic another day one 92168 that one that 0 and then 0 that 0 to 0.25 5 again taking those Network host bits that are usually ones and flipping them to zeros which gave us a reverse subnet mask right there that one was an easy example that's why I use it now we need to say IP not inside a source list okay now remember before here I use static well I'm using lists now because we have an access with setup and that's access list one so we're going to now say okay well what's the interface like we did before it's going to be serial zero three zero and this is the one command everybody forgets okay and I don't know why it's pretty straightforward but whenever somebody emails me or asked me what's going on with this specific kind of configuration I always notice they forget this command so don't forget overload that is setting up hat NAT overload cap so that should be good for this let's go ahead and do copy RS which will save to NVRAM and we could go ahead and go back to privilege mode and we could actually say ping 220 that 110 that 0.1 and we should get a reply and there we go so if I go ahead and take this server and ping at this computer which the address for this computer again is one can write so I'm just going to take this command-line interface and that we are just going to go ping and I want you to take a look at something you know sending it's broadcast out so I takes a minute to come back so we'll just have to go to the second here alright look what I pinned look what address I tried to reach but look what replied back this is not you are experiencing the glory nough subnet okay it is saying you cannot access this address to reach this address you need to use the public address okay this is the publicly available address for this network it's that awesome guys that is very cool very interesting and it's important to understand going into the industry of the you know entry-level technician or even if you head up to CCNA level it's very important to understand that okay so hopefully you learned a lot from this lecture you were able to see two different ways to configure not statically and dynamically and I'll see you in the next one
Info
Channel: LearnTech Training
Views: 51,249
Rating: undefined out of 5
Keywords: Configure PAT in Packet Tracer, Configure NAT in Packet Tracer, Cisco, NAT, PAT, Configure NAT on Cisco, router, network, Configure NAT in Cisco Packet Tracer, port address translation, Network Address Translation, rfc 1918, CCNA, CCNP, CCIE, certification, Free, Training, School, bootcamp, easy, teaching, learning, engineer, vlsm, ip, routing, switching, vlans
Id: hGyNiveOlUs
Channel Id: undefined
Length: 8min 22sec (502 seconds)
Published: Sat Mar 04 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.