- 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:
- For "VLAN0", select Port 1 as a member, and set Subnet to "LAN1".
- For "VLAN1", select Port 2 as a member, and set Subnet to "LAN2".
- 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.)
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.
3. You can edit the detailed IP and DHCP settings by entering Details Page.
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.
