Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NAT help

Status
Not open for further replies.

richkjv

Vendor
Joined
Jun 9, 2004
Messages
2
Location
US
here is my config for NAT which does work, what I need is to
have the NATed IP correspond to the real IP. example
192.168.13.5 should come in has 172.29.77.5
I know I can do individual static lines but what is command,
if any, to set the 192.168.13.x to be 172.29.77.x ?

ip nat pool POOL4NAT 172.29.77.1 172.29.77.254 netmask 255.255.255.0
ip nat inside source route-map NAT pool POOL4NAT overload
ip nat inside source static 192.168.13.18 172.29.77.18 extendable
ip nat inside source static 192.168.13.165 172.29.77.165 extendable
!
access-list 172 permit ip 192.168.14.0 0.0.0.255 any
access-list 172 permit ip 192.168.13.0 0.0.0.255 any
dialer-list 1 protocol ip permit
route-map NAT permit 10
match ip address 172

thanks,
richkjv
 
Code:
ip nat inside source static network 192.168.13.0 172.29.77.0 /24

That should do it. You can also use the extendable keyword if needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top