Question

Setting up two vlans on one Cisco 1131 access point.

Asked by: Heiden_Consulting

Our end goal is to have two wireless networks on the same access point using vlans.  We need one for nursing staff which would be private and one for public internet.  Our internet comes into a firebox firewall that has LAN 1 and a OPT LAN.  LAN 1 feeds internet to our private network (192.168.0.1) and we set up the OPT LAN to feed the public internet and issue DHCP. (172.20.1.1) This part is working.  I can plug a notebook into the firebox OPT LAN port and get an DHCP address, internet access and can not see the private side of the firebox.

I have multiple Cisco 1131 access points installed throughout the facility.  I have them setup with two SSID's, Private (vlan 2) and Public (vlan 3).  Currently I am only working with the AP connected to port 10 of the Cisco Layer 2 switch.  Port 22 is connected to a switch on my private network while  port 23 is connected to the OPT LAN port on my firebox.

In my vlan config, I gave vlan 3 an ip address, subnet and default gateway.  Since then it has been stuck in a shutdown mode.  I have attached my sho config from my Cisco 2950 switch.  I can connect to the 1131 AP but do not receive an IP address from the firebox.  If I set the wireless device with a static IP I still do not get a connection to the internet.

Any help would be appreciated.

interface FastEthernet0/10
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 1-3,1002-1005
 switchport mode trunk
!
interface FastEthernet0/22
 switchport access vlan 2
!
interface FastEthernet0/23
 switchport access vlan 3
!
interface FastEthernet0/24
!
interface VLAN1
 ip address 192.168.0.99 255.255.255.0
 no ip directed-broadcast
 no ip route-cache
!
interface VLAN3
 ip address 172.20.1.1 255.255.0.0
 no ip directed-broadcast
 no ip route-cache
 shutdown
!
ip default-gateway 172.20.1.1
snmp-server engineID local 00000009020000055E5785C0
snmp-server community private RW
snmp-server community public RO
!
line con 0
 transport input none
 stopbits 1
line vty 0 4
 password hcmcf123
 login
line vty 5 15
 password hcmcf123
 login
!
end

                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:

Select allOpen in new window

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-08-18 at 13:30:44ID24662853
Tags

trunking

,

vlan

,

Cisco

,

switchport

Topics

Networking Hardware

,

Network Switches & Hubs

Participating Experts
2
Points
500
Comments
7

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 config ASA 5505 and Cisco AG1130 AP
    I have an ASA 5505 with 3 vlans , vlan1, vlan2, and vlan3 vlan 1 in secure (inside) vlan 2 is the internet (outside) vlan 3 is unsecured (open) here is the interface config hostname "blank" domain-name default.domain.invalid enable password w.OMuL/TDUUol5jc encry...
  2. Reconfig of Cisco AP to no vlans
    Hi Experts, I initially set up my cisco wireless ap on a network where I have several vlans, the config works great. I have been asked to ship one of my ap to another site where they do not have vlans and I wanted to make sure my config would work once shipped. I am includ...
  3. SSID,VLAN question
    Hi experts! We are close to buy a cisco 526 lan controller at one of our offices. We have a ASA5505 ( sec + bundle ) at that office. I want to have 2 different SSIDs and i will use 2 APs. I understand that i must have one vlan/SSID. I am gonna connect the WLC and the APs di...
  4. Cisco Aironet 1252AG - multiple SSIDs to same VLAN …
    Hi Experts, We currently have two cheap access points we're trying to consolidate with one Aironet 1252AG. One AP is for our laptop users which authenticates to a Microsoft Radius Server. The other AP is used for our copiers and printers which we're using wireless network ad...
  5. Multiple SSID with VLANs
    Hey guys. I'm pretty new to the concept of VLANs and no matter how much I read, I can't quite grasp it. I have a small problem where I would like to configure a VLAN for best practise and security etc but I'm not sure where to start. I have a busy network with 300+ clients...
  6. Cisco VLANs
    Hello, I have a network here, that i did not do the configuration of, that has a Cisco 3550 as its core switch. On this switch are 6 VLANs VLAN 5 is the infrastructure VLAN and VLAN4 is for guest wireless. VLAN 5 has an IP address of 10.5.255.254 255.255.0.0 VLAN4 has an IP ...

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: kenboonejrPosted on 2009-08-18 at 13:51:56ID: 25127547

Ok to start off, since the 2950 is a layer 2 switch you can only have one layer 3 interface up on that box.  So in other words you can't have interface vlan 1 and interface vlan 3.  

The good news it that you don't have to.  So basically your two ports will come off of your firewall and connect into two ports on the switch.  The key is that you need to make sure that LAN 1 is connected to a vlan 1 port and OPT LAN is connected to a vlan 3 port.  

Then for starters I would make another port vlan 3 and plug a laptop in and make sure it gets  a dhcp address and that works.

The port where the AP is connected looks good assuming the native vlan on the AP is vlan 1.

I would give the switch an address on vlan 1 on the inside to simply your management and set the default gateway to whatever it should be for vlan 1 - and then just get rid of the vlan 3 interface on the switch.

Then the next part is dealing with your AP config. ;)

 

by: mikecrPosted on 2009-08-18 at 18:19:01ID: 25128994

First off, you'll never do what you want to do unless the switchport that the access point is plugged into is set up to trunk vlans. Here is what you need to do. Let vlan 1 on the switch and give it a management IP as stated above. Next, create the vlan 3 on your core switch and all the switches that the access points are plugged into. Make sure that switches trunk back to the core where your Firewall is. It will look like this:

Switch---Trunk-----Core_Switch

The trunk will allow the vlans to get back to the core.

Next, on each access point, you will create your vlans, assigning the appropriate ESSID that you create along with any security to that vlan.
Looks like this:
GETMETOINTENET--maps_to_vlan_3-------switch-------trunk----------Core_Switch
On the switch port that the access point is plugged into, set it to trunk also. On a Cisco its:

switchport mode trunk
switchport trunk encapsulation do1Q

Attached you will find a sample configuration pulled from an Aironet 1131 using multiple ESSIDs assigned to multiple vlans with the FastEthernet trunked to the switchport that it is plugged into.

Once you have all ports trunked and the access points configured properly, take the OPT LAN port on the firewall and plug it into vlan 3. DO NOT ASSIGN ANY IP ADDRESSES TO VLAN 3 ON ANY SWITCHES! This will break the security that you're trying to set up. Once you have the OPT LAN port plugged in, test getting an IP address from the firewall. It should work.

Your end goal with all of this is to create a vlan3 on each access point trunk it along with your switches at layer 2 across your network back to your core switch. This is superior security. When a person goes to use the public internet they will be riding your network back to the firewall and then out onto the internet. They will have NO ACCESS to anything on your network, PERIOD! At layer 2, you can't leave the vlan so you have no access to anything. Since your firewall will be plugged into that vlan, it will be able to hand out ip's and get the users on the internet.

It is quite a bit of work but when it's done, you'll be very, very pleased. It's all simple to set up it's just going to take a while. If you need help with any of the configuration, please let me know.

Good luck!

 

by: Heiden_ConsultingPosted on 2009-08-19 at 07:24:46ID: 25132997

kenboonejr:  
I removed interface vlan 3 along with its ip address and default gateway.

My Lan 1 is connected to vlan 1 port and my OPT LAN is connected to vlan 3.

I created another port vlan 3 on fa0/20 and plugged my notebook into it and got a dhcp address and had internet access.  So that's good.  Finally some progress!

The ap current has only 1 ssid set up (public)  and is pointed to vlan 3.  I first had it into the trunk port fa0/10 and it didn't work so I plugged it into the vlan 3 port fa0/20 and still nothing.  Not even with a static ip.  My thoughts were since we were only dealing with a single vlan that port 20 should have worked.

Would the error now be in the AP setup?  I use the web interface to configure the ap's.

Thanks for your help....

 

by: Heiden_ConsultingPosted on 2009-08-19 at 07:32:18ID: 25133095

One more thing....with my laptop connected to fa0/20 (172.20.1.xxx, 255.255.0.0), I can not ping the access point on the trunked port fa0/10 (192.168.0.xxx, 255.255.255.0).  I am assuming I should be able to if it is configured correctly.  Is my ip address scheme the reason why I am not communicating between the two?

 

by: kenboonejrPosted on 2009-08-19 at 07:53:09ID: 25133367

We really need to see your AP config to see what is going on now.

Here is an example of an autonomous AP with multiple VLANs and SSIDs.

http://ciscoconfigs.net/index.php?option=com_content&task=view&id=15&Itemid=26

 

by: mikecrPosted on 2009-08-19 at 19:15:53ID: 25138933

The only IP address that you should have on your access point is a management IP. If your main vlan is 192.168 then the management IP should be on Vlan 1. The Vlan going to the internet should not have an IP address. When you create vlans on a Cisco access point, it automatically creates the trunked interface so all you have to do is turn on trunking on the switchport that the AP is plugged into. It should look like this.

AP---trunked to switch-------switch------trunked to core switch.

You have to have VTP running the whole way through the network until you get to the destination. So every switch that is between your AP and the core where your firewall is should have a trunk port connecting them all together. This way you can create a vlan on your core and on any of the remote switches and you can assign hosts to them.

 

by: Heiden_ConsultingPosted on 2009-08-21 at 13:44:40ID: 25155645

Thanks kenboonejr!

Removed int vlan 3 from the switch and accessed my AP through telnet and added encapsulation dot1q in my radio0.3 config and it worked!  I setup the rest of my ports like fa0/10 and made sure that statement was on my radios and it works campus wide.  JDS

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...