XI. LAN
ExpiredHow to use MAC VLAN on VigorSwitch?
Many DrayTek VigorSwitches, for instance the VigorSwitch P2280x, support MAC-based VLAN assignment. When configured, this allows the switch to link devices to a specified VLAN, identifying those devices by their individual MAC address, or all devices from a specified manufacturer, identified with the first half of the MAC address, the OUI. This classification is based upon the packet header's MAC address.
This article demonstrates how to configure MAC VLAN on a VigorSwitch.
The following configuration will automatically assign IP Phones or any other devices defined with MAC address prefix into a separate VLAN. Traffic from non-defined devices (MAC addresses) will be accepted and put in default non-tagged VLAN.
1. Create a new VLAN for VoIP (i.e. 20). Go to [Switch LAN] > [VLAN Management] > [Create VLAN]
2. Navigate to [Switch LAN] > [VLAN Management] > [Interface Settings]. Define phone ports and set them to the Hybrid mode. For example ports 1 to 8 are Untagged (VLAN 1), and Tagged (VLAN 20)
The configuration can be verified on the same page (below)
3. In the [Switch LAN] > [VLAN Management] > [Interface Settings] define uplink ports (e.g. ports connected to the router or other switches) as Trunk ports.
The configuration can be verified on the same page (below)
4. Now go to [Switch LAN] > [VLAN Management] > [MAC VLAN] > [MAC Group]. Define Groups based on vendor's prefix MAC addresses so that they will be automatically assigned to the VLAN.
5. Bind Group to VLAN on the [Switch LAN] > [VLAN Management] > [MAC VLAN] > [Group Binding] page
6. Once your devices are connected, verify the status on [Switch LAN] > [MAC Address Table] > [Dynamic Learned]
- First Published: 26/03/2021
- Last Updated: 27/04/2021