02-12-2009 02:14 AM - edited 03-04-2019 03:32 AM
I have nat configured but i doubt if my nat is working, this is not in a live environment.
my configs are as follows
interface GigabitEthernet0/1
ip address 192.2.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex full
speed 100
media-type rj45
no keepalive
!
interface Serial0/0/0
ip address 165.148.120.2 255.255.255.252
ip nat outside
ip virtual-reassembly
no keepalive
!
ip nat inside source list 98 interface Serial0/0/0 overload
!
access-list 98 permit 192.2.1.0 0.0.0.255
!
fair-queue
!
my show ip nat translations shows nothing
02-12-2009 02:37 AM
your NATing configuration should work properly,
and the command show ip nat translation will not show anything until a real traffic is NATed.
02-12-2009 02:42 AM
I have got a traffic generator (N2X) connected. Do you think that wont make any difference?
02-12-2009 04:45 AM
Lawrence
Why do you have no keepalive configured under the Gig interface and the serial interface? When I see this configured it is typically to deal with some issue on the interface. If there is some issue on the interface then that might be the reason why your NAT is not working.
I agree that I do not see a problem in the way that your NAT is configured and believe that something else is causing the problem with NAT. Are there routing statements that will forward traffic from the Gig interface out the serial interface? If the traffic is not forwarded that way it would certainly prevent NAT from working.
HTH
Rick
02-12-2009 05:07 AM
they were there when I got the router so i did not remove but that is not the problem. when I remove the access-list and use static i get all my conditions ok on the sh ip translations and statistics.
here's how
ip nat inside source static 192.1.1.0 165.148.120.1
or
ip nat inside source static 192.1.1.2 165.148.120.1
Now my worry is seemingly NATing with access-list is not working on these ios Version 12.4(20)T?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide