Hi,
First of all, thank you for the amazing work and research many of you have put into getting the Xiaomi Redmi AX6000 supported. I just received one and it looks like amazing hardware, but even though I have set up OpenWrt on other routers, this one seems a bit problematic for me.
Does anyone run this just as dumb AP? I'm having what seems like ARP issues pretty much out of the box (only with wifi enabled on top of vanilla installation).
Let me explain, I have an OPNsense main router with a number of other dumb APs connected directly to it via an ethernet cable, including the Redmi. Redmi is the only one with issues.
When I reboot the Redmi and SSH onto it and run "arp -a", the MAC address for my gateway 192.168.1.1 is 00:00:00:00:00:00. Strange. If I leave it for a while and try later, it may still be 00:00:00:00:00:00 or it may have got the correct gateway MAC address. Sometimes it can take quite a while. When it's 00:00:00:00:00:00, I can't access internet (or anything that needs to go via the gateway), when it's the correct MAC address, I can. Flushing the ARP table in OPNsense seems to instantly set the correct MAC address for my gateway.
I can live with that I guess or work around it by setting it directly on Redmi with something like:
ip neighbor replace 192.168.1.1 lladdr <gateway_mac_address> nud permanent dev br-lan
Then I connect a device using Redmis wifi, no internet.
Running "tcpdump -ennqti br-lan arp" on the Redmi:
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<redmi_lan_bridge_mac_address> > <opnsense_gateway_mac_address>, ARP, length 42: Request who-has <gateway_ip> tell <redmi_lan_bridge_ip>, length 28
<opnsense_gateway_mac_address> > <redmi_lan_bridge_mac_address>, ARP, length 60: Reply <gateway_ip> is-at <opnsense_gateway_mac_address>, length 46
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 42: Request who-has <gateway_ip> tell <iphone_ip>, length 28
Running "tcpdump -ennqti bridge0 arp" on the OPNsense router:
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 64: Request who-has <gateway_ip> tell <iphone_ip>, length 50
<opnsense_gateway_mac_address> > <iphone_connected_to_redmi_wifi_mac_address>, ARP, length 46: Reply <gateway_ip> is-at <opnsense_gateway_mac_address>, length 32
<redmi_lan_bridge_mac_address> > <opnsense_gateway_mac_address>, ARP, length 64: Request who-has <gateway_ip> tell 192.168.1.51, length 50
<opnsense_gateway_mac_address> > <redmi_lan_bridge_mac_address>, ARP, length 42: Reply <gateway_ip> is-at <opnsense_gateway_mac_address>, length 28
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 64: Request who-has <gateway_ip> tell <iphone_ip>, length 50
<opnsense_gateway_mac_address> > <iphone_connected_to_redmi_wifi_mac_address>, ARP, length 46: Reply <gateway_ip> is-at <opnsense_gateway_mac_address>, length 32
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 64: Request who-has <gateway_ip> tell <iphone_ip>, length 50
<opnsense_gateway_mac_address> > <iphone_connected_to_redmi_wifi_mac_address>, ARP, length 46: Reply <gateway_ip> is-at <opnsense_gateway_mac_address>, length 32
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 64: Request who-has <gateway_ip> tell <iphone_ip>, length 50
<opnsense_gateway_mac_address> > <iphone_connected_to_redmi_wifi_mac_address>, ARP, length 46: Reply <gateway_ip> is-at <opnsense_gateway_mac_address>, length 32
<iphone_connected_to_redmi_wifi_mac_address> > ff:ff:ff:ff:ff:ff, ARP, length 64: Request who-has <gateway_ip> tell <iphone_ip>, length 50
It looks to me when the iPhone asks the Redmi for the gateway MAC address on ff:ff:ff:ff:ff:ff, that request gets forwarded to the OPNsense router.
OPNsense router receives the iPhone request on its lan bridge and immediately replies with the gateway MAC address back to the iPhone.
This reply however never reaches the Redmi and therefore it's not forwarded back to iPhone, which just keeps trying again and again.
Can anyone else see the same or have any ideas what could be wrong?
I'm running the latest snapshot from yesterday.
Additionally, running "arp -a" on the Redmi returns a bunch or IP address to MAC address records, including the correct gateway one, but I can't see the iPhone connected via wifi on the list at all. I should expect to see the iPhone listed there, no?