PDF download Download Article PDF download Download Article

Do you want to set up a secure guest Wi-Fi network in your home, office, or rental property? If you have a managed switch and a capable router, you can create virtual LANs (VLANs) to isolate wireless users on a separate network. The steps to set up VLANs vary based on your hardware and network , but we can help you get started. This wikiHow article will teach you the basics of setting up a VLAN for guest Wi-Fi in your home or workplace. We'll also walk you through creating VLANs on two popular and easy to configure smart switches—NETGEAR Insight Managed Cloud Smart Switch and Linksys Managed Switch.

Method 1
Method 1 of 3:

Home VLAN Wi-Fi Setup: The Basics

PDF download Download Article
  1. Most routers issued by your ISP don't support creating VLANs out of the box—you'll usually need to add a switch to your network if you want to create VLANs. If a switch is labeled as a managed or smart switch, it likely supports VLANs. However, double-check the product listing to look for VLAN or QoS support before purchase.
    • Managed and smart switches usually have web-based admin interfaces (or mobile apps) that you can use to configure your VLANs. Other switches with VLAN support will require you to log in with a terminal app and run commands at a command prompt.
  2. If your switch has a built-in DHCP server, you can use that to assign IP addresses on each VLAN. However, a lot of switches don't have DHCP support—in this case, you'll need to make sure your router supports VLANs so it can properly assign IP addresses from different subnets on each VLAN.
    Advertisement
  3. You'll need to connect your Wi-Fi access points to the switch so your guests can connect to a different SSID than your main network. You can purchase 2 Wi-Fi access points to accomplish this. Alternatively, you could get a single Wi-Fi access point that can broadcast at least two separate SSIDs—you can then tag and manage all traffic from each SSID separately. Either way, all guest Wi-Fi access would be routed through your primary gateway while remaining separate from your main traffic thanks to the VLAN-capabilities of your switch.
  4. If you just want a separate VLAN for your guests, you'll actually need to create two VLANs—one for your main network and one for your guest network. This is the case whether you have two separate Wi-Fi access points or a single Wi-Fi access point with two SSIDs. Each VLAN will have its own subnet , and the router's DHCP server will assign IP addresses from that subnet to connected devices. [1]
    • Consider whether your guests will need to access things like AirPlay or Chromecast devices while connected to the network—if your guests are connected to a VLAN that's isolated from these smart devices, they won't be able to use them. If these devices are specifically for guest use, you'll need to connect them to the guest VLAN rather than your main VLAN.
  5. The setup for your network will vary based on the hardware you're using and your needs. Here's an example of a basic 2-VLAN setup (one for guests and one for home users):
    • Connect the WAN port of your VLAN-capable router to your modem's LAN port.
    • Connect the main router LAN port to Port 1 of your switch.
    • Connect your Wi-Fi access point(s) to the switch—Port 2 might be your main network, Port 3 (if you have two access points) for your guest network.
  6. You'll want to have an SSID for each VLAN. You might number the first VLAN as 10 , the second as 20 , etc. Do not use VLAN ID 1 as it's reserved for management.
  7. The setup depends on whether your router is acting as a DHCP or your switch. The goal is to assign different subnets to each VLAN so that each connected device is assigned an IP address from its VLAN's subnet automatically.
  8. Use the same VLAN ID numbering as you did on the access point(s). Make sure all VLANs include Port 1, which is your internet connection, as well as the port to which you've connected the Wi-Fi access point. Other than that, include only the ports you want to associate to each VLAN. [2]
    • If you have one Wi-Fi access point with multiple SSIDs, add its port to all VLANs.
    • Depending on your network setup, you might need to "tag" the VLAN traffic on the switch so it can be properly routed while staying separate. This is most common when using two separate switches. Label Port 1 (the internet connection) as "untagged" and the Wi-Fi port(s) as "tagged." When devices connect to an access point, they'll be tagged with their VLAN IDs so the switch knows what to do with the connection.
    • Check your switch's manual to find out the specific process for tagging and trunking.
    • When tagging, set the PVID for Port 1 and your Wi-Fi access point port(s) to 1 . The PVID for all other ports should be set to correspond with its corresponding VLAN ID.
  9. Once you've created VLANs for each SSID, you can update your Wi-Fi access settings and configure your firewall for each VLAN specifically.
  10. Advertisement
Method 2
Method 2 of 3:

NETGEAR Insight Managed Cloud Smart Switch

PDF download Download Article
  1. You can use the Insight app on your Android, iPhone, or iPad to set up and configure VLANs on your NETGEAR Insight Managed Cloud Smart Switch.
  2. If you have an Insight Pro account, you'll need to select your organization first. [3]
  3. You'll see the default VLANs for video and management (VLAN 1).
  4. You'll see the + at the top of the page.
  5. You'll want this to be easily identifiable, such as "Guest."
  6. If this is your first VLAN, enter 2 here. Otherwise, enter the next available ID number.
    • You can use any VLAN ID from 1 to 4093 except for 1 (the management VLAN), 4088 (VOIP), and 4089 (video).
  7. Scroll down and select the drop-down menu next to "Port Members" to view all ports. If you have an 8-port switch, you'll see all 8 ports on the screen. If you have more ports, you'll need to swipe through the screens to see them all.
    • To add a port to your guest VLAN, select a port and tap Untag . All untagged ports will be added to the VLAN. People will be able to connect to these ports and access the internet without seeing traffic on the other (tagged) ports.
    • You must add port 1 to the VLAN in addition to any other ports you wish to add. This is the uplink port—without adding port 1, nobody on the guest VLAN will be able to access the internet.
  8. Now that you've created the VLAN, you'll need to configure the ports you've selected on your switch.
  9. A list of ports will appear.
  10. This will be port 1 and any other ports you selected when adding ports to your guest VLAN.
  11. Once you've saved your changes, guests will be able to connect to the VLAN.
  12. Now that you've set up VLANs on your switch, you can easily create separate SSIDs on your router/Wi-Fi access points to correspond with each VLAN.
  13. Advertisement
Method 3
Method 3 of 3:

Linksys Managed Switch

PDF download Download Article
  1. Log in to your switch's web-based management tool. You can do this by going to https://192.168.1.251 in your web browser and logging in with your administrative username and password. [4]
  2. It's at the top of the page.
  3. You'll see these options in the left panel.
  4. You'll see this at the bottom of the right panel. [5]
  5. It's the first option.
  6. First we'll create a VLAN for guests:
    • Type the VLAN ID. VLAN 1 is for management, so don't enter 1. Choose a number from 2 to 4094 to assign to this VLAN. If entering a range of VLANs, enter the starting and ending ID numbers for the range.
    • Name the VLAN(s). This should be something easy for your guests to identify, such as "Guest."
    • Click Apply . This saves the VLAN.
  7. Now that you have a VLAN for guests, you can return to the VLANs area, select Add , and create a new VLAN for your primary network. Give the second VLAN a different VLAN ID and name, and then click Apply .
  8. You'll see this under "VLAN Management" in the left panel.
  9. Here's where you'll need to specify:
    • Select an interface—GE1 is port 1, GE2 is port 2, etc. You'll need to configure each separately.
    • Click Edit .
    • For "Interface," select Port .
    • For "Interface VLAN Mode," select Trunk for GE1 (your internet connection), and Access for all other ports.
    • Enter the PVID for the selected port (use the VLAN ID) and click Apply . Repeat until you've configured all 3 interfaces.
  10. You now have two VLANs, but they aren't doing anything yet. Here's what you'll need to do:
    • In the left panel, click VLAN Management > VLAN Memberships .
    • In the right panel, select the first VLAN ID and choose Port .
    • Click Search .
    • Select or remove the ports you want to add to this VLAN.
    • Click Apply .
    • Repeat for each VLAN, including VLAN 1.
  11. Now that you've set up VLANs on your switch, you can easily create separate SSIDs on your router/Wi-Fi access points to correspond with each VLAN.
  12. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Video

      Tips

      • If you're not interested in spending money on new hardware, many home routers do allow you to set up a guest Wi-Fi network for guests that only need Wi-Fi access. This would allow your guests to connect to a second SSID on your existing Wi-Fi router—you wouldn't have to give guests your main Wi-Fi password. The setup is significantly easier, though you wouldn't be able to allow guests to connect devices to the internet using an ethernet cable.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 16,027 times.

      Is this article up to date?

      Advertisement