How to share internet connection between window 7 and ubuntu using VMware

hello everybody I am using windows 7 as pre-installed and then i install VMware and i am running ubuntu. when i connect my laptop to internet i can use the internet connection in windows 7 but when i switch to VMware the internet is not connected. i have keep the setting of VMware on network on bridge. then i search on the Google and change it to NAT but it doesn't work please help me solve the problem.
