+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 20
Wireless Networks Thread, Unifi - Vlans in Technical; Has anyone setup Vlans on their unifi wireless? I've followed all sorts of guides and got no where. Tried on ...
  1. #1

    Join Date
    Mar 2007
    Posts
    1,847
    Thank Post
    92
    Thanked 321 Times in 242 Posts
    Rep Power
    91

    Unifi - Vlans

    Has anyone setup Vlans on their unifi wireless? I've followed all sorts of guides and got no where. Tried on HP and Cisco, Has anyone managed to set this up?

  2. #2

    Join Date
    Nov 2009
    Location
    Manchester
    Posts
    1,106
    Thank Post
    6
    Thanked 220 Times in 199 Posts
    Rep Power
    56
    We have two SSIDs on our Unifi points, one on the Default VLAN and a second on VLAN (example). The setup on the points/ controller should be as simple as that. You then need to make sure your setup the VLANs on the switches correctly, we use Netgear and D-Link switches here and 1 HP switch (old one) and it all works fine. I guess your ports on your switches are the problem.

    Ona Netgear switch they are Tagged on in you second VLAN and then untagged on the Default VLAN.

  3. Thanks to Achandler from:

    strawberry (20th January 2012)

  4. #3

    Join Date
    Mar 2007
    Posts
    1,847
    Thank Post
    92
    Thanked 321 Times in 242 Posts
    Rep Power
    91
    yup, Thats pretty much what i've been trying. Could you sanity check some things for me? Assuming I have a data vlan which should be default and an admin vlan

    1. Controller doesn't need to be on all vlans, just the data vlan
    2. Does the port need to be trunked or just access with the admin vlan tagged and data untagged?

  5. #4
    ShorehamGeek's Avatar
    Join Date
    Feb 2006
    Location
    Shoreham
    Posts
    87
    Thank Post
    19
    Thanked 21 Times in 18 Posts
    Rep Power
    25
    I've got this going with 3 VLANs on HP procurve kit.
    What version of Unifi Server are you running?

  6. #5

    Join Date
    Nov 2009
    Location
    Manchester
    Posts
    1,106
    Thank Post
    6
    Thanked 220 Times in 199 Posts
    Rep Power
    56
    I did a a pretty diagram for itgeek yesterday that I can email later if needed, I might need to tweak it slightly.

    Basically your APs need to to be on switch ports that are untagged on the Default VLAN and Tagged on the second VLAN.

    All your uplinks need also ofcourse need to be untagged on default and tagged on the second VLAN.

    Your controller just need to be on the default VLAN, and the traffic on the second VLAN does ofcourse need an outlet, maybe a server providing DNS and DHCP (personally we use our Smoothwall box).

  7. #6

    Join Date
    Mar 2007
    Posts
    1,847
    Thank Post
    92
    Thanked 321 Times in 242 Posts
    Rep Power
    91
    Quote Originally Posted by Achandler View Post
    I did a a pretty diagram for itgeek yesterday that I can email later if needed, I might need to tweak it slightly.

    Basically your APs need to to be on switch ports that are untagged on the Default VLAN and Tagged on the second VLAN.

    All your uplinks need also ofcourse need to be untagged on default and tagged on the second VLAN.

    Your controller just need to be on the default VLAN, and the traffic on the second VLAN does ofcourse need an outlet, maybe a server providing DNS and DHCP (personally we use our Smoothwall box).
    That would be great, thank you

    I think i may have found the issue, all of our vlans are tagged on the uplinks!

  8. #7

    Join Date
    Nov 2009
    Location
    Manchester
    Posts
    1,106
    Thank Post
    6
    Thanked 220 Times in 199 Posts
    Rep Power
    56
    Im assuming your doing this on a test switch, as you don't want to break a in use uplink. Though this would be pot calling the kettle black as when I setup mine I used our library for trial an error!

    Shoreham has HP switchs with Unifi though, so he can probably elaborate on how his VLANs are setup on them, personally I have done it on Netgear and D-Link

  9. #8
    ShorehamGeek's Avatar
    Join Date
    Feb 2006
    Location
    Shoreham
    Posts
    87
    Thank Post
    19
    Thanked 21 Times in 18 Posts
    Rep Power
    25
    Quote Originally Posted by Achandler View Post
    Im assuming your doing this on a test switch, as you don't want to break a in use uplink. Though this would be pot calling the kettle black as when I setup mine I used our library for trial an error!

    Shoreham has HP switchs with Unifi though, so he can probably elaborate on how his VLANs are setup on them, personally I have done it on Netgear and D-Link
    Happy to if that would help?

  10. #9

    Join Date
    Mar 2007
    Posts
    1,847
    Thank Post
    92
    Thanked 321 Times in 242 Posts
    Rep Power
    91
    Quote Originally Posted by ShorehamGeek View Post
    Happy to if that would help?
    Would be a tremendous help!. I'm using the most recent version of the controller.

    Sat in our meeting room on our live switch with all of smt connected....

  11. #10
    ShorehamGeek's Avatar
    Join Date
    Feb 2006
    Location
    Shoreham
    Posts
    87
    Thank Post
    19
    Thanked 21 Times in 18 Posts
    Rep Power
    25
    OK - Switches first.
    Switch that AP is plugged into you would have 2 VLANs configured.
    ID1 - Default - all ports untagged
    ID2 - Wireless - tagged on the port that the AP is plugged into and any port that is connected to the switch connected to the wireless default gateway.

    If there is another switch between the switch above, and the default gateway, that needs to have both VLANs setup, with the same ID numbers as the switch above, and the port that connects to the switch above needs to be tagged on VLAN ID 2.

    On your unifi controller, the default SSID does not have a tick in the VLAN box, but the other SSID must have a tick in the VLAN box and the ID number of the VLAN you're routing it over (which would have to be "2" in the example above).

  12. #11
    ShorehamGeek's Avatar
    Join Date
    Feb 2006
    Location
    Shoreham
    Posts
    87
    Thank Post
    19
    Thanked 21 Times in 18 Posts
    Rep Power
    25
    Quote Originally Posted by ShorehamGeek View Post
    OK - Switches first.
    Switch that AP is plugged into you would have 2 VLANs configured.
    ID1 - Default - all ports untagged
    ID2 - Wireless - tagged on the port that the AP is plugged into and any port that is connected to the switch connected to the wireless default gateway.

    If there is another switch between the switch above, and the default gateway, that needs to have both VLANs setup, with the same ID numbers as the switch above, and the port that connects to the switch above needs to be tagged on VLAN ID 2.

    On your unifi controller, the default SSID does not have a tick in the VLAN box, but the other SSID must have a tick in the VLAN box and the ID number of the VLAN you're routing it over (which would have to be "2" in the example above).
    Just a thought - the port of the switch that is plugged into the device being used as the Wireless default gateway, should be untagged on the Wireless VLAN (ID 2 in above example).

  13. Thanks to ShorehamGeek from:

    strawberry (20th January 2012)

  14. #12
    ShorehamGeek's Avatar
    Join Date
    Feb 2006
    Location
    Shoreham
    Posts
    87
    Thank Post
    19
    Thanked 21 Times in 18 Posts
    Rep Power
    25
    If the above has descended into gibberish PM me for a chat.

  15. #13

    Join Date
    Mar 2007
    Posts
    1,847
    Thank Post
    92
    Thanked 321 Times in 242 Posts
    Rep Power
    91
    Quote Originally Posted by ShorehamGeek View Post
    OK - Switches first.
    Switch that AP is plugged into you would have 2 VLANs configured.
    ID1 - Default - all ports untagged
    ID2 - Wireless - tagged on the port that the AP is plugged into and any port that is connected to the switch connected to the wireless default gateway.

    If there is another switch between the switch above, and the default gateway, that needs to have both VLANs setup, with the same ID numbers as the switch above, and the port that connects to the switch above needs to be tagged on VLAN ID 2.

    On your unifi controller, the default SSID does not have a tick in the VLAN box, but the other SSID must have a tick in the VLAN box and the ID number of the VLAN you're routing it over (which would have to be "2" in the example above).


    Cool, I'm not far off then, only difference I have between your setup and mine is that I have the uplinks between the switches tagged for ID1. Would that be enough to break it?

  16. #14

    Join Date
    Nov 2009
    Location
    Manchester
    Posts
    1,106
    Thank Post
    6
    Thanked 220 Times in 199 Posts
    Rep Power
    56
    Yes for Netgears

  17. #15
    ShorehamGeek's Avatar
    Join Date
    Feb 2006
    Location
    Shoreham
    Posts
    87
    Thank Post
    19
    Thanked 21 Times in 18 Posts
    Rep Power
    25
    Yes for HP too.



SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Anyone got a HP to Netgear VLAN working?
    By ChrisH in forum Wireless Networks
    Replies: 7
    Last Post: 7th December 2006, 12:14 PM
  2. VLAN setup
    By dezt in forum Wireless Networks
    Replies: 4
    Last Post: 29th November 2006, 09:36 AM
  3. Question about VLans.............help?
    By Kyle in forum Windows
    Replies: 11
    Last Post: 6th November 2006, 01:48 PM
  4. How do you seperate your networks. Subnet / Vlan
    By drjturner in forum Wireless Networks
    Replies: 16
    Last Post: 28th September 2006, 08:24 AM
  5. Changing port vLANs on an HP ProCurve switch
    By MrDylan in forum Hardware
    Replies: 6
    Last Post: 9th March 2006, 04:13 PM

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •