New config net


I hope you can help me.

I am trying to make a new network configuration, but I am not able to make this configuration with openwrt.

because ... ?

for the first openwrt router with ssid: iot1 and vlan30 the wifi devices do not connect, only when I create a configuration under a vlan

the second router does not have ssid: iot2 does not receive the ip of router 1 either, the configuration for vlan 30 is:

router 1 : vlan 30 port 1 tag

switch : vlan 30 port 1 tag port 2 tag

router2 : vlan30 wan port tag

The problem is probably my ignorance.

How should I do this configuration?


maybe best starting point is your managed switch

as i see, you want one access port for ISP and one access port for OWRT input
that is clear
then, you want vlan30 ? for some reason, i don't understand why ?
if you have managed switch, then you could easy separate two network on switch
port 1 and 2
access port, internal vlan2

port 7 and 8
access port, internal vlan30

this way, you could skip creating vlans on OWRT, over complicate stuf, etc

only thing is to be sure that port 1,2,7,8 are taken out from default vlan1 on managed switch

1 Like

It would be useful to see your configuration, starting with your main openWrt router.

Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall