cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
472
Views
0
Helpful
4
Replies

Internet Traffic Through ACE

thefindjack
Level 1
Level 1

I'm having trouble getting to the internet on the servers in my server VLAN. The SLB is working correctly, the servers can get DNS queries and access other things within our internal network but I cannot get out to the internet. Do I need to setup some kind in inspection to pass normal internet traffic for those servers or how do I make that work? THanks

1 Accepted Solution

Accepted Solutions

You need to apply

service-policy input NAT

under server vlan (vlan 151) not Client side vlan.

int vlan 151

ip addresss 192.168.151.176 255.255.255.0

alias 192.168.151.175 255.255.255.0

peer ip address 192.168.151.177 255.255.255.0

service-policy input NAT

no shutdown

int vlan 181

ip address 192.168.181.5 255.255.255.0

alias ip address 192.168.181.4 255.255.255.0

peer ip address 192.168.181.6 255.255.255.0

nat-pool 1 192.168.181.150 192.168.181.200 netmask 255.255.255.0

Syed

View solution in original post

4 Replies 4

You simply need to allow server originated traffic through the ACE and Perform NAT on this traffic before it leaves your network.

Similarly for return traffic you need to make sure that the upstream L3 devices knows how to route return traffic back to ACE for server vlan.

Syed Iftekhar Ahmed

I'm pretty sure its because I'm not NATing the traffic but I can't figure out why my NAT wont work. Here is what I'm doing.....

Client VLAN 181

Server VLAN 151

The servers are setup with the default route as the ACE's alias IP address on VLAN 151. The VIP is in VLAN 181, and the SLB works correctly. So I need to figure out how to NAT traffic originating from the SERVER VLAN. This is what I was trying but I couldnt get it working.....

access-list NAT_ACL extended permit ip 192.168.151.0 255.255.255.0 any

class-map match-any NAT_CLASS

2 match access-list NAT_ACL

policy-map multi-match NAT

class NAT_CLASS

dynamic 1 vlan 181

int vlan 151

ip addresss 192.168.151.176 255.255.255.0

alias 192.168.151.175 255.255.255.0

peer ip address 192.168.151.177 255.255.255.0

no shutdown

int vlan 181

ip address 192.168.181.5 255.255.255.0

alias ip address 192.168.181.4 255.255.255.0

peer ip address 192.168.181.6 255.255.255.0

nat-pool 1 192.168.181.150 192.168.181.200 netmask 255.255.255.0

service-policy input NAT

You need to apply

service-policy input NAT

under server vlan (vlan 151) not Client side vlan.

int vlan 151

ip addresss 192.168.151.176 255.255.255.0

alias 192.168.151.175 255.255.255.0

peer ip address 192.168.151.177 255.255.255.0

service-policy input NAT

no shutdown

int vlan 181

ip address 192.168.181.5 255.255.255.0

alias ip address 192.168.181.4 255.255.255.0

peer ip address 192.168.181.6 255.255.255.0

nat-pool 1 192.168.181.150 192.168.181.200 netmask 255.255.255.0

Syed

Thanks for you help! I got it working, you were right about applying that service-policy. I also had to add the NAT_ACL to VLAN 151 as "access-group input NAT_ACL".

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: