I have connected my raspberry pi 3 (running Raspbian) to my company's wifi network. It has connected to wifi, but there is no internet access. I cannot ping also.
I did following modification in my /etc/network/interfaces
source-directory /etc/network/interfaces.d
auto wlan0
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet manual
but it does not works.
Company has given an static ip for my raspberry pi. 172.16.100.13 But if I make a hotspot from my mobile phone and if I connect to that hotspot from my raspberry pi I can access internet. I have put my mac address also to the company's router. It ping to only the ip addresses in range of 172.16.x.x. It does not ping to any other ip address or at least www.google.com.
what can I do?