I solved this issue by setting the router to access point mode and disabling dhcp server mode. these settings were not available in the netis router so i had to use a tp-link router.