Nikod,
I've done this a number of times:
1) Disconnect the router's WAN port
2) Disable DHCP on the router (if DHCP is being served elsewhere).
3) Plug cable that was going into WAN port into a LAN port.
4) Now wireless computers connecting to router will communicate with
local lan to find gateway.
Chris
http://www.netsteady.cc