Introduction
In this article, we will discuss how to configure multiple VLANs on a Cisco Catalyst 3850 switch and connect them to the internet using TP-Link AX20 and Asus RT-N12 routers without inter-VLAN routing. This setup is useful for creating isolated networks where you want to prevent traffic between VLANs.
Prerequisites
Before we begin, ensure the following:
- Two or more VLANs are configured on the Cisco Catalyst 3850 switch.
- TP-Link AX20 or Asus RT-N12 routers are connected to the switch.
- The switch, routers, and computers are connected to their respective networks.
Configuring VLANs on Cisco Catalyst 3850 Switch
To configure VLANs on a Cisco Catalyst 3850 switch, follow these steps:
- Enter global configuration mode:
- Create VLANs:
- Name the VLAN:
- Exit configuration mode:
switch# configure terminal
switch(config)# vlan
switch(config-vlan)# name
switch# end
Configuring Access Ports on Cisco Catalyst 3850 Switch
To configure access ports on a Cisco Catalyst 3850 switch, follow these steps:
- Enter interface configuration mode:
- Set the interface mode to access:
- Assign the VLAN:
- Exit configuration mode:
switch# configure terminal
switch(config)# interface
switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan
switch# end
Configuring TP-Link AX20 or Asus RT-N12 Routers as Access Points
To configure TP-Link AX20 or Asus RT-N12 routers as access points, follow these steps:
- Connect the router to the switch:
- Enter the router's web interface:
- Configure the router as an access point:
- Go to the "Wireless" tab and click "WDS"
- Click "Add" and enter the MAC address of the switch port
- Set the WDS mode to "AP"
- Click "Save & Apply"
TP-Link/Asus # Connect one of the LAN ports to a switch port
TP-Link/Asus > Open a web browser and enter the router's IP address (usually 192.168.0.1)
Connecting Computers to the Isolated Networks
To connect computers to the isolated networks, follow these steps:
- Connect the computer to the TP-Link AX20 or Asus RT-N12 router:
- Configure the computer's IP address:
Computer # Connect to one of the LAN ports on the router
Computer > Configure the IP address manually with an IP address within the VLAN's subnet and default gateway as the router's IP address
In this article, we learned how to configure multiple VLANs on a Cisco Catalyst 3850 switch and connect them to the internet using TP-Link AX20 and Asus RT-N12 routers without inter-VLAN routing. We discussed how to create VLANs, configure access ports, and set up the routers as access points. By following these steps, you can create isolated networks where traffic between VLANs is prevented.