Configuring VLANs for Internet Access with HPE 1920S 24G Layer 3 Switch and Asus RT-AC87U Router
This article will provide a detailed guide on how to configure a network involving an HPE 1920S 24G Layer 3 Switch and an Asus RT-AC87U Router, dividing the network into two VLANs.
Prerequisites
- HPE 1920S 24G Layer 3 Switch
- Asus RT-AC87U Router
- At least two devices to be connected to the network (e.g. computers, laptops, etc.)
Step 1: Configuring VLANs on the HPE 1920S 24G Layer 3 Switch
The first step is to configure the VLANs on the HPE 1920S 24G Layer 3 Switch. To do this, follow these steps:
- Connect to the switch using a web browser and log in with your credentials.
- Navigate to
VLAN > VLAN Management > VLANsand click onNew. - Enter a name for the VLAN (e.g. "VLAN1") and set the
VIDto "1". - Click
Addto create the VLAN. - Repeat steps 3 and 4 to create a second VLAN (e.g. "VLAN2").
Step 2: Configuring the Trunk Port on the HPE 1920S 24G Layer 3 Switch
The next step is to configure the trunk port on the HPE 1920S 24G Layer 3 Switch. This will allow the switch to carry traffic for multiple VLANs.
- Connect to the switch using a web browser and log in with your credentials.
- Navigate to
VLAN > VLAN Management > Trunksand click onNew. - Select the interface that will be used as the trunk port (e.g. "GigabitEthernet 1/0/1") and set the
Allowed VLANsto include both VLANs created in step 1. - Click
Addto create the trunk port.
Step 3: Configuring the Asus RT-AC87U Router
The final step is to configure the Asus RT-AC87U Router to work with the VLANs created on the HPE 1920S 24G Layer 3 Switch. To do this, follow these steps:
- Connect to the router using a web browser and log in with your credentials.
- Navigate to
LAN > VLANand click onAdd. - Enter a name for the VLAN (e.g. "VLAN1") and set the
VIDto match the VLAN created on the switch. - Set the
Device Typeto "switch" and enter the IP address of the HPE 1920S 24G Layer 3 Switch. - Click
OKto create the VLAN. - Repeat steps 3-5 to create a second VLAN (e.g. "VLAN2").
In this article, we have covered the steps to configure a network involving an HPE 1920S 24G Layer 3 Switch and an Asus RT-AC87U Router, dividing the network into two VLANs. By following the steps outlined in this article, you will be able to properly set up your network and ensure that your devices are able to communicate with each other within their respective VLANs.