Wie konfiguriert man mehrere LAN-Subnetze?

There are two types of VLAN. One is Port Based VLAN; the other is Tag Based VLAN. Refer to the following sections for learning the usage of VLAN.

I. Port Based VLAN

Vigor2830 can divide the physical LAN ports into several groups. For example, it can divide the internal departments of a company into three different groups. Each group uses different network segment. See the following graphic for an example.

Port-Based-VLAN Port-Based-VLAN Port-Based-VLAN Port-Based-VLAN

Port-Based-VLAN

Group 0 (VLAN0)(Human Resource): LAN Port 1 IP: 192.168.1.0/24
Group 1 (VLAN1)(Finance Dept): LAN Port 2 IP: 192.168.3.0/24
Group 2 (VLAN2)(Sales Dept.): LAN Port 3、Port 4 IP: 192.168.5.0/24

Configuration:

1. In the page of LAN >> VLAN Configuration, check the box of Enable to enable the function of VLAN Configuration.
2. For VLAN0 setting, check P1 and set LAN1 as the Subnet.
3. For VLAN1 setting, check P2 and set LAN2 as the Subnet.
4. For VLAN2 setting, check P3 and P4, and set LAN3 as the Subnet.

LAN >> VLAN-Configuration LAN >> VLAN-Configuration LAN >> VLAN-Configuration LAN >> VLAN-Configuration

LAN >> VLAN-Configuration

5. In the page of LAN >> General Setup, check the Status box of LAN2 and LAN3 and enable the function of DHCP.

LAN >> General-Setup LAN >> General-Setup LAN >> General-Setup LAN >> General-Setup

LAN >> General-Setup

After finishing the above configuration, the equipment connecting to Vigor2830 LAN Port can get the corresponding IP address of the network segment.

The equipment connecting to Vigor2830 LAN Port 1 (LAN1) can get the IP address of 192.168.1.0/24
The equipment connecting to Vigor2830 LAN Port 2 (LAN2) can get the IP address of 192.168.3.0/24
The equipment connecting to Vigor2830 LAN Port 3 and Port 4 (LAN3) can get the IP address of 192.168.5.0/24

For the detailed settings of the network segment, open LAN>>General Setup and click Details Page. Adjust the settings for your request. Refer to the following figure.

LAN >> General-Setup LAN >> General-Setup LAN >> General-Setup LAN >> General-Setup

LAN >> General-Setup

6. To make any two of VLAN groups linked with each other, just check the boxes of the ones in the field of Inter-LAN Routing in the page of LAN >> General Setup. Refer to the following figure. LAN2 and LAN3 are linked.

Inter-LAN-Routing Inter-LAN-Routing Inter-LAN-Routing Inter-LAN-Routing

Inter-LAN-Routing

II. Tag Based VLAN

By identifying the tagged message, Vigor2830 can divide the LAN Port into several VLAN groups. Such LAN port with tagged information will accept the packets only with VLAN ID number.

For example, Vigor2830 can divide the internal departments of a company into four different groups by using VigorSwitch 2240. Each group uses different network segment and does not link for each other. VigorSwitch 2240 Trunk Port 23 and Vigor2830 LAN Port 4 are connected with network cable. See the following graphic for an example.

TAG-Based-VLAN TAG-Based-VLAN TAG-Based-VLAN TAG-Based-VLAN

TAG-Based-VLAN

Group 0 (VLAN0)( Human Resource): LAN Port 4 IP: 192.168.1.0/24
Group 1 (VLAN1)( Finance Dept): LAN Port 4 IP: 192.168.3.0/24
Group 2 (VLAN2)( Sales Dept.): LAN Port 4 IP: 192.168.5.0/24
Group 3 (VLAN3)(R&D): LAN Port 4 IP: 192.168.7.0/24

Configuration for Vigor2830:

1. In the page of LAN >> VLAN Configuration, check the box of Enable to enable the function of VLAN Configuration.
2. To activate the function of VLAN Tag for VLAN0 setting, check the box of Enable and type the value (7) for VID setting. Then check P4 and set LAN1 as the Subnet.
3. To activate the function of VLAN Tag for VLAN1 setting, check the box of Enable and type the value (8) for VID setting. Then check P4 and set LAN2 as the Subnet.
4. To activate the function of VLAN Tag for VLAN2 setting, check the box of Enable and type the value (9) for VID setting. Then check P4 and set LAN3 as the Subnet.
5. To activate the function of VLAN Tag for VLAN3 setting, check the box of Enable and type the value (10) for VID setting. Then check P4 and set LAN4 as the Subnet.

LAN >> VLAN-Configuration LAN >> VLAN-Configuration LAN >> VLAN-Configuration LAN >> VLAN-Configuration

LAN >> VLAN-Configuration

6. In the page of LAN >> General Setup, check the Status box of LAN2, LAN3 and LAN4 and enable the function of DHCP.

LAN >> General-Setup LAN >> General-Setup LAN >> General-Setup LAN >> General-Setup

LAN >> General-Setup

For the detailed settings of the network segment, open LAN>>General Setup and click Details Page. Adjust the settings for your request. Refer to the following figure.

LAN >> General-Setup LAN >> General-Setup LAN >> General-Setup LAN >> General-Setup

LAN >> General-Setup

Configuration for VigorSwitch 2240:

1. Open Vlan>>Tag-based Group.
2. Add four VID groups. In this case, we can explanation it with Port 15, 16, 17, 18 and Trunk Port 23.

Configuration-for-VigorSwitch-2240 Configuration-for-VigorSwitch-2240 Configuration-for-VigorSwitch-2240 Configuration-for-VigorSwitch-2240

Configuration-for-VigorSwitch-2240

VLAN Name 2830-VID7, Port Members = 15、23
VLAN Name 2830-VID8, Port Members = 16、23
VLAN Name 2830-VID9, Port Members = 17、23
VLAN Name 2830-VID10, Port Members = 18、23

3. Open Vlan>> Ports and set the VID value with role for each Port:

Port 15 VID = 7 Role = Access
Port 16 VID = 8 Role = Access
Port 17 VID = 9 Role = Access
Port 18 VID = 10 Role = Access
Port 23 VID = 1 Role = Trunk

Port 23 is set with Trunk in this example and will transfer the packets with VLAN Tag information. That is, packets with VID 7, 8, 9 and 10 will be transferred to Vigor2830 by Port 23 and VID information will be retained.

VLAN-Ports VLAN-Ports VLAN-Ports VLAN-Ports

VLAN-Ports

4. After finishing the above configuration, the equipment connecting to VigorSwitch Port 15, 16, 17 and 18 can get the corresponding IP address(es) of the network segment.

The equipment connecting to VigorSwitch Port 15 can get the IP address of 192.168.1.0/24
The equipment connecting to VigorSwitch Port 16 can get the IP address of 192.168.3.0/24
The equipment connecting to VigorSwitch Port 17 can get the IP address of 192.168.5.0/24
The equipment connecting to VigorSwitch Port 18 can get the IP address of 192.168.7.0/24

5. To make any two of VLAN groups of Tag Based VLAN linked with each other, just check the boxes of the ones in the field of Inter-LAN Routing in the page of LAN >> General Setup. Refer to the following figure. LAN2 and LAN3 are linked.

Inter-LAN-Routing Inter-LAN-Routing Inter-LAN-Routing Inter-LAN-Routing

Inter-LAN-Routing