Difference between revisions of "VLAN: Tag-Based RUTOS"
Justas.Cip (talk | contribs) |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | =Summary = | + | =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. | 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. | ||
Line 7: | Line 7: | ||
This chapter is an overview of the '''VLAN''' function of '''RUT''' devices. | This chapter is an overview of the '''VLAN''' function of '''RUT''' devices. | ||
− | =Configuration in Router's web interface = | + | =Configuration in Router's web interface= |
===Creating new LAN's=== | ===Creating new LAN's=== | ||
− | Go to Network | + | Go to Network>>interfaces>> |
− | Add two new LAN interfaces by typing "New LAN Names" and clicking | + | Add two new LAN interfaces by typing "New LAN Names" and clicking add |
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_creation_v1.png|border|class=tlt-border]] | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_creation_v1.png|border|class=tlt-border]] | ||
− | The configuration window will appear, | + | The configuration window will appear, for "protocol" select Static. |
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_protocol_v1.png|border|class=tlt-border]] | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_protocol_v1.png|border|class=tlt-border]] | ||
Line 22: | Line 22: | ||
Add the new IP address for the LAN interface | Add the new IP address for the LAN interface | ||
− | + | '''Note:''' The LANS must be on a different subnet from each other. For example: LAN 192.168.1.1,LAN_2, 192.168.10.1, LAN_3 192.168.15.1 | |
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_ip_address_v1.png|border|class=tlt-border]] | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_ip_address_v1.png|border|class=tlt-border]] | ||
Line 36: | Line 36: | ||
===Creating new VLANS=== | ===Creating new VLANS=== | ||
− | Go to Network | + | Go to Network>>VLAN>>Port-Based VLANs and click "Add" to create two new VLANs. |
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_add_vlan_v1.png|border|class=tlt-border]] | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_add_vlan_v1.png|border|class=tlt-border]] | ||
Line 45: | Line 45: | ||
Under VLAN 2 and choose the drop-down box under LAN 2 and select “Tagged”. Then do the same for VLAN 3 under LAN 3 drop-down box choose “Tagged”. | Under VLAN 2 and choose the drop-down box under LAN 2 and select “Tagged”. Then do the same for VLAN 3 under LAN 3 drop-down box choose “Tagged”. | ||
− | |||
− | + | '''Note:''' You can Tag more than one VLAN for the Same Port with “Tagged”, meaning multiple Tagged VLANs can be used on the same Port. In this example I have turned on “Tagged” for VLAN 1 and VLAN 3 on LAN 3 for testing later. Click Save & Apply | |
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_vlan_tagged_v1.png|border|class=tlt-border]] | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_vlan_tagged_v1.png|border|class=tlt-border]] | ||
Line 53: | Line 52: | ||
===Assigning LAN networks=== | ===Assigning LAN networks=== | ||
− | Go to Network | + | Go to Network>>Interfaces |
− | + | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_physical_settings_v1.png|border|class=tlt-border]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
[[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 Configuration= |
− | |||
− | |||
− | |||
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_routes_v1.png|border|class=tlt-border]] | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_routes_v1.png|border|class=tlt-border]] | ||
Line 76: | Line 67: | ||
− | + | To further test if the changes were successful, download the Realtek Ethernet Diagnostic Utility. | |
Line 83: | Line 74: | ||
− | |||
− | |||
− | |||
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_realtek_setting_v1.png|border|class=tlt-border]] | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_realtek_setting_v1.png|border|class=tlt-border]] | ||
− | + | ||
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_realtek_vlan_v1.png|border|class=tlt-border]] | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_realtek_vlan_v1.png|border|class=tlt-border]] | ||
− | + | ||
− | |||
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_realtek_vlan_id2_v1.png|border|class=tlt-border]] | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_realtek_vlan_id2_v1.png|border|class=tlt-border]] | ||
− | + | ||
− | |||
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_realtek_vlan_id3_v1.png|border|class=tlt-border]] | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_realtek_vlan_id3_v1.png|border|class=tlt-border]] | ||
− | + | ||
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_command_prompt_id3_v1.png|border|class=tlt-border]] | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_command_prompt_id3_v1.png|border|class=tlt-border]] | ||
− | + | ||
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_command_prompt_id1_v1.png|border|class=tlt-border]] | [[File:Networking_rut_manual_vlan_tagged_based_device_settings_command_prompt_id1_v1.png|border|class=tlt-border]] | ||
− |
Revision as of 18:53, 12 August 2022
Main Page > General Information > Configuration Examples > LAN > VLAN: Tag-Based RUTOSSummary
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 RUT devices.
Configuration in Router's web interface
Creating new LAN's
Go to Network>>interfaces>> Add two new LAN interfaces by typing "New LAN Names" and clicking add
The configuration window will appear, for "protocol" select Static.
Add the new IP address for the LAN interface
Note: The LANS must be on a different subnet from each other. For example: LAN 192.168.1.1,LAN_2, 192.168.10.1, LAN_3 192.168.15.1
Click on Setup DHCP Server
The parameters will be set to default parameters for the DHCP server for the LAN. You can change these to suit your requirements. Click Save & Apply.
Creating new VLANS
Go to Network>>VLAN>>Port-Based VLANs and click "Add" to create two new VLANs.
Go to VLAN 1 and turn off “Untagged” for LAN 2 and LAN 3.
Under VLAN 2 and choose the drop-down box under LAN 2 and select “Tagged”. Then do the same for VLAN 3 under LAN 3 drop-down box choose “Tagged”.
Note: You can Tag more than one VLAN for the Same Port with “Tagged”, meaning multiple Tagged VLANs can be used on the same Port. In this example I have turned on “Tagged” for VLAN 1 and VLAN 3 on LAN 3 for testing later. Click Save & Apply
Assigning LAN networks
Go to Network>>Interfaces
Testing VLAN Configuration
To further test if the changes were successful, download the Realtek Ethernet Diagnostic Utility.
Realtek Ethernet Diagnostic Tool