cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7750
Views
0
Helpful
18
Replies

configuring VLAN in WLC

vishalpatil86
Level 1
Level 1

hi,

i have WLC 4400. i want to create two wlans with separate VLAN.

how can i do it?

1 Accepted Solution

Accepted Solutions

Yes.. if you want ur clients to get the IP from 4000 and 4001 VLAN then it is required to hav a layer 3 interface in it right?? if not it will not work.. if u done configure the same then what wil be ur Default gateway for your clients??

if not VLAN 4000 or 4001, u atleast should hv an sub interface on the router and then followed by encapsulating it by dot1Q followed by the vlan number..

Regards

Surendra

Regards
Surendra BG

View solution in original post

18 Replies 18

vishalpatil86
Level 1
Level 1

hi,

if there is any documentation regarding this, then pls let me know

Hi Vishal,

As such we do not create any LAYER 2 VLANs on the WLC.. this is called Configuring Dynamic interface on the WLC and allowing that VLAN in the trunk port on the switch will do it..

Example..

If you want VLAN 1 (192.168.1.X) and VLAN 2 (192.168.2.X), this is how we configure..

on the switch..

============

int gig X/X

conf t

switchport mode trunk

switchport trunk encap dot1Q

switchport trunk native vlan X

end

int vlan 1

ip address 192.168.1.1 /24

no shut

int vlan 2

ip address 192.168.2.1 /24

no shut

end

conf t

vlan 1

exit

vlan 2

end

On the WLC

Create the Dynamic interface corresponding to VLAN 1 assigning the IP 192.168.1.2 /24 with Default gateway as VLAN 1 ip and similarly another Dynaminc interface with IP 192.168.2.2 /24 with Default gateway as VLAN 2 ip.

in the WLAN edit page assign this interface to the required WLAN and this will solve the issue that u r facing!!

lemme know if this answered ur question and pleas dont forget to rate the usefull posts!!

Regards

Surendra

Regards
Surendra BG

following is the configuration at switch end -

core#sh run int vlan 10

Building configuration...

Current configuration : 121 bytes

!

interface Vlan10

ip address 172.16.10.253 255.255.255.0

no ip route-cache

end

this switch connected to other 8 edge switches having IP in range 172.16.10.0/24

also,

there are two vlans i have created 4000 and 4001. How can i config it in WLC?

let me know if you want any data to understand this

hi madhuri,

what would be my gateway? for vlans 4000 and 4001?

Hi,

The gateway on the WLC to Dynamic interface 4000 and 40001 will be  the IP address assigned to VLAN 4000- and 4001, if you done hav one, then you need to configure one on the Router..

Regards

Surendra

Regards
Surendra BG

hello surendra,

the thing is currently all APs having gateway 172.16.10.253(vlan 10) which is a core switch(4506E), layer 3 switch.

ok!! where is the routing happening for VLAN 4000 and 4001??

Regards

Surendra

Regards
Surendra BG

layer 3 switch itself

do we have the ip address assigned to the VLAN 4000 and VLAN 4001 somewhere??

Regards

Surendra

Regards
Surendra BG

no, IP address is assigned to management vlan i.e. vlan10.

same for edge switches

core switch - 172.16.10.253

edge switch - 172.16.10.239 -172.16.10.252

WLC -172.16.10.2 management IP

          172.16.10.3 ap-manafer IP

U needs the interface VLANs, if not this canot be done!!

Regards

Surendra

Regards
Surendra BG

u mean to say i have to assign IP to 4000 and 4001?

Yes.. if you want ur clients to get the IP from 4000 and 4001 VLAN then it is required to hav a layer 3 interface in it right?? if not it will not work.. if u done configure the same then what wil be ur Default gateway for your clients??

if not VLAN 4000 or 4001, u atleast should hv an sub interface on the router and then followed by encapsulating it by dot1Q followed by the vlan number..

Regards

Surendra

Regards
Surendra BG
Review Cisco Networking products for a $25 gift card