Please help me in configuring network in Ubuntu

Hi Friends,
I have installed Ubuntu in win xp system with the help of Vmware workstation.Can anyone tell me how to configure network in Ubuntu.I mean how to connect it to Internet.

Thanks in advance,
Eajaz.

In my case i have set the Vmware ethernet settings to NAT

and well i am not an ubuntu guy but i am sure there will be something like /etc/init.d/network. Start the script and your network will be up

/etc/init.d/network start

Also you might have to start the dhcp client using the same way

Thanks

open /etc/network/interfaces

And type these in the end of file, If you have one ethernet in your machine

iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1

In this case, you will need to specify your DNS servers manually in /etc/resolv.conf, which should look something like this:

search mydomain.example
nameserver 192.168.0.1
nameserver 4.2.2.2

Then start your network service /etc/init.d/netowrk start

OR

Go through the system==> Administration==>Network
and set the manual configuration