Is there a simpler way to perform one-to-one mapping for an entire /24 subnet? I have a subnet 192.168.0.0/24 that I want to map to 172.18.245.0/24 on a one to one basis. I have hundreds of lines of code in the config and it works. Curious to know if this can be performed with a single line of code?
ip nat inside source static 192.168.0.2 172.18.245.2
ip nat inside source static 192.168.0.3 172.18.245.3
ip nat inside source static 192.168.0.4 172.18.245.4
ip nat inside source static 192.168.0.5 172.18.245.5
ip nat inside source static 192.168.0.6 172.18.245.6
ip nat inside source static 192.168.0.7 172.18.245.7
ip nat inside source static 192.168.0.8 172.18.245.8
...
Thanks