VLAN Routing on Vigor L2+ Switch

Vigor Router can separate different networks at Layer 2 (MAC level) with 802.1Q VLAN tags and have the ability to route the traffic between VLANs.

Supposing there is a device connected under a switch and the gateway is set to Vigor Router. The switch will add a VLAN tag for the traffic from this device and forward it to the Vigor Router, then the router will route this traffic to the other VLAN.

In this case, the routing performance between VLANs may be limited by the router's physical link. Take Vigor2866 and PQ2200xb for example, instead of the 2.5Gbps link speed, the routing throughput between VLANs is limited by the 1Gbps uplink to the Vigor2866.

Vigor L2+ Switch PQ2200xb and P2540x can be used to perform routing between separate networks at Layer 3 (IP level) for higher performance.

This article demonstrates how to configure VLAN routing on a Vigor Switch.

Vigor2866 LANs:
LAN1: 192.168.66.1/24, untagged
LAN2: 192.168.67.1/24, VID 20
PQ2200xb
VLAN1: 192.168.67.254/24, VID 20
VLAN2: 192.168.100.254/24, VID 100
VLAN3: 192.168.200.254/24, VID 200
Vigor Router Setup

1. Go to LAN >> VLAN to enable the VLAN function and configure it as follows.

2. Go to LAN >> General Setup. Enable LAN interfaces and edit the IP as follows.

3. Go to Routing >> Static Route. Add two routes for LAN3 and LAN4 which point to the switch's LAN2 interface IP which will be configured later in the switch setup.

Since LAN3 and LAN4 are created on the switch, it is needed to add these two routes on the router to forward the incoming traffic back to the devices.

Switch Setup (For the model PQ2200xb)

1. Go to Configuration / VLAN Setup. Add VLANs for LAN2, LAN3, and LAN4.

2. Go to Configuration / Port Setup. Set up the ports devices and the router would be connected in the VLAN tab.

In this article,

We can select multiple ports and click Batch Edit to configure them at once.

GE1~GE7:

GE16:

3. Go to Configuration / L3 Network. Add the interfaces of LAN2, LAN3, and LAN4 for VLAN Routing in the IP Network tab.

Note:
Management VLAN interface cannot be used for VLAN routing.

4. Enable DHCP Server for LAN3 and LAN4.

The LAN DHCP Gateway configuration must be set to use the Switch's VLAN Routing interface address, configured in step 3. Take LAN3 for example, 192.168.100.254 is the switch's VLAN Routing interface address. Once the traffic is sent, it will be forwarded to the switch's VLAN Routing interface. Then the switch routes the traffic to the other VLAN.

5. In the VLAN Routing tab, switch on the option VLAN Routing Enabled and configure it as follows to assign a default route for devices connected to the switch.

It is important that the Gateway of the Default Route points to one of the Router's interfaces. Otherwise, devices connected to the switch will not be able to access the Internet.

Switch Setup (For the model P2540x)

1. Go to Switch LAN > VLAN Management > Create VLAN. Add VLANs for LAN2, LAN3, and LAN4.

2. In the Interface Settings. Set up the ports devices and the router would be connected.

In this article,

Published On:2024-08-19 

Was this helpful?   

book icon

Related Articles