How to configure a full-solution D-LINK switch in VLAN subnet of Enterprise Network

Source: Internet
Author: User

Full solution D-LINK Switch configuration in the enterprise network VLAN subnet usage, on the D-LINK Switch configuration problems, from the following aspects: from the enterprise network plan four VLAN subnet classification and structure, DES-3326SR Switch configuration process is introduced. The example below gives a detailed explanation.

VLAN division should be combined with IP planning so that a VLAN interface IP address is the subnet segment of a department, and a VLAN interface IP address is a sub-gateway. VLAN should be divided by department. The host IP addresses of the same department are allocated to a subnet Based on VLAN interface IP addresses and belong to the same VLAN. This not only benefits security, but also facilitates the management and monitoring of network administrators. Note: The Gateways of clients in each VLAN correspond to the interface IP addresses of each VLAN.

In this enterprise network, four VLAN subnets are planned to correspond to four important departments. The author believes that this is also the most common Department structure of small enterprises, namely:
VLAN10-General Administration Office;
VLAN20-Sales Department;
VLAN30-Finance Department;
VLAN40-Data Center (network center ).
After VLAN division, you must configure a "Virtual Interface IP Address" for each VLAN ".
VLAN10--192.168.10.1
VLAN20--192.168.20.1
VLAN30--192.168.30.1
VLAN40--192.168.40.1

VLAN and D-LINK Switch configuration

1. DES-3326SR Switch configuration process of D-LINK:

(1) create a VLAN
DES-3326SR # Configvlandefaultdelete1-24 & O1663; remove Port 1-24 ''contained by default VLAN (default''
DES-3326SR # Createvlanvlan10tag10 & O1663; Create VLAN name vlan10 and Mark VID as 10
DES-3326SR # Createvlanvlan20tag20 & O1663; Create VLAN name vlan20 and Mark VID as 20
DES-3326SR # Createvlanvlan30tag30 & O1663; Create VLAN name vlan10 and Mark VID as 30
DES-3326SR # Createvlanvlan40tag40 & O1663; Create VLAN name vlan10 and Mark VID as 40

(2) Add ports to each VLAN
DES-3326SR # Configvlanvlan10adduntag1-6 & O1663; add Port 1-6 to VLAN10
DES-3326SR # Configvlanvlan20adduntag7-12 & O1663; add Port 1-6 to VLAN20
DES-3326SR # Configvlanvlan30adduntag13-18 & O1663; add Port 1-6 to VLAN30
DES-3326SR # Configvlanvlan40adduntag19-23 & O1663; add Port 1-6 to VLAN40

(3) create a VLAN interface IP Address
DES-3326SR # createipif10192.168.10.1/24VLAN10stateenabled & O1663;
Create an interface if10 to assign VLAN subnet VLAN10 and specify the IP address of the interface as 192.168.10.1/24. Enabled activates this interface after it is created.

In the same way, the D-LINK switch configures other interface IP addresses:
DES-3326SR # createipifif201942520.1/24VLAN20stateenabled
DES-3326SR # createipif30192.168.30.1/24VLAN30stateenabled
DES-3326SR # createipif40192.168.40.1/24VLAN40stateenabled

(4) routing
When configuring the layer-3 function of a layer-3 Switch, if it is only a single layer-3 switch, you only need to configure the virtual interfaces of each VLAN, no routing protocol is configured. Because the virtual interface on a layer-3 Switch appears as a direct route in the switch, static routing or dynamic routing protocol configuration is not required.

2. the VLAN configuration process of DES-3226S L2 Switch:

(1) create a VLAN
DES-3226S # Configvlandefaultdelete1-24 & O1663; remove Port 1-24 ''contained by default VLAN (default''
DES-3226S # Createvlanvlan10tag10 & O1663; Create VLAN name vlan10 and Mark VID as 10

(2) Add ports to each VLAN
DES-3226S # Configvlanvlan10adduntag1-24 & O1663; add Port 1-24 to VLAN10
Similarly, configure other DES-3226S L2 switches. After the completion, you can connect the L2 Switch of each VLAN to the port of the corresponding vlan of the DES-3326SR L3 switch.

3. layer-3 switching for D-LINK Switch configuration

If there are other layer-3 switches, such as another DES-3326SR, they are connected with 24 ports. First, configure the 24 ports of the two DES-3326SR as TRUNK
DES-3326SR # Configvlanvlan10addtag24
DES-3326SR # Configvlanvlan20addtag24
DES-3326SR # Configvlanvlan30addtag24
DES-3326SR # Configvlanvlan40addtag24
DES-3326SR # Configvlanvlan50addtag24
The 24 ports of the two DES-3326SR belong to all VLANs, marking the tag
Configuration of second DES-3326SR
DES-3326SR # Createvlanvlan10tag10
DES-3326SR # Createvlanvlan50tag50
DES-3326SR # createipif201942510.2/24VLAN10stateenabled
DES-3326SR # createipif30192.168.50.1/24VLAN60stateenabled
D-LINK Switch configuration problems come, the second DES-3326SR on the VLAN50 and other VLAN on the first platform can not communicate, need to increase the routing:
DES-3326SR-1 # iproute-static192.168.50.0255.255.255.0192.1168.10.2 means to point to 192.168.50.0/24 next hop IP address is 192.1168.10.2
DES-3326SR-2 # iproute-static192.168.20.0255.255.255.0192.1168.10.1 means to point to 192.168. [2-4] 0.0/24 next hop IP is 192.1168.10.1
# DES-3326SR-2
# DES-3326SR-2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.