FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


fedora dhcp





prongs_386
hi, i'm running fedora core 4.
I want a dhcp server to run on this machine but currently the service is failing to start.
i had to create the dhcpd.conf file in etc and my contets are

authoritative;
option domain-name "superlan.com';
subnet 10.1.1.0 netmas 255.255.255.0 {
range 10.1.1.20 10.1.1.200;
default-lease-time 600;
max-lease-time 700;
}

My hostname is superlan
but i'm not sure how the domain name works and couldnt find a place to set it.
The computer has a static ip of 10.1.1.1 and i can ping and vnc etc to the machine.

How can I set this up properly?
test32rota
Hi, this is my configuration, worked for me perfectly:
=================================================
# option definitions common to all supported networks...
option domain-name "internal";
option domain-name-servers X.X.X.X, Y.Y.Y.Y;
option routers 192.168.0.1;
ddns-update-style none;

default-lease-time 6000;
max-lease-time 7200;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.32;
}
prongs_386
hmm, i tried with those settings, it is still failing to load though Confused
test32rota
Can you send your syslog contents? What kind of error occurs ?
As an option, you can run dhcpd in foreground with -f flag and see output
prongs_386
when i use services app to start dhcpd it has a generic failure with no description..
but if i run it from terminal it says some copyrigth stuff, then says 0 leases to 0 files..
then listenens on my device and starts sending on it, then sends on socklet fallback..
it stays at that point, sdoes that mean it is running?
prongs_386
ok, I'm still having this issue of the service failing.. ive tried reinstalling dhcpd and ive tried several configurations. Is it possible it's my network settings?
prongs_386
ok, the problem was solved by running the command from term

/usr/sbin/dhcpd -d -f -cf /etc/dhcpd.conf
Related topics
Wireless connection
Help : Fedora Core 4 + Ubuntu
Problem with ADSL modem and router
Fedora Core 5 Test 1 Released
Which linux is the best for a new user?
Linux
Fedora Core 5 Test 1 Review
Problem with linux fedora core 4
Problem with linux fedora core 4
Fedora Core 4 & unwanted temp files
Fedora Core 5 Available
Fedora Core 5 Released
xp with fedora 4
Red Hat gives up on Fedora Foundation
Reply to topic    Frihost Forum Index -> Computers -> Computer Problems and Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.