openwrt network switch and router network...overview this tutorial is intended for user which want...
TRANSCRIPT
-
Network Switch And Router VLANS for Home Networks
with
LINKSYS WRT 3200ACM
Version 0.0
-
Versions
Version Date Edited by Comments 0.0 2020-10-24 Martin Côté
Special thanks: Andrew Yee
-
Table of contents 1 Router resetting .................................................................................................................................... 5
1.1 Connecting router ......................................................................................................................... 5
1.2 Setup password ............................................................................................................................. 6
2 Disable Firewall ..................................................................................................................................... 6
3 WAN Interface ....................................................................................................................................... 7
4 Lan Interface ......................................................................................................................................... 8
4.1 Set IP LAN Address ........................................................................................................................ 9
4.2 Advanced setting ......................................................................................................................... 10
4.3 DHCP Server ................................................................................................................................ 10
5 Wireless Interface ............................................................................................................................... 11
6 Setup VLAN ......................................................................................................................................... 13
7 VLAN Interfaces ................................................................................................................................... 14
8 Firewall Traffic rules ............................................................................................................................ 14
9 Create VLAN Interfaces ....................................................................................................................... 15
9.1 Add new interface ....................................................................................................................... 15
10 Create additional wireless interfaces .............................................................................................. 17
10.1 Setup radio1 ................................................................................................................................ 18
10.2 Setup radio2 ................................................................................................................................ 19
11 Attach Interfaces through wireless ................................................................................................. 20
11.1 LAN .............................................................................................................................................. 20
11.2 VLAN20 ........................................................................................................................................ 21
11.3 VLAN30 ........................................................................................................................................ 22
11.4 VLAN40 ........................................................................................................................................ 23
-
Overview
This tutorial is intended for user which want to setup a Linksys WRT 3200ACM as router/switch with VLAN such as:
Installing OpenWrt on WRT 3200ACM will no longer explaining into this documentation because many other articles are available through internet in regards with this.
Objective
The purpose of this documentation is to aim the user to setup the WRT 3200ACM Linksys router step-by-step with OpenWrt. Therefore, we assume that upstream connection (i.e. LRT-214) through the WAN port of the WRT 3200ACM is properly done and no support will be given at this point in order to fix any mishandling configuration.
-
1 Router resetting Prior beginning configuration, the reset must be done to ensure that nothing has been previously configurated in order to avoid unwanted router behavior. Read Linksys documentation if you experience problems with the RESET.
1.1 Connecting router Once the reset is done, the router maybe be accessed through LAN port 1@4 using ethernet cable. Now, you can access your router using the default address 192.168.1.1 from your favorite internet browser and the Password must remain as empty and the click Login:
-
1.2 Setup password In order to protect your configuration, enter your password.
Menu: System/Administration
Then Save button
2 Disable Firewall Menu: System/Startup/Firewall
Disable firewall
-
3 WAN Interface Menu: Network/Interfaces
Select Edit from WAN
Set Protocol Unmanaged
Then Save your change
-
4 Lan Interface Menu: Network/Interfaces
Select Edit from LAN
-
4.1 Set IP LAN Address Set router IP address, IPv4 netmask, IPv4 gateway and custom DNS as:
Then Save your change
-
4.2 Advanced setting Then click again on Edit, select DHCP Server then Advanced Settings
Click Ignore interface
4.3 DHCP Server Select IPv6 Settings
Disable all services
Then Save & Apply your change
-
5 Wireless Interface Menu: Network/Wireless
Set wireless SSID below radio0 as Enable then Edit
-
Set wlan0 ESSID name
Good practice to set your secure password
Then Save your change and Save & Apply and verify that the AP works on vlan1
-
6 Setup VLAN Menu: Network/Switch
Create VLAN 20, VLAN 30 and VLAN 40 and manage VLAN 1 as shown. Also, set WAN port as trunk:
-
7 VLAN Interfaces Menu: Network/Firewall
Then Save & Apply button
8 Firewall Traffic rules The firewall is disabled, but traffic is controlled by zones and all firewalling is done by the LRT-214Select
-
9 Create VLAN Interfaces Menu: Network/Interfaces
Click Add new interface
9.1 Add new interface Set the Name to match your vlan (i.e. vlan20), set Protocol as Unmanaged, select etho.1 into Interface drop list
then click Create interface
-
select Firewall Settings and select your vlan into Create / Assign Firewall-zone drop list
then Save
Repeat Add new interface for vlan30 and vlan40
Once finishing, then Save & Apply button and your interface will look like this:
-
10 Create additional wireless interfaces Menu: Network/Wireless
Set wireless (radio1 and radio2) Enable then Edit
-
10.1 Setup radio1 Set wanl1 ESSID name
Set password
Good practice to set your secure password
-
10.2 Setup radio2 Set wanl2 ESSID name
Set password
Good practice to set your secure password
-
11 Attach Interfaces through wireless Menu: Network/Interfaces
11.1 LAN The wlan0 is currently linked with VLAN1 and need to be removed from LAN interface because the wlan0 will be used for WLAN20
Then, Edit LAN interface
Remove wlan0 and set Interfaces as:
Then Save
-
11.2 VLAN20
Edit VLAN20 interface
Set Bridge interfaces and set Interface as :
Then Save
-
11.3 VLAN30
Edit VLAN30 interface
Set Bridge interfaces and set Interface as :
Then Save
-
11.4 VLAN40
Edit VLAN40 interface
Set Bridge interfaces and set Interface as:
Then Save
When finish, Save & Apply
-
Once completed, Interfaces look like this :