Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 273
  • Last Modified:

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
0
searchsanjaysharma
Asked:
searchsanjaysharma
  • 2
1 Solution
 
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
 
searchsanjaysharmaAuthor Commented:
ok
0
 
searchsanjaysharmaAuthor Commented:
ok
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now