OpenWrt is an awesome project, I am an enthusiastic user for many years. (Thought after everything works like intended I tend to forget the details of the workings ). My newest project involves a Xiaomi Redmi Router AX6S in which I want the WAN port to be used as a LAN and which relays the wifi dhcp requests so I can see all devices on the network in the main server leases.
I have this working, but with the weird behavior that my setup only works after I trigger a rollback. Upon a reboot the setup fails to pass the DHCP traffic to the WAN port until I change something in my VLAN which triggers a rollback, after which all works fine?!
I tried to find any differences between the 2 by running a uci show
after booting and again after the rollback and diffing the 2 outcomes. Here are no changes, so I am starting to suspect some kind of timing/order issue upon booting?
To get the setup working I added option network 'lan'
to my wireless config in etc\config\wireless
and added all ports to a bridge device and put them in a single VLAN.
Upon boot my WAN port does not relay DHCP, and after a rollback it does.
Anyone any clues on how to tackle this one? I tried comparing the setups, manually restarting and toggling the interfaces, network, services; but I have not been able to manually trigger something which gives me the same results as a rollback .
Any help would be very appreciated