Connect Backtrack 4 to Internet (when bt4 is booted via VMWare)

Here you are provided the way to connect your Backtrack 4 OS to the internet by using Dynamic Host Configuration Protocol client:

To connect your Virtual machine with BT4 to the Internet use the following commands

1.  dhclient eth0

the out put of the above command will be as follows

 now the above command provides your host IP-Address automatically.

2.  ifconfig eth0
3. ifconfig eth0 up
 above commands will configure and enable the eth0 interface of the BT4 

4. Now your Virtual Machine has been connected to the internet, enjoy the net