Question

Forwarding VLAN Packets to virtual interfaces

Asked by: geschmidtt

I am having a challenge that I am not sure the best way to solve:

I am replacing an aging PIX with a new ASA 5510.  One thing I want to take advantage of is that the ASA supports virtual interfaces, which I would like to use to channel guest traffic on a wireless lan that I am setting up right now.  The problem is I inherited a rather convoluted environment, which I am loathe to change at this point.  

Here is the problem:

The PIX has an IP address of 10.10.0.253 255.255.0.0.  It is directly plugged into a switch with trunking enabled.  For what ever reason that switch has a IP of 10.10.11.7 255.255.0.0.  This switch has no VLANs defined.  This switch is part of a group of switches that manage the connections in our server room.  One of those switches has the IP address of 10.10.0.1 255.255.0.0 and acts as the default gateway for the entire network.  The PIX is not plugged into that switch.

We have a distribution switch which distributes 5 main VLANs to the 5 floors we use in the building.  Its IP is 10.16.0.1 255.255.255.0.  The VLAN model looks like this 10.16.0.1 for the 6th floor 10.17.0.1 for the 7th etc.  There are guest vlans on each floor. 10.16.3.0  10.17.3.0 etc (for example).  We call them VLAN 63, VLAN 73 etc.

On the new ASA I want the inside interface e0/0 to have in addition to the main network traffic VLAN 63, 73 etc. on virtual interfaces.  So that switch would look something like this:
(Inside) E0/0 - 10.10.0.253  (VLAN63) E0/0.1 - 10.16.3.253. etc.  

Here is the rub.  It looks just plain trunking will not deliver the guest VLAN traffic to the ASA virtual interfaces.  I think the ASA needs to be directly attached to the switch that has the VLANs attached, or I need to do some fancy stuff to make it work.


Diagram:


      PIX                                         Switch                                Dist. Switch       VLAN63
[========]____________[========]____________[========]---<
10.10.0.253                            10.10.11.7                               10.16.0.1       VLAN73


I am not sure whether it make sense to plug the ASA into the "distribution" switch to make this happen, and if so what the various routing configurations would be, or if would even work at all.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-10-29 at 14:29:01ID24856373
Tags

Cisco

,

VLAN

,

Wireless

Topics

Network Design & Methodology

,

Cisco PIX Firewall

,

Wireless Local Area Network

Participating Experts
1
Points
500
Comments
15

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Vlan and Trunk
    How to configure Trunk for VLAN, in order for VLAN talk to each other on Cisco Catalyst Multilayer 3550-48 switch, The following is the vlan diagram, Port VLAN VLAN IP Address ------ ------------- ----------------- 39-48 VLAN 1 -De...
  2. Vlan trunking
    Hi guys, I need information and ideas about vlan trunking... How it should be setup'e'd (network topology design) and reasons why to go for vlan trunking. What I know is that vlan trunking is used to extend a vlan number. For example, catalyst 2950 has 24 ports on Vlan 2. ...
  3. vlan trunking with PIX 515E
    Here's my scenario: I have a PIX 515E with Interface 4 going into my DMZ VLAN which is on my 3750 stack. I've created a guest vlan in my stack and a vlan interface on the pix off of interface 4. This vlan interface is 4.12. I understand I need to trunk the port on my swit...
  4. Segment PIX/LAN traffic to different VLANs for Wireless …
    Currently I have a number of remote offices that have the following configuration. Cisco 1811W (Wireless & Wired) -> PIX 506E -> Internet These offices access the internet directly and the PIX has a VPN tunnel to our corporate office. Each remote office is identi...
  5. Trunk VLAN's between Catalyst Switches - All VLAN's…
    We have two switches and 21 VLAN's: (1) Catalyst where the VLAN's were created and where all VLAN's are assigned to different ports. (2) Catalyst that is trunked to Switch 1 and trunked to an ASA for a router on a stick confiuration; this switch only has VLAN 401 assigned to...
  6. vlan-trunking
    Hi, When doing trunking between two switches how do we allocate the ips? Say if vlan 1 in one switch has x.x.x.5 and same vlan 1 on another switch should have x.x.x.6? am i correct to say that? further what is the purpose of having two same vlans in two switches with diffe...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: QuoriPosted on 2009-10-29 at 16:35:01ID: 25699192

Good grief.

Is there anything else plugged into switch with ip 10.10.11.7?

I pressume that the distribution switch is doing all the inter-VLAN routing? If so you'll be best off plugging the ASA into the distribution switch, and extending a dot1q trunk to it then simply create your interfaces as such (assuming VLANs 10, 63, 73):

interface Ethernet0/2
 no nameif
 no security-level
 no ip address
!
interface Ethernet0/2.10
 vlan 10
 nameif Inside
 security-level 100
 ip address 10.10.0.253 255.255.255.0
!
interface Ethernet0/2.63
 vlan 63
 nameif Inside
 security-level 100
 ip address 10.16.3.253 255.255.255.0
!
interface Ethernet0/2.73
 vlan 73
 nameif Inside
 security-level 100
 ip address 10.17.3.253 255.255.255.0
!

Otherwise if you extend all VLANs onto the switch between the ASA/PIX and the distribution switch this will also work. The key is you just need to extend each layer 2 segment over the trunk from distribution to  'switch' then extend out to ASA/PIX over trunk to it.

 

by: geschmidttPosted on 2009-10-29 at 18:43:11ID: 25699669

Quori,

This is how I was thinking.  There doesn't seem to be good reason to extend it to the middle switch.  The only reason for keeping it like it is now, if to keep it like it is now.  I am just a little nervous about doing it as the only way I have to test it fully is in production.  I will accept your answer as the solution and award you the points.

Thanks much!

 

by: geschmidttPosted on 2009-10-29 at 18:44:48ID: 31647752

The answer confirms my thoughts.  Quori totally grokked the situation.  Occam's razor wins again!

 

by: QuoriPosted on 2009-10-29 at 18:56:48ID: 25699727

If this needs to be done in short order just extend the VLANs out to the middle switch and then ensure all routing is occuring properly. Though if the layer 2 domain current extended to the ASA/PIX is on the distribution router then you'll have no issues.

 

by: QuoriPosted on 2009-10-29 at 19:43:05ID: 25699875

Oh and be sure to change the interface names. In my copy/paste frenzy I didn't change them before the subif's.

 

by: geschmidttPosted on 2009-11-04 at 09:49:17ID: 25741894

Quori, In your example the first interface E0/0.1 is called VLAN 10.  In my case the default VLAN on the switch is VLAN 1.  Can I specify VLAN 1 and will the switch recognize that even though the Switch does not have VLAN 1 tagged?

 

by: QuoriPosted on 2009-11-04 at 12:50:07ID: 25743757

Probably not.

If you're going to use VLANs don't use VLAN1. Remove everything from it.

 

by: geschmidttPosted on 2009-11-04 at 13:53:52ID: 25744371

Not sure what you mean remove everything from it.  

This is my config for the "inside" interface:

interface Ethernet0/0
 speed 100
 duplex full
 no nameif
 no security-level
 no ip address
!
interface Ethernet0/0.1
 speed 100
 duplex full
 vlan 1
 nameif Inside
 security-level 100
 ip address 10.10.0.253 255.255.0.0 standby 10.10.0.2
!
interface Ethernet0/0.2
 vlan 63
 nameif Guest63
 security-level 50
 ip address 10.16.3.0 255.255.255.0
!
interface Ethernet0/0.2
 vlan 103
 nameif Guest103
 security-level 50
 ip address 10.20.3.0 255.255.255.0

 

by: QuoriPosted on 2009-11-04 at 14:07:37ID: 25744520

I mean any interfaces or devices using VLAN1, move to another VLAN.

 

by: geschmidttPosted on 2009-11-04 at 14:30:49ID: 25744769

I am not building my network to the ASA, but retrofitting it.  The Inside interface points to the default Vlan on our distribution switch which hosts 50 or 60 vlans.  Can I just make a random VLAN, and what about routing.  I guess I am lost as E0/0.1 is the principal ingress for the entire network.

 

by: QuoriPosted on 2009-11-04 at 14:36:04ID: 25744818

Theoretically it might work, honestly I've never tried.

Create 0.1 subif and don't append a vlan statement. All untagged traffic should hit it and tagged should hit anything with a tag.
Another option would be to change the native VLAN of the dot1q trunk to some unused VLAN, that way VLAN1 should get tagged then just add 'vlan 1' under the subif.

 

by: geschmidttPosted on 2009-11-04 at 15:01:29ID: 25745026

The ASA is 10.10.0.253.  VLAN1 = 10.10.0.0 is directly connected.  
Here is my routing on the switch:


6-SRV-3750DIST-STACK2#show ip route

Gateway of last resort is 10.10.0.253 to network 0.0.0.0

     10.0.0.0/8 is variably subnetted, 20 subnets, 2 masks
C       10.10.0.0/16 is directly connected, Vlan1
C       10.19.9.0/24 is directly connected, Vlan91
C       10.18.9.0/24 is directly connected, Vlan81
C       10.17.9.0/24 is directly connected, Vlan71
C       10.16.9.0/24 is directly connected, Vlan61
R       10.30.0.0/16 [120/2] via 10.10.11.30, 00:00:18, Vlan1
C       10.20.9.0/24 is directly connected, Vlan101
C       10.19.1.0/24 is directly connected, Vlan91
C       10.18.0.0/24 is directly connected, Vlan80
C       10.19.0.0/24 is directly connected, Vlan90
C       10.18.1.0/24 is directly connected, Vlan81
C       10.16.3.0/24 is directly connected, Vlan63
C       10.17.1.0/24 is directly connected, Vlan71
C       10.16.0.0/24 is directly connected, Vlan60
C       10.17.0.0/24 is directly connected, Vlan70
C       10.16.1.0/24 is directly connected, Vlan61
C       10.20.0.0/24 is directly connected, Vlan100
C       10.20.1.0/24 is directly connected, Vlan101
C       10.16.5.0/24 is directly connected, Vlan65
R       10.113.0.0/16 [120/1] via 10.10.11.30, 00:00:18, Vlan1
S*   0.0.0.0/0 [1/0] via 10.10.0.253

 

by: QuoriPosted on 2009-11-04 at 15:43:47ID: 25745419

Just add a bogus VLAN (4000, or 666 or something) as I said above and change that to be the native on the trunk, it should then tag VLAN1 and configure the ASA like the rest of the VLANs.

 

by: geschmidttPosted on 2009-11-04 at 16:14:41ID: 25745601

666 would be just the ticket...  

Your explanation makes sense.  Regardless, the Gateway of last resort is still the IP of the tagged interface on the ASA no matter what it is called.  Thank you again.

 

by: QuoriPosted on 2009-11-04 at 16:18:17ID: 25745624

Yup, though thought I'd supply an alternate solution to changing from VLAN1 to something else as it lends itself to issues such as forgetting to put that VLAN over trunks, port access, etc etc etc.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...