Please help and thank you in advance! I’ve recently switched over from DD-WRT to OpenWRT and so far I’m thinking it’s more what I’m looking for. I am trying to make some improvements to my network while I’m rebuilding but its been a long time since I’ve gotten this deep into networking so any recommendations are welcome. My goal is to have a segregated WiFi Network for my IoT devices, another segregated network for a guest network and two networks that can talk to each other, my internal WiFi Network and a test WiFi network. I’m building this out on 3 Linksys WRT1900AC v1 routers that are all connected via ethernet in a bus topology and running firmware 19.07.3. I’m only using the WAN port on the Router that is connected to the internet, the other routers are all connected via switch ports. I’ve gone through the documentation at https://openwrt.org/docs/guide-user/network/wifi/guestwifi/guest-wlan as well as multiple related articles I was able to find on google and I’ve been able to get the internal network, guest network and test networks to work but I’m experiencing strange behavior on the IoT network that has led me to some questions.
In troubleshooting I’ve noticed that when creating the VLAN’s in LuCi it will add the vid option which does not change when you change the vlan option. I’ve updated all of these to match the vlan option and rebooted all of the devices.
In this set up do I need to configure the firewall on each device, or should the firewall be disabled on the two routers that are not connected to the internet?
Is there anything else that should be disabled on the 2 devices where I am not using the WAN port? DHCP and DNS is being served from the router connected to the internet and is already disabled on the other two.
For the IoT network I can connect to the network on the router connected to the internet, however once connected I cannot ping the interfaces for the same network on the other access points, it just comes back as unreachable. If I connect to any of the other 2 access points via wifi I can ping other devices connected to the same access point but I can not ping past the interface on the access point I’m connected to.
The part that really stumps me is that I’ve created the IoT network by copying and pasting the config from a working network from the ground up multiple times editing the IP addresses, names etc. each time so I’m wondering if it’s a basic configuration that I missed in set up. I’ve enabled logging on the firewall and was experiencing the error below, however I think I’ve ruled out the firewall by setting Input/forward/output to accept on the FW zone for the IoT network on all of the routers (not permanent, just for testing), the errors have gone away, however the problem persists.
The XX:XX:XX:XX:XX:XX portion of the error below is the mac address of the device that I’m testing with, I took them from the device labeled Router 2 below. Router 1 has not had similar messages for this interface.
[55747.476318] REJECT dev in: IN=br-dev OUT= MAC=33:33:00:00:00:02:XX:XX:XX:XX:XX:XX:86:dd SRC=fe80:0000:0000:0000:1001:3cce:8808:b496 DST=ff02:0000:0000:0000:0000:0000:0000:0002 LEN=48 TC=0 HOPLIMIT=255 FLOWLBL=894119 PROTO=ICMPv6 TYPE=133 CODE=0
I’m adding a copy of the configs below for the router that is connected to the internet (Router 1) and the router that is the first hop down the line (Router 2). For reference the mob(VLAN14) networks are the test networks lan (VLAN1) is the internal network and Dev (VLAN11) is the IoT network. The guest network is VLAN 13.
Router 1
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix ‘###########”
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
list dns ‘internaldns’
list dns 'internaldns'
option delegate '0'
config interface 'wan'
option ifname 'eth1.2'
option proto 'pppoe'
option password '###########'
option ipv6 'auto'
option username '##################'
option peerdns '0'
config interface 'wan6'
option ifname 'eth1.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '5t 3t 2 1 0'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '6t 4'
option vid '2'
config interface 'guest'
option proto 'static'
option delegate '0'
option ipaddr '192.168.13.1'
option netmask '255.255.255.0'
list dns ‘internaldns’
list dns 'internaldns'
option ifname 'eth0.13'
option type 'bridge'
config interface 'dev'
option proto 'static'
option delegate '0'
option ipaddr '192.168.11.1'
option netmask '255.255.255.0'
list dns '8.8.8.8'
list dns '8.8.4.4'
option ifname 'eth0.11'
option type 'bridge'
config switch_vlan
option device 'switch0'
option vlan '13'
option ports '5t 3t'
option vid '13'
config switch_vlan
option device 'switch0'
option vlan '11'
option ports '6t 3t'
option vid '11'
config switch_vlan
option device 'switch0'
option vlan '14'
option ports '5t 3t'
option vid '14'
config interface 'mob'
option proto 'static'
option type 'bridge'
option ifname 'eth0.14'
option delegate '0'
option ipaddr '192.168.14.1'
option netmask '255.255.255.0'
list dns 'internaldns'
list dns 'internaldns'
Router 2
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix ‘##############’
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.2'
option gateway '192.168.1.1'
list dns 'internaldns'
list dns 'internaldns'
option delegate '0'
config interface 'wan'
option ifname 'eth1.2'
option proto 'none'
config interface 'wan6'
option ifname 'eth1.2'
option proto 'none'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '5t 3t 2t 1 0'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '6t 4'
option vid '2'
config switch_vlan
option device 'switch0'
option vlan '13'
option vid '13'
option ports '5t 3t 2t'
config interface 'guest'
option proto 'static'
option ifname 'eth0.13'
option type 'bridge'
option netmask '255.255.255.0'
option ipaddr '192.168.13.2'
list dns 'internaldns'
list dns 'internaldns'
option delegate '0'
config interface 'dev'
option proto 'static'
option ifname 'eth0.11'
option type 'bridge'
option netmask '255.255.255.0'
option ipaddr '192.168.11.2'
list dns '8.8.8.8'
list dns '8.8.4.4'
option delegate '0'
config interface 'mob'
option proto 'static'
option ifname 'eth0.14'
option type 'bridge'
option netmask '255.255.255.0'
option ipaddr '192.168.14.2'
option delegate '0'
list dns 'internaldns'
list dns 'internaldns'
config switch_vlan
option device 'switch0'
option vlan '11'
option vid '11'
option ports '6t 3t 2t'
config switch_vlan
option device 'switch0'
option vlan '14'
option vid '14'
option ports '5t 3t 2t'