cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
649
Views
0
Helpful
3
Replies

Connect ASA to VLAN switch for a DMZ?

jamesgonzo
Level 1
Level 1

Hi, I have a ASA 5520 and a Cisco 3560 switch. I want to create a couple of DMZ/VLANs on the switch to house some web servers on one and the other will be for testing. I have created the 2 vlans (I think) on the switch:

VLAN2 = IP 172.16.1.1/24

VLAN3 = IP 172.16.2.1/24

VLAN1 seems to be the global VLAN for the switch or something else, am I right?

I have connect port 1 on the switch to 0/2 on the ASA. I will add the routes on the LAN to point to the ASA for these 2 networks, but what else do I need to do? Do I have to trunk the 2 and tell the ASA about these 2 VLAN's somehow?

Thanks

3 Replies 3

Fernando_Meza
Level 7
Level 7

Hi ..

Yes you need to configure a trunk between the port connected to the 0/2 port on the ASA and the switch. The port on the ASA needs to be configured with virtual interfaces. For example you will need to use the command

interface gigabitethernet 0/2.2

vlan 2

no shut

ip address x.x.x.x

interface gigabitethernet 0/2.3

vlan 3

no shut

ip address x.x.x.x

The above will create a trunk on gigabitethernet 0/2 for VLANs 2 and 3. You also need to allocate an IP address, name and security level to each subinterface. The following link might give you an idea.

I hope it helps .. please rate it if it does !!!

http://cisco.com/en/US/docs/security/asa/asa72/configuration/guide/intrface.html#wp1044006

http://cisco.com/en/US/docs/security/asa/asa80/configuration/guide/intparam.html

Thanks, just picked this up. What would I need to do on the trunk port on the switch side?

switchport trunk encapsulation dot1q

switchport mode trunk

Review Cisco Networking products for a $25 gift card