1. I assume you've configured your VM for "bridged networking".
2. Make sure your VM's static IP is on the same subnet (combination IP address and subnet mask) as your gateway.
3. Make sure you can ping your gateway from your VM.
4. If any of these fail, then cut/paste and post the output from:
a) ifconfig eth0 (on your VM)
b) ifconfig (with *no* arguments, to list *all* interfaces)
c) ping GATEWAY_IP (on your VM)
d) ifconfig eth0 (Linux) or ipconfig/all (Windows) of your gateway
e) ping
www.google.com (on your gateway)
'Hope that helps .. PSM