• product_router, os_drayos4, task_configuration, tech_lan, tech_vlan, tech_subnetting, tech_dhcp

Use Multiple LAN Subnets with Port-Based VLAN (DrayOS4)

1. Suppose we would like to use three LAN subnets on the router. At LAN >> VLAN Configuration page, and check Enable set the VLAN as follows:

  1. For "VLAN0", select Port 1 as a member, and set Subnet to "LAN1".
  2. For "VLAN1", select Port 2 as a member, and set Subnet to "LAN2".
  3. For "VLAN2", select Port 3 and Port 4 as a member, and set Subnet to "LAN3". (Note that once VLAN configuration is enabled, make sure every LAN port is a member of at least one VLAN.)
a screenshot of VLAN settings on DrayOS

2. At the page of LAN >> General Setup, check the "Enable" box of LAN2 and LAN3. Then click OK to save the configuration and reboot the router.

Enable more LAN Subnet on DrayOS

3. You can edit the detailed IP and DHCP settings by entering Details Page.

a screenshot of LAN setup on DrayOS

With the above configuration, the device connecting to LAN Port 1 will belongs to LAN1, and get an IP address in the 192.168.1.0/24 subnet; The device connecting to LAN Port 2 will belongs to LAN2, and get an IP address of 192.168.2.0/24 subnet; The device connecting to LAN Port 3 and Port 4 will belong to LAN3 and get an IP address in 192.168.3.0/24 subnet.

Checking the IP configuration of client on LAN Port 1