NAT multiple IPs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2015 02:14 AM - edited 03-11-2019 11:11 PM
Guys,
I need to NAT a range of IP to another range of IPs. However I want certain address to map to certain addresses. I know this can be done with static NAT. However there are quite a few address and I don't want to have to create a static NAT for each separate address
Currently I have dynamic NAT working for the ranges however when the addresses get NATed they NAT to random IPs from the Pool
Is there a way to NAT from the Pool so it matches certain IPs or is there a way to set the pool to work in order of IPs listed e.g
192.168.1.1 - 172.16.1.1
192.168.1.2 - 172.16.1.2
192.168.1.3 - 172.16.1.3
..................................
- Labels:
-
NGFW Firewalls
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2015 07:14 AM
Hi,
You can create network object for IP ranges and create static NAT statements for the same:
Config example:
ciscoasa(config)# sh run object
object network real-range
range 192.168.1.1 192.168.1.10
object network mappedrange
range 100.1.1.1 100.1.1.10
ciscoasa(config)# nat (inside,outside) source static real-range mappedrange
Thanks,
R.Seth
