Difference between revisions of "VLAN: Tag-Based RUTOS new"
(10 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
VLANs allow network administrators to group hosts together even if the hosts are not on the same network switch. This can greatly simplify network design and deployment, because VLAN membership can be configured through software. Without VLANs, grouping hosts according to their resource needs necessitates the labor of relocating nodes or rewiring data links. It also has benefits in allowing networks and devices that must be kept separate to share the same physical cabling without interacting, for reasons of simplicity, security, traffic management, or economy. For example, a VLAN could be used to separate traffic within a business due to users, and due to network administrators, or between types of traffic, so that users or low priority traffic cannot directly affect the rest of the network's functioning. Many Internet hosting services use VLANs to separate their customers' private zones from each other, allowing each customer's servers to be grouped together in a single network segment while being located anywhere in their datacenter. Some precautions are needed to prevent traffic "escaping" from a given VLAN, an exploit known as VLAN hopping. | VLANs allow network administrators to group hosts together even if the hosts are not on the same network switch. This can greatly simplify network design and deployment, because VLAN membership can be configured through software. Without VLANs, grouping hosts according to their resource needs necessitates the labor of relocating nodes or rewiring data links. It also has benefits in allowing networks and devices that must be kept separate to share the same physical cabling without interacting, for reasons of simplicity, security, traffic management, or economy. For example, a VLAN could be used to separate traffic within a business due to users, and due to network administrators, or between types of traffic, so that users or low priority traffic cannot directly affect the rest of the network's functioning. Many Internet hosting services use VLANs to separate their customers' private zones from each other, allowing each customer's servers to be grouped together in a single network segment while being located anywhere in their datacenter. Some precautions are needed to prevent traffic "escaping" from a given VLAN, an exploit known as VLAN hopping. | ||
− | This chapter is an overview of the '''VLAN''' function of ''' | + | This chapter is an overview of the '''VLAN''' function of '''RUTX''' devices. |
==Configuration in Router's web interface== | ==Configuration in Router's web interface== | ||
Line 35: | Line 35: | ||
# Enter Name: '''LAN''' | # Enter Name: '''LAN''' | ||
# Enter IPv4 address: '''192.168.5.1''' | # Enter IPv4 address: '''192.168.5.1''' | ||
− | # Enter IPv4 | + | # Enter IPv4 net mask: '''255.255.255.0''' |
# Enable DHCPv4: '''on''' | # Enable DHCPv4: '''on''' | ||
[[File:Tag_Based_1_1.png|border|class=tlt-border|center|1000px]] | [[File:Tag_Based_1_1.png|border|class=tlt-border|center|1000px]] | ||
Line 47: | Line 47: | ||
# Enter Name: '''LAN_2''' | # Enter Name: '''LAN_2''' | ||
# Enter IPv4 address: '''192.168.10.1''' | # Enter IPv4 address: '''192.168.10.1''' | ||
− | # Enter IPv4 | + | # Enter IPv4 net mask: '''255.255.255.0''' |
# Enable DHCPv4: '''on''' | # Enable DHCPv4: '''on''' | ||
[[File:Tag_Based_2_2.png|border|class=tlt-border|center|1000px]] | [[File:Tag_Based_2_2.png|border|class=tlt-border|center|1000px]] | ||
− | =====Physical | + | =====Physical Settings===== |
---- | ---- | ||
Make the following changes: | Make the following changes: | ||
Line 62: | Line 62: | ||
=====General Settings===== | =====General Settings===== | ||
---- | ---- | ||
+ | # Enable Interface: '''On''' | ||
# Enter Name: '''LAN_3''' | # Enter Name: '''LAN_3''' | ||
− | |||
# Enter IPv4 address: '''192.168.15.0''' | # Enter IPv4 address: '''192.168.15.0''' | ||
# Enter IPv4 netmask: '''255.255.255.0''' | # Enter IPv4 netmask: '''255.255.255.0''' | ||
Line 69: | Line 69: | ||
[[File:Tag_Based_3_3_3.png|border|class=tlt-border|center|1000px]] | [[File:Tag_Based_3_3_3.png|border|class=tlt-border|center|1000px]] | ||
− | =====Physical | + | =====Physical Settings===== |
---- | ---- | ||
Make the following changes: | Make the following changes: | ||
Line 79: | Line 79: | ||
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_interfaces_v1.png|border|class=tlt-border]] | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_interfaces_v1.png|border|class=tlt-border]] | ||
− | ===Testing VLAN Configuration=== | + | ===Testing VLAN Tag Configuration=== |
---- | ---- | ||
− | |||
Change your wired connection from your PC to your device LAN 3 port. | Change your wired connection from your PC to your device LAN 3 port. | ||
Line 91: | Line 90: | ||
Open network settings on your PC: | Open network settings on your PC: | ||
− | 1. Open network Ethernet interface '''"Properties"''' | + | 1. Open network Ethernet interface '''"Properties"'''. |
[[File:Tagged_PC_1.png|border|class=tlt-border]] | [[File:Tagged_PC_1.png|border|class=tlt-border]] | ||
Line 103: | Line 102: | ||
[[File:Tagged_PC_3.png|border|class=tlt-border]] | [[File:Tagged_PC_3.png|border|class=tlt-border]] | ||
− | 4. Set ''' "VLAN ID" ''' to values that were assigned to LAN3 port in the VLAN configuration '''(WebUI -> Network -> VLAN -> Port Based -> Port based VLAN -> VLAN ID ''' in this case values are ''' "1" ''' and ''' "3" '''. Depending on the '''"VLAN ID"''' vlaue your network device will be assigned to different LAN network. | + | 4. Set ''' "VLAN ID" ''' to values that were assigned to LAN3 port in the VLAN configuration '''(WebUI -> Network -> VLAN -> Port Based -> Port based VLAN -> VLAN ID) ''' in this case values are ''' "1" ''' and ''' "3" '''. Depending on the '''"VLAN ID"''' tag vlaue your network device will be assigned to different LAN network. |
[[File:Tagged_PC_4.png|border|class=tlt-border]] | [[File:Tagged_PC_4.png|border|class=tlt-border]] |
Latest revision as of 10:53, 7 August 2024
The information on this page is updated in accordance with the 00.07.08 firmware version .
Summary
A virtual LAN (VLAN) is any broadcast domain that is partitioned and isolated in a computer network at the data link layer (OSI layer 2). LAN is the abbreviation for local area network and in this context virtual refers to a physical object recreated and altered by additional logic. VLANs work by applying tags to network packets and handling these tags in networking systems - creating the appearance and functionality of network traffic that is physically on a single network but acts as if it is split between separate networks. In this way, VLANs can keep network applications separate despite being connected to the same physical network, and without requiring multiple sets of cabling and networking devices to be deployed.
VLANs allow network administrators to group hosts together even if the hosts are not on the same network switch. This can greatly simplify network design and deployment, because VLAN membership can be configured through software. Without VLANs, grouping hosts according to their resource needs necessitates the labor of relocating nodes or rewiring data links. It also has benefits in allowing networks and devices that must be kept separate to share the same physical cabling without interacting, for reasons of simplicity, security, traffic management, or economy. For example, a VLAN could be used to separate traffic within a business due to users, and due to network administrators, or between types of traffic, so that users or low priority traffic cannot directly affect the rest of the network's functioning. Many Internet hosting services use VLANs to separate their customers' private zones from each other, allowing each customer's servers to be grouped together in a single network segment while being located anywhere in their datacenter. Some precautions are needed to prevent traffic "escaping" from a given VLAN, an exploit known as VLAN hopping.
This chapter is an overview of the VLAN function of RUTX devices.
Configuration in Router's web interface
Vlan Tag Configuration
Open router‘s WebUI and navigate to Network → VLAN → Port Based configuration:
Port based VLAN
Add new VLANs by clicking and Make following changes:
- VLAN ID: 1 | lan1: Untagged | Lan2: Off | Lan3: Tagged
- VLAN ID: 2 | lan1: Off | Lan2: Tagged | Lan3: Off
- VLAN ID: 3 | lan1: Off | Lan2: Off | Lan3: Tagged
Lan Configuration
Open router’s WebUI → Network → LAN click on current available LAN interface configuration:
LAN Interface Configuration
General Settings
Make the following changes:
- Enter Name: LAN
- Enter IPv4 address: 192.168.5.1
- Enter IPv4 net mask: 255.255.255.0
- Enable DHCPv4: on
LAN 2 Interface Configuration
Click button in new window make following changes:
General Settings
- Enable Interface: On
- Enter Name: LAN_2
- Enter IPv4 address: 192.168.10.1
- Enter IPv4 net mask: 255.255.255.0
- Enable DHCPv4: on
Physical Settings
Make the following changes:
- Select Interface : eth0.2
LAN 3 Interface Configuration
Click button in new window make following changes:
General Settings
- Enable Interface: On
- Enter Name: LAN_3
- Enter IPv4 address: 192.168.15.0
- Enter IPv4 netmask: 255.255.255.0
- Enable DHCPv4: on
Physical Settings
Make the following changes:
- Select Interface : eth0.3
Lan Interfaces After Successful Configuration
Testing VLAN Tag Configuration
Change your wired connection from your PC to your device LAN 3 port.
PC Network Settings
How to Assign Tagged Vlan To Your PC Ethernet Interface
Open network settings on your PC:
1. Open network Ethernet interface "Properties".
2. Click "Configure" inside "Ethernet Properties".
3. Select "Advanced" tab in the new window.
4. Set "VLAN ID" to values that were assigned to LAN3 port in the VLAN configuration (WebUI -> Network -> VLAN -> Port Based -> Port based VLAN -> VLAN ID) in this case values are "1" and "3" . Depending on the "VLAN ID" tag vlaue your network device will be assigned to different LAN network.
5. After setting new "VLAN ID" always execute command in your PC's Command Prompt: ipconfig/renew
Network Configuration Depending On The VLAN ID
VLAN ID 1
Open Command Prompt on your pc and enter the command "ipconfig /all". You will see that you now have an IP address from the LAN network.
VLAN ID 3
Open Command Prompt on your pc and enter the command "ipconfig /all". You will see that you now have an IP address from the LAN_3 network.