No need for expensive hardware. Any router that can run OpenWRT can assign DHCP IP address while assign 0.0.0.0 for DNS address and 0.0.0.0 for gateway address. Without a gateway or DNS address, the device will not be able to go to the internet but it still can access your Local Area Network...