radhikats
asked on
configuring dynamic NAT
I am new to to routers.I have configured a CISCO 2500 series (12 IOS) router for dynamic NAT.But i am unable to browse, and whenever i check the show ip nat trans command the outside global and outside local fields are empty whereas i can see the translation for inside local to inside global.
Any help regarding the above question would be of great help to me.
Any help regarding the above question would be of great help to me.
Config is a definite requirement as lrmoore has asked, but please can you also post a description of what you're trying to achieve?
Here is sample IOS commands that works for me.
You will have to modify IP address that have "<>" around them.
************************** *********
interface Ethernet0
description Link to External Network (Internet)
ip address 216.123.201.161 255.255.255.0
ip access-group 120 in
ip nat outside
no ip route-cache
no ip mroute-cache
!
interface Ethernet1
description Connection to Lan
ip address 192.200.202.254 255.255.255.0
ip nat inside
no ip route-cache
no ip mroute-cache
!
ip nat pool USERS <External NAT IP> <External NAT IP> netmask 255.255.255.248 This can be the same as the External IP.
ip nat inside source route-map natpool pool USERS overload
ip classless
ip route 0.0.0.0 0.0.0.0 <Default Route IP>
no ip http server
!
access-list 110 permit ip 192.200.202.0 0.0.0.255 any
access-list 120 permit ip any any
route-map nat permit 10
match ip address 110
************************** ********** ***
You will have to modify IP address that have "<>" around them.
**************************
interface Ethernet0
description Link to External Network (Internet)
ip address 216.123.201.161 255.255.255.0
ip access-group 120 in
ip nat outside
no ip route-cache
no ip mroute-cache
!
interface Ethernet1
description Connection to Lan
ip address 192.200.202.254 255.255.255.0
ip nat inside
no ip route-cache
no ip mroute-cache
!
ip nat pool USERS <External NAT IP> <External NAT IP> netmask 255.255.255.248 This can be the same as the External IP.
ip nat inside source route-map natpool pool USERS overload
ip classless
ip route 0.0.0.0 0.0.0.0 <Default Route IP>
no ip http server
!
access-list 110 permit ip 192.200.202.0 0.0.0.255 any
access-list 120 permit ip any any
route-map nat permit 10
match ip address 110
**************************
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
radhikats,
No comment has been added lately (107 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:
RECOMMENDATION: Award points to lrmoore
Please leave any comments here within 7 days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Thanks,
lrmoore
EE Cleanup Volunteer
---------------------
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers,
please post comments here where a Moderator will see it.
No comment has been added lately (107 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:
RECOMMENDATION: Award points to lrmoore
Please leave any comments here within 7 days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Thanks,
lrmoore
EE Cleanup Volunteer
---------------------
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers,
please post comments here where a Moderator will see it.
http://www.cisco.com/warp/public/556/13.html