how to get network access to BBB through ethernet

Good afternoon

i am trying to install vnc on BBB, but the network has no internet access. i connected BBB to my PC(windows 7) with usb cable and the ethernet port is connected to a switch where the other cables are terminated. how to obtain internet access to the board?

In order to get internet connection you must turn on internet connection
sharing on your main internet connection on your windows box.
Please use google before asking questions here that have been asked over
and over and over.

Or more correctly, that have nothing to do with the hardware, and everything to do with the host.