I am assuming your edison is connected to your desktop/laptop via 'ethernet over usb'? What OS are you running? If the only network connection you edison has is to your PC, then you need to 'share' you the internet on you PC with the edison and and a route to the IP address of the shared computer on your edison. Let me know what OS you are running I will do my best to get you more detailed instructions.
Linux with Ubuntu distro.
I am able to access internet now, All I did was type the command
ifconfig usb0 192.168.2.15 upand then
routeand I am able to ping servers.