Changes

2,481 bytes added ,  15:30, 16 August 2023
no edit summary
Line 1: Line 1: −
=Summary=
+
'''''Note: [[VLAN:_Tag-Based | click here]]''''' ''for the old style WebUI user manual page.''
 +
 
 +
=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 9:  
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>>interfaces>>
+
Go to Network → Interfaces
Add two new LAN interfaces by typing "New LAN Names" and clicking add
+
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, for "protocol" select Static.
+
The configuration window will appear, in the "Protocol" drop-down box 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]]
   −
Add the new IP address for the LAN click save.
+
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
+
'''''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]]
 +
 +
Click on Setup DHCP Server
    
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_dhcp_v1.png|border|class=tlt-border]]
 
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_dhcp_v1.png|border|class=tlt-border]]
 +
 +
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.
    
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_dhcp_enable_v1.png|border|class=tlt-border]]
 
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_lan_dhcp_enable_v1.png|border|class=tlt-border]]
 +
 +
===Creating new VLANS===
 +
 +
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]]
 +
 +
Go to VLAN 1 and turn off “Untagged” for LAN 2 and LAN 3.
    
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_vlan_off_v1.png|border|class=tlt-border]]
 
[[File:Networking_rut_manual_vlan_tagged_based_device_settings_vlan_off_v1.png|border|class=tlt-border]]
 +
 +
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”.
 +
Click Save & Apply
 +
 +
'''''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.'' 
    
[[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]]
 +
 +
===Assigning LAN networks===
 +
 +
Go to Network → Interfaces
 +
 +
Click “edit” on the new LAN interfaces.
 +
 +
In the configuration window, choose the "Physical Settings" tab and add the Ethernet port you choose to assign to the LAN. ''In this case I assigned VLAN 2 to LAN_2 on Ethernet port 2.'' Click Save & Apply
 +
    
[[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_physical_settings_v1.png|border|class=tlt-border]]
 +
 +
The new LAN interface should now show active.
    
[[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 =
 +
 +
Navigate to System → CLI
 +
 +
Sign into the CLI and run route-n command and should see something like the following
    
[[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]]
 +
 +
 +
 +
'''To further test if the changes were successful, download the Realtek Ethernet Diagnostic Utility.'''
 +
 +
 +
 +
[https://www.realtek.com/en/directly-download?downloadid=627bfc4037f338432811cfa48b5a5724 Realtek Ethernet Diagnostic Tool]
 +
 +
 +
Change your wired connection from your PC to Ethernet Port 3 on the Router.
 +
 +
Open the Realtek Ethernet Diagnostic Utility application on your pc.  Click on "Realtek PCIe Gbe Family Controller"
    
[[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]]
 +
 +
Select "VLAN"
    
[[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]]
 +
 +
Type "VLAN ID 2" to the box on the right and click "Add" at the bottom. 
 +
''If done correctly this will cause you to lose network service since VLAN 2 is not added to LAN Port 3''
    
[[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]]
 +
 +
Delete VLAN ID 2 from the Utility and add VLAN ID 3.
 +
''Your network should be back online after a few moments.''
    
[[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]]
 +
 +
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.
    
[[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]]
 +
 +
Delete VLAN ID 3 and add VLAN ID 1 and enter the “ipconfig /all" command in Command Prompt again and you should receive an IP address from the LAN network.
    
[[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]]
 +
[[Category:LAN]]

Navigation menu