Book now with code EOY2025
nbeacham wrote: » I'm not an expert by any means and am still studying myself, but try setting nat to overload. so change ip nat inside source list 1 pool natest to ip nat inside source list 1 pool natest overload
solnsusie wrote: » hi im studying now NAT, and i have a problem which i just cant figure it out, i configured dynamic NAT with an access list and when i pingthe host on which i configured NAT from the router i see that its using the NAT address, but i cant ping other hosts from that host on which i configured NAT, this is my configuration interface FastEthernet0/0.2 encapsulation dot1Q 2 ip address 192.168.1.1 255.255.255.248 ip nat inside ! interface FastEthernet0/0.3 encapsulation dot1Q 3 ip address 192.168.1.9 255.255.255.248 ip nat inside ! interface Serial1/0 ip address 10.1.1.1 255.255.255.252 ip nat outside clock rate 800000ip nat pool natest 50.2.2.1 50.2.2.10 netmask 255.255.255.240ip nat inside source list 1 pool natest access-list 1 permit host 192.168.1.4 access-list 1 permit host 192.168.1.14 please get me on track!!!! thnaks
MrRyte wrote: » Maybe I'm missing something, but I don't see how that comes into play in the network. Shouldn't the addresses being translated be within the subnet of the inside and outside interfaces being translated? Also; do a traceroute to see EXACTLY where the hang up is. (BTW-I'm no pro at this either; I'm just going by what I gathered from here:http://www.routeralley.com/ra/docs/nat.pdf )
nbeacham wrote: » try setting up the access list differently access-list 1 permit host 192.168.1.0 0.0.0.255 Again, i'm no expert so take these in stride.
drkat wrote: » is the 50.2.2.1/28 even assigned to an interface? You need to NAT behind an interface so if 50.2.2.1 isn't assigned to an interface you're going no where.
drkat wrote: » Can you please post your pings and traces? also a show ip int br would be nice and a show ip route - you may want to debug ip nat or debug ip packet detail on your ACL so that you can see what is happening when you try to ping.
deth1k wrote: » The clue is in the subnet mask of your NAT pool: ip nat pool natest 50.2.2.1 50.2.2.10 netmask 255.255.255.240 <<<<<<<<<<<<<<</28 ip address 50.2.2.1 255.255.255.252 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<</30 In this instance you should be using overload otherwise it aint going to work. ip nat inside source list 1 interface se1/0 overload ! access-list 1 permit 192.168.0.0 0.0.255.255 ! int se1/0 ip nat out ! int fa0/0.2 ip nat in ! int fa0/0.3 ! ip nat in
Pro Inside global Inside local Outside local Outside globalicmp 50.2.2.1:33 192.168.1.4:33 192.168.2.4:33 192.168.2.4:33icmp 50.2.2.1:34 192.168.1.4:34 192.168.2.4:34 192.168.2.4:34icmp 50.2.2.1:35 192.168.1.4:35 192.168.2.4:35 192.168.2.4:35icmp 50.2.2.1:36 192.168.1.4:36 192.168.2.4:36 192.168.2.4:36
hiddenknight821 wrote: » I believe you are incorrect. Those two things doesn't necessarily have the same subnet mask. As long as the number of Inside Local (Individual Hosts) are less than or equal to the number of Inside Global (number of "registered" addresses), Dynamic NAT can work without overloading. EDIT: I want to go into more details on this just to be more clear. What I meant is that you can obtain 14 registered addresses from a service provider. Let's say 50.2.2.0 network with subnet mask, 255.255.255.240. You can subnet this network even further using VLSM, and leave the two addresses for serial connection between two routers. However, I do not know how service provider works, so I can be wrong about how their process works, but I hope my point came through.
hiddenknight821 wrote: » Believe it or not, I just finished the NAT stuff today, and I now have a solid understanding. I plan to take the ICND2 next week. Judging by your running-config on your router, Router1-2, I have to say your network is pretty foreign to my knowledge. I plan to do some layer-3 switching and build some labs in GNS3 over the next few days.
hiddenknight821 wrote: » It is hard for me to look at the config here alone and find the underlying root cause. By looking at the "show ip nat statistic" and "show ip nat translation", I can definitely say that your NAT is not working properly as you have many "Misses" shown in the statistic. Also, your router failed to allocate the address from the pool, natest. You can see that the allocation percentage is zero.
hiddenknight821 wrote: » NAT pool, natest, contains the address of the serial1/0 interface on Router1-2. I don't think you should have the interface IP address (50.2.2.1) listed there. You can use one of the 14 extra unused addresses since you have the 255.255.255.240 netmask. What the non-overload dynamic NAT does is that it takes the lowest IP address from the pool, but I am not sure if the router is smart enough to figure out that the address is already allocated and move on to the next available one. Perhaps it was being stubborn, because they expect the IP addresses in the pool to be obtained solely for purpose of NAT translation, and yet it hasn't acknowledged that the lottery has been made.
Use code EOY2025 to receive $250 off your 2025 certification boot camp!