05-03-2022 08:51 AM - edited 10-19-2023 12:32 PM
We are running a 9300 switch that is doing L3 inter vlan/ip routing. I have tried multiple configurations but cannot seem to get clients to get out to the internet. We would like to get our internet only VLAN xxx to allow users in VLAN xxx to go out.
Essentially NATing (masquerading?) their internal IPs of 10.74.xxx.x (Gw .250 and .0 sub) to a single external IP (207.xx.xx.x /.248 sub) to get out to the internet. I connected a cable from our ISP switch to our L3 switch and need a good example port configuration. Clients are connecting via MOBILE SSID and getting DHCP and RADIUS successfully internally, but we want their internet traffic to use the ISP.
05-03-2022 08:54 AM
here is example : (never tried on cat 9300)
05-03-2022 09:21 AM
I saw this, but nothing on how to apply to VLANs.
05-03-2022 09:41 AM
It would basically be the same ie. an SVI is just a L3 interface so in the document they are using physical interfaces but you should be able to apply the NAT commands to the SVIs eg.
int vlan <vlan ID>
ip address x.x.x.x y.y.y.y
ip nat inside
etc.
Jon
05-03-2022 09:43 AM
seems I applied as such to my config below. What would be incorrect?
05-03-2022 01:43 PM
If you like to apply NAT config basic rule is for that VLAN should belong to Physical port first , then you can add SVI Interace, if the Physical port in Layer3 interface, SVI VLAN not going to work
Also are you looking inside and outside both VLAN SVI ?
can you post show run complete, so we can suggest better.
05-03-2022 09:04 AM
Check you licensing:
"With Cisco IOS® XE 16.12.1 NAT is now available on the Network Advantage license. On all earlier releases, it is available on the DNA Advantage license."
05-03-2022 09:20 AM
I have 16.12.4 ios
05-03-2022 09:21 AM
I believe the issue is I may need a good example configuration of how to setup both VLANs (public and private) and NAT settings.
05-03-2022 09:38 AM - edited 10-19-2023 12:33 PM
I have cable from ISP switch a cable going from WLC on L2/L3 interface.
05-03-2022 10:03 AM
Do you have HSRP, how is your network diagram look like ?
for setup to work, start with basic ACL and start building once working basic setup.
post show run (fuill config)
05-03-2022 10:11 AM - edited 10-19-2023 12:34 PM
Yes we do HSRP. VLAN xxx is not configured a such for ISP.
VLAN xxx is.
05-03-2022 10:16 AM - edited 10-19-2023 12:35 PM
Removed
05-03-2022 10:14 AM - edited 05-03-2022 10:15 AM
You have applied the same acl to multiple interfaces in both directions which really doesn't make sense as well as the last two lines being redundant as "permit ip any any" covers those.
For the NAT you need to define the traffic and configure a NAT statement so in the document look at the dynamic NAT overload (PAT) section ie. create an acl for the traffic you want to NAT and then a NAT statement as in the document.
Jon
05-03-2022 10:24 AM
We do not want ISP traffic to reach other VLANs, any good recommendations?
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