What version of Windows?
Have you tried a repair?
On any version of windows, you can try:
Windows Key + R
type cmd
Hit Enter button
type ipconfig /release
wait for it to do its thing, then
type ipconfig /renew
Then ping, and see what you get..
Then there's another fix that's metnioned on these forums often, but I can't remember the term - it's one I've never seemingly needed to use. If the other doesn't take care of network connection issues, usually just uninstalling them (device manager), and reinstalling takes care of it...
Let us know your progress, and what/if anything fixes your issue..