Set-up DHCP server on Linux and lease addresses to win-xp running on VM

Hi All,

I have 2 VMs CentOS and Windows-XP. Now I want to do the following:
1. Linux server must have a static IP address in the segment 192.168.0.0/24 with the Windows client being able to communicate with the server.
2. A DHCP server should be configured on Linux box such that it leases the addresses to the local segment.

Can anyone give me exact steps that I should perform on both of my VMs running on my Windows-7 box using VMware workstation software.

Thanks
searchsanjaysharmaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

f_umarCommented:
which version of vmware workstation you have?

following the steps for vmware workstation 8

1: create virtual machine with desired settings (cpu, ram, disk)
2: Edit settings select "Network Adapter" in right pane select "LAN Segment" radio button Click on "LAN Segment...." button to open new window. Click ADD to and name anything you want.
3: Select same "LAN Segment" for both of your virtual machines

follow the links for How to setup DHCP in linux
http://www.lamolabs.org/blog/230/how-to-setup-a-dhcp-server-on-centos-5/  
or
http://www.linuxhelp.net/forums/Setup_Simple_Dhcp_Server_t4052.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
searchsanjaysharmaAuthor Commented:
ok
0
searchsanjaysharmaAuthor Commented:
ok
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.