iphone 6 connected to wifi but no internet
I am having a problem with my new iphone 6 (10.2.1). I can connect to my wifi but there is no internet connection. If I reboot the modem then I can connect but then my new laptop (HP Envy) cannot. When I reboot the modem again so the laptop works, then my phone no longer connect. I have figured out that whichever device is not working is being assigned an IP address beginning with 169 instead of 192. I tried setting a static IP address for my phone but it does not save the information and keeps trying to get an IP address from the modem. Any suggestions?
iPhone 6 Plus, iOS 10.2.1