Mon Feb 13, 2017 10:15 pm
I installed ICS on my notebook running Windows 7 professional sharing the Wifi interface with the notebook ethernet interface as the private network for sharing. The ethernet interface was assigned the IP-address 192.168.137.1. Connected a Pi configured for dhcp with a direct cable to my notebook. The Pi was assigned an IP-address 192.168.137.58, router was configured with 192.168.137.1, /etc/resolv.conf was updated with name server 192.168.137.1.
Ping to 8.8.8.8 was successful, internet access failed with name server 192.168.137.1, after changing /etc/resolv.conf to use name server 8.8.8.8 access to internet was successful.
Reboot of notebook because of the dns problem (first reboot after ICS configuration), /etc/resolv.conf was reset to use 192.168.137.1 (as expected), ping to 8.8.8.8 successful, access to internet successful.
As DougieLawson said: configure the Pi to DHCP, do not use static addresses. What I add is that it may be worthwhile to reboot your laptop if the WiFi connection was changed.
The road to insanity is paved with static ip addresses