r/openwrt • • 1h ago

Need help with vlan on openwrt

Post image
1 Upvotes

Hi!

My setup is as you see in the picture.

ISP router - Tp-Link Archer BE3600

Main router - mikrotik RB750Gr3

Managed switch - Tp-Link TL-SG2210P V5

AP - Tp-Link Archer C6 with Openwrt

I turned AP into a dumb AP, by disabling DHCP, NAT, etc

So this is what I want it to do

I have vlan 30 for main wireless and 40 for guest wireless. I intend to bind vlan30 to 5ghz ssid(main), vlan40 to 2.4ghz ssid(guest).

the firmware version and the hardware has no DSA, so only legacy method.

I have configured the port to the switch, to be trunk(30,40,99), as well as on the switch side. I also have bind the desire vlan on ssid

but it's not working, I don't know why

I have setup the AP's IP to be of vlan 99.


r/openwrt • • 3h ago

Ubiquiti UAP-AC-M with UMA-D external antenna on OpenWrt: Does it work immediately or need special settings?

Thumbnail gallery
2 Upvotes

I have a Ubiquiti UAP-AC-M paired with the external UMA-D directional antenna.

On the stock UniFi firmware, simply attaching the UMA-D to the RP-SMA connectors isn't enough, you have to explicitly enable the UMA-D antenna option in the controller settings, otherwise it behaves as if only the default small antennas are connected.

I'm planning to install OpenWrt on this UAP-AC-M, and I want to make sure before proceeding:

  1. Once OpenWrt is installed, does the UMA-D antenna work immediately through the RP-SMA ports without any special switch?
  2. Is there any specific configuration needed in OpenWrt (such as setting the Antenna Gain for 2.4GHz and 5GHz) to get proper TX power and full performance from the UMA-D?
  3. Has anyone here actually run a UAP-AC-M + UMA-D setup on OpenWrt? Any issues with signal or stability?

Thanks in advance!


r/openwrt • • 8h ago

Having trouble with network config changes not applying properly - moving ports to another bridge via luci disables them?

2 Upvotes

As per title, I'm having difficulties with openwrt/luci not applying config changes properly :-

I configured a second bridge via LUCI and added WiFi APs and some LAN ports to it, but openwrt doesn't bring the LAN ports up or add them to the bridge after applying changes or rebooting - I have to ssh in and do that manually each time.

It also doesn't apply the gateway setting to the bridge's routing table and I have to do that manually too.

I've poked around in /etc/config/network but I didn't spot any obvious (to me) issues :-

root@OpenWrt:~# cat /etc/config/network
# [… irrelevant entries trimmed …]

config device
		option name 'br-lan'
		option type 'bridge'
		list ports 'lan1'
		option bridge_empty '1'

config interface 'lan'
		option device 'br-lan'
		option proto 'static'
		option ip6assign '60'
		option multipath 'off'
		list ipaddr '192.168.4.1/24'

# [… br-lan and lan1 work fine …]

config interface 'vpn'
		option proto 'static'
		option ipaddr '192.168.5.1'
		option netmask '255.255.255.0'
		option multipath 'off'
		option gateway '192.168.4.112'
		option ip4table 'vpn2lan'
		option type 'bridge'
		list dns '192.168.4.112'
		option device 'br-vpn'

config route
		option interface 'vpn'
		option target '0.0.0.0/0'
		option gateway '192.168.4.112'
		option table 'vpn2lan'

# [… default gateway is not added to vpn2lan table …]

config rule
		option in 'vpn'
		option lookup 'vpn2lan'

config device
		option type 'bridge'
		option name 'br-vpn'
		option bridge_empty '1'
		option ipv6 '0'
		list ports 'lan2'
		list ports 'lan3'
		list ports 'lan4'
		list ports 'lan5'

# [… lan2-5 are not brought up, and not added to br-vpn …]

(config generated by luci web interface, I haven't edited it manually)

and I can't find those LAN ports mentioned anywhere else in /etc other than the board definition/BSP :-

root@OpenWrt:~# grep -R 'lan[15]' /etc 2>/dev/null | grep -v board
/etc/config/network:    list ports 'lan1'
/etc/config/network:    list ports 'lan5'

After router reboot or applying any configuration changes, I need to manually ssh in and brctl addif br-vpn lan2..5; ip link set lan2..5 up; ip route add table vpn2lan default via 192.168.4.112 because openwrt's systems apparently don't do these steps even though as far as I can tell they should.

I'm familiar with linux networking in general (hence ability to manually fix misconfigurations), but not with how OpenWRT goes about doing things (thus unable to make the changes actually stick and be applied properly)

Where else should I be checking for relevant settings?
Is there somewhere I can temporarily put the commands to fix things that'll automatically get run after network config changes while poking at openwrt's system to do it properly?

Am I encountering some sort of bug here? It seems odd that moving ports to another bridge via web interface disables them, and there's no option in luci web interface to re-enable them…

Are any of these issues fixed in 25.12.6, making an upgrade likely to fix stuff? I didn't see anything relevant in the release notes or changelog

Model: GL.iNet GL-MT6000 Firmware Version: OpenWrt 25.12.5 r33051-f5dae5ece4 / LuCI (HEAD detached at 128a7812) branch 26.180.75667~128a781