Are you on a rooted phone?
~ $ ip neigh
Cannot bind netlink socket: Permission denied
Pixel 6 Pro Android 13Works on my not rooted Samsung, Android 12.
You can use this without root by using the rish provided by [Shizuku](https://play.google.com/store/apps/details?id=moe.shizuku.pr...), because it only need adb shell permission for this.
This is especially useful when you have multiple Pis connected and need to know the IP address to ssh to.