05-15-2019 09:57 AM
I am wanting to give a group of IPADDRs there own Public IPADDRs. I have around 75 /26 address that are in every sites scope that I will need to set this for. Typically I place the guest traffic on their own /16 subnet and create on object network GUEST_PUB_IPADDR, subnet x.x.x.x /16, nat (inside,outside) dynamic P.P.P.P.
I would need to create 75 of these per site. Is there another way to NAT this group?
Solved! Go to Solution.
05-20-2019 09:19 AM
05-15-2019 11:59 AM
If I understand correctly you are looking for another way to NAT 75 addresses / subnets per site?
You could group them into an object group and use.
object-group network NAT_Grp
network-object 10.1.1.0 255.255.255.0
network-object 10.1.2.0 255.255.255.0
network-object 10.1.3.0 255.255.255.0
nat (inside,oustide) after-auto source dynamic NAT_Grp interface
05-16-2019 06:41 AM
05-16-2019 11:04 PM
Is the NAT statement for NAT_Grp object group below the other NAT statement? If yes then this is why it is not being matched. You need to move the statement above that statement...as follows:
nat (inside,outside) after-auto source dynamic NAT_Grp pat-pool GUEST_WIFI_PUBLIC
nat (inside,outside) after-auto source dynamic any pat-pool DEFAULT_PUBLIC
In the second statement you are matching any IP so if the NAT_Grp NAT is below it will never be hit.
05-17-2019 06:17 AM
How can I move the NAT statement without affecting current production?
I am assuming I will need to remove the any NAT statement?
05-15-2019 09:42 PM
are you talking about each individual remote sites that should be configured with NAT from private to public IP?
05-17-2019 06:21 AM
05-17-2019 07:39 AM - edited 05-17-2019 07:43 AM
If that was the case and your are routing guest network directly to connected isp, you should be doing those NAT statements for each site. I think this is manual process to do for each site. i know doing this for 75 sites will take time but i think there is no other option.
i recommend to use scripting to do this, as all remote site's firewalls are reachable to you. This is simple job but takes time to do it.
Note: above process depends on the way you route the traffic from remote sites.
05-18-2019 08:51 AM
If you are using the same public IP for all the guest networks then you just need to create one guest object-group and place all the relevant subnets into that group. Then configure NAT for that object group. A little work that needs to be done, but once it is in place any new guest network would just need to be added to that object group and they are good to go..NAT wise.
05-20-2019 09:19 AM
05-20-2019 01:10 PM
The code I posted earlier will do the trick if you are using the same public IP for all guest networks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide