Re: Make a DHCP server using Fedora - Help
- From: Antonio Olivares <olivares14031@xxxxxxxxx>
- Date: Sat, 15 Nov 2008 18:59:18 -0800 (PST)
--- On Sat, 11/15/08, Craig White <craigwhite@xxxxxxxxxxx> wrote:
From: Craig White <craigwhite@xxxxxxxxxxx>
Subject: Re: Make a DHCP server using Fedora - Help
To: olivares14031@xxxxxxxxx, "Community assistance, encouragement, and advice for using Fedora." <fedora-list@xxxxxxxxxx>
Date: Saturday, November 15, 2008, 6:43 PM
On Sat, 2008-11-15 at 11:26 -0800, Antonio Olivares wrote:
--- On Sat, 11/15/08, Craig White<craigwhite@xxxxxxxxxxx> wrote:
/etc/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
authoritative;
log-facility local7;
$DNS_SERVER_IP_ADDRESS_1,
subnet 10.154.19.0 netmask 255.255.255.224 {
range 10.154.19.10 10.154.19.20;
option domain-name-servers
"$YOUR_DOMAIN_NAME";$DNS_SERVER_IP_ADDRESS_2;
option domain-name
lease timesoption broadcast-address 10.154.19.31;
option subnet-mask 255.255.255.224;
option routers 10.154.19.1 ; # just a guess
ddns-updates off;
}
/etc/sysconfig/dhcpd
DHCPDARGS=eth0 # recommended
# other things to note...default and max
such asare really short. Many more options can be added
of thisWINS, NTP servers, etc.
Webmin (http://www.webmin.com) makes a lot
this whichvery trivial
----
given your other e-mail that came after I sent
00:0E:A6:42:59:AFincluded this
information...
eth0 Link encap:Ethernet HWaddr
Bcast:10.154.19.255inet addr:10.154.19.210
address andMask:255.255.255.0
the class C subnet means that my broadcast
Monday and test it out.subnet masks
should match these above.
Craig
--
Thank you Craig for your input, I will change this on
$DNS_SERVER_IP_ADDRESS_2;
So
subnet 10.154.19.0 netmask 255.255.255.254 {
should be changed to
==> subnet 10.154.19.0 netmask 255.255.255.0 {
range 10.154.19.10 10.154.19.20;
option domain-name-servers $DNS_SERVER_IP_ADDRESS_1,
option domain-name "$YOUR_DOMAIN_NAME";should it I leave them as is or do I put the ones that are
option broadcast-address 10.154.19.31; to
option broadcast-address 10.154.19.255;
for $DNS_SERVER_IP_ADDRESS_1, $DNS_SERVER_IP_ADDRESS_2
on the host machine? or will it pick them up automagically?
trying this, I tried webmin, but I got confused with
Do I need to have bind running as well?
Sorry to ask too many questions. Last time I was
iptables and other little things. Will the iptables part
that I put in suffice also.
to work on Monday, I will try these suggestions and post
Thank you for your time and advice. When I get back
back if I succeed or still have questions.
----
Tim gave some good advice and I was really pressed for time
and wanted
to reply because you weren't getting good answers.
No - you don't need bind to run unless you want to
provide DNS services.
You really need to understand networking basics...i.e.
TCP/IP. One you
understand network address, broadcast address, subnet mask
stuff, DHCP
is pretty easy. If you don't understand that stuff, you
really don't
want to run a DHCP or BIND server and would be better off
buying a
router type of appliance that will do that for you.
Craig
I might go to work and try it out. I will change the numbers and also add more time in the leases. I have been given great advice by several helpful people, notably yourself, Tim and Marko (also Paul H. for selinux denying dhpcd). I have to make the changes in the /etc/dhcpd.conf file and try it out. I will test with a Windows 2000 machine and a Fedora rawhide box and upon success or failure. I will report back.
Thank you all for your help and guidance.
Regards,
Antonio
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
- Follow-Ups:
- Re: Make a DHCP server using Fedora - Help
- From: Mike Cloaked
- Re: Make a DHCP server using Fedora - Help
- References:
- Re: Make a DHCP server using Fedora - Help
- From: Craig White
- Re: Make a DHCP server using Fedora - Help
- Prev by Date: Seamonkey-2.0a2 and F10
- Next by Date: Re: Problem with Intel Wireless (iwl4965) on HP 8510w laptop
- Previous by thread: Re: Make a DHCP server using Fedora - Help
- Next by thread: Re: Make a DHCP server using Fedora - Help
- Index(es):
Relevant Pages
|