NAT...flexible source translation
syntacticalerror
Member Posts: 15 ■□□□□□□□□□
in CCNA & CCENT
Hi all,
i was reading on the csco site regarding a configuration option for flexible pools:
Router(config)#ip nat pool fred prefix-length 24
Router(config-ipnat-pool)#address 171.69.233.225 171.69.233.226
Router(config-ipnat-pool)#address 171.69.233.228 171.69.233.238
This configuration creates a pool containing addresses 171.69.233.225-226 and 171.69.233.228-238 (171.69.233.227 has been omitted).
This is obviously very efficient because the method is specific.
My question is.......without specifying each source address to be translated in a simple acl, and without allowing addresses outside of the range.......is there a similar configuration for a pool of source addresses to be translated?.........say from 192.168.1.4-14.
Eg (specify each source ip)
Access-list 1 permit host 192.168.1.4
Access-list 1 permit host 192.168.1.5
Access-list 1 permit host 192.168.1.6
etc = tedious
Eg (permits unwanted ips)
Access-list 1 permit 192.168.1.0 0.0.0.15 = allows 192.168.1.1-3 & 192.168.1.15
Just curious.......thanks
i was reading on the csco site regarding a configuration option for flexible pools:
Router(config)#ip nat pool fred prefix-length 24
Router(config-ipnat-pool)#address 171.69.233.225 171.69.233.226
Router(config-ipnat-pool)#address 171.69.233.228 171.69.233.238
This configuration creates a pool containing addresses 171.69.233.225-226 and 171.69.233.228-238 (171.69.233.227 has been omitted).
This is obviously very efficient because the method is specific.
My question is.......without specifying each source address to be translated in a simple acl, and without allowing addresses outside of the range.......is there a similar configuration for a pool of source addresses to be translated?.........say from 192.168.1.4-14.
Eg (specify each source ip)
Access-list 1 permit host 192.168.1.4
Access-list 1 permit host 192.168.1.5
Access-list 1 permit host 192.168.1.6
etc = tedious
Eg (permits unwanted ips)
Access-list 1 permit 192.168.1.0 0.0.0.15 = allows 192.168.1.1-3 & 192.168.1.15
Just curious.......thanks