we have a scenario where one of our customers has multiple subnets that are not compatible with our addressing scheme. They are using 192.168.n.0/24,but we want to address them with 10.m.112.0/24. The host addresses within the networks should stay the same during translation and we want to avoid configuring lots of "ip nat inside source static <inside-local> <inside-golbal>" commands.
Can we use
ip nat inside source static network 192.168.241.0 10.130.112.0 /24
ip nat inside source static network 192.168.242.0 10.145.112.0 /24
ip nat inside source static network 192.168.243.0 10.146.112.0 /24
to translate the whole network prefixes ? Does that translate 192.168.243.123 into 10.146.112.123, for example ? Or are there other or additional commands needed to achieve that ?
Yes, Your configuration will absolutely works for what you are thinking. And be sure that for Network static address translation, make sure that both source and destination network prefix lengths the same. For eg,
ip nat inside source static network 10.1.1.0 192.168.1.0 /28
This configuration allows static one-to-one static mapping from 10.1.1.1 to 10.1.1.15, but if u try translation for 10.1.1.16 or greater, you will get ICMP time exceeded error messages.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.