when i reboot the router, the client is connected directly to wan instead of the router (the hostname visible on client is the wan's hostname instead of the router's hostname), until i run flushdns and renew ip in the client (ipconfig /flushdns && ipconfig /renew), how to get rid of this ?
One of my routers, a linksys E2000 ( not running OpenWRT), does the same.
The switch is basically a 5 port switch and when powered up it acts first as a 5 port switch so my clients get an ip address of the router higher up on the WAN.
If the software is loaded then it is acting as a router/firewal, but clients then have already the wrong IP address.
It could be your router does the same, in that case not much you can do about it