DHCP and centos


 
Thread Tools Search this Thread
Special Forums IP Networking DHCP and centos
# 1  
Old 08-04-2013
DHCP and centos

Hello
i have create vistual machine on local server with centos 5 OS
main OS is windows 2008

is it possible to run dhcp on centos and all other local device get their ip from this vm ?
# 2  
Old 08-04-2013
if you mean to have a virtual centos dhcp server and the win2008 host box gets its ip address from that, it would only work as long as you do not reboot/shutdown the win2008 box ...

if your win2008 host box already has a static ip address or gets its dhcp address from another dhcp server (i.e., your router) and you want the centos box to serve dhcp addresses to other boxes in the subnet, there should be no problem doing so as long as your centos dhcp server is online before and while any of the other servers are online ...
# 3  
Old 08-04-2013
yep i use VMware Workstation
windows 2008 has this network details:
ip:192.168.1.3
gateway:192.168.1.1
and get its ip from router

and so linux-centos-vm use the same network .(vmware network )
192.168.1.13

now i want to run dhcp service on linux box.
so any device try to connect internet, connect to this vm and get ip from linux instead of main router or main win2008

im confused on dhcp configuration
subnet gateway
# 4  
Old 08-04-2013
that could work as long as the other devices are on the same subnet as the centos dhcp server ... as for dhcp, configuration -- see man dhcpd ...
This User Gave Thanks to Just Ice For This Post:
# 5  
Old 08-04-2013
so for configure server to only share internet for other device :
run dhcp and configure it (check gateway subnet) ?
no other network configuration should i do ?
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. IP Networking

Get DHCP relay interfaces IP address using DHCP

Hi All , please view the set up below: ------------------------------------------------------------------- | DHCP Server |-----------| ROUTER & |-----------| Clients | | 192.168.99.1 | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X | ... (2 Replies)
Discussion started by: gdangoor
2 Replies

2. Red Hat

How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation

Dear Linux Experts, On my windows 7 desktop with the help of Vmware workstation (Version 7.1), created virtual machine and installed Centos 5.7 successfully using ISO image. Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Discussion started by: Ananthcn
2 Replies

3. IP Networking

dhcp

can I request for an ipaddress through dhcp client by sending ipaddress as input during the invokation of dhcpclient so that it requests the server for the same,instead of depending on the configuration file . (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies

4. UNIX for Dummies Questions & Answers

Dhcp

HI, New to Unix and I inherited a network that runs DHCP in manual configuration mode. Basically, in order for a machine to get an IP it has to have an entry in dhcpd.conf with its MAC address mapped to a hostname (the hostname then maps to an IP address listed in the DNS db file). If there is... (2 Replies)
Discussion started by: NJay
2 Replies

5. UNIX for Advanced & Expert Users

Dhcp

Hi you all. I'm trying to enable DHCP in a Sun Utra 5 runing Solaris 8 but during the boot process it sends me the message : "Device not in appropiate status" Do anyone have enabled DHCP on solaris 8? Any Procedure? The DHCP server is an NT I guess. (2 Replies)
Discussion started by: alex blanco
2 Replies

6. IP Networking

Dhcp

Hello all, I have this Intel Pentium 233/128 running Solaris 8. I also have a dhcp/router/dns running SuSElinux 7.2.(Sorry if it is out of topic here) My problem is that the Solaris box when it tries to configure the interface (elxl0) via dhcp it fails. It appears, according to the... (1 Reply)
Discussion started by: jdevarie
1 Replies
Login or Register to Ask a Question