Results 1 to 8 of 8
Hey guys,
there is a problem on my fedora 12
i wanted to try linux an installed it on windows 2003 server in a Virtual machine.
I have 2 network-cards, ...
- 06-01-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 4
cant start DHCP server
Hey guys,
there is a problem on my fedora 12

i wanted to try linux an installed it on windows 2003 server in a Virtual machine.
I have 2 network-cards, ethernet, and windows knows both.
I installed in fedora via "yum install dhcp" my server, but it doesnt works?
in fedora there is only eth0:
eth0 Link encap:Ethernet Hardware Adresse 00:0C:29:48:1E:65
inet Adresse:192.168.0.2 Bcast:192.168.0.255 Maske:255.255.255.0
inet6 Adresse: fe80::20c:29ff:fe48:1e65/64 Gültigkeitsbereich:Verbindung
this ip is tatic given by me; where is my second ethernet card?
I need this second network-card for my subnet with dhcp.
i tried "/etc/init.d/dhcpd status" and there comes "dhcp is down"
"/etc/init.d/dhcp start" -> "failed"
in /var/log/messages i found only
Jun 1 20:13:13 image-server dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Jun 1 20:13:21 image-server dhcpd: Internet Systems Consortium DHCP Server 4.1.1
Jun 1 20:13:21 image-server dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Jun 1 20:13:21 image-server dhcpd: All rights reserved.
Jun 1 20:13:21 image-server dhcpd: For info, please visit *url*
Jun 1 20:13:21 image-server dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Jun 1 20:13:21 image-server dhcpd: Wrote 0 leases to leases file.
Jun 1 20:13:22 image-server dhcpd:
Jun 1 20:13:22 image-server dhcpd: No subnet declaration for eth0 (192.168.0.2).
Jun 1 20:13:22 image-server dhcpd: ** Ignoring requests on eth0. If this is not what
Jun 1 20:13:22 image-server dhcpd: you want, please write a subnet declaration
Jun 1 20:13:22 image-server dhcpd: in your dhcpd.conf file for the network segment
Jun 1 20:13:22 image-server dhcpd: to which interface eth0 is attached. **
Jun 1 20:13:22 image-server dhcpd:
Jun 1 20:13:22 image-server dhcpd:
Jun 1 20:13:22 image-server dhcpd: Not configured to listen on any interfaces!
Jun 1 20:13:22 image-server dhcpd:
what can i do? where is my second interface? is it a setting in fedora or VM?
sry for my english
plz help me
florry
- 06-02-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
What virtual machine manager software are you using? There are a number and they deal with network connections quite differently.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-02-2010 #3Just Joined!
- Join Date
- Jun 2010
- Posts
- 4
Yes, i use VMWare Player in version 3.0.0-build 197124
this is my /etc/dhcp/dhcpd.conf:
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "project.local";
option domain-name-servers 192.168.10.1;
default-lease-time 600;
max-lease-time 7200;
# Use this to enble / disable dynamic dns updates globally.
#ddns-update-style none;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
#log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
#subnet 10.152.187.0 netmask 255.255.255.0 {
#}
# This is a very basic subnet declaration.
subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.10 192.168.10.200;
option routers 192.168.10.1;
}
***all following from sample is commented out with '#' ***
- 06-02-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
I would suggest that you contact the support forums at VMware about this issue. Unfortunately, I use VirtualBox and have minimal experience with VMware (I only tested it for my use a bit over 2 years ago), so I don't know how to deal with this situation.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-02-2010 #5Just Joined!
- Join Date
- Jun 2010
- Posts
- 4
hey rubberman

thanks a lot, but no matter about second interface.
in emergency case i will change to eth0 for dhcp-subnet; so clients will not have access to internet
THE MOST IMPORTANT THING: why i cant start dhcp?
- 06-02-2010 #6Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
I don't think you can start a dhcp server on a network segment if there is another server reachable. If there is another dhcp server on the network, then it might refuse to start. In any case, you should be able to find the log files in /var/log somewhere that will tell you what is going on.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-02-2010 #7Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
why i cant start dhcp?Code:Jun 1 20:13:22 image-server dhcpd: Not configured to listen on any interfaces!
- 06-02-2010 #8Just Joined!
- Join Date
- Jun 2010
- Posts
- 4
hiii
yes, i'm so blind
i edited dhcpd.conf to
#any many comments ...
option domain-name "project.local";
option domain-name-servers 192.168.200.20;
default-lease-time 600;
max-lease-time 7200;
#comments
authoritative;
subnet 192.168.200.0 netmask 255.255.255.0 {
range 192.168.200.50 192.168.200.200;
option routers 192.168.200.20;
}
my interface eth0 has static ip 192.168.200.20 255.255.255.0
the second interface eth1, added by VM-settings, has DHCP and is connected to internet by router
oh. yes. DHCP-server works. clients get ip, subnetmask and gateway from my server
im so happy
thank you very, very much


Reply With Quote