Re: Make a DHCP server using Fedora - Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;                                  
> >                
> > > subnet 10.154.19.0 netmask 255.255.255.224 {
> > >  range 10.154.19.10 10.154.19.20;          
> > >  option domain-name-servers $DNS_SERVER_IP_ADDRESS_1,
> > $DNS_SERVER_IP_ADDRESS_2;
> > >  option domain-name "$YOUR_DOMAIN_NAME";
> > >  option 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 lease times
> > are really short. Many more options can be added such as
> > WINS, NTP servers, etc.
> > > 
> > > Webmin (http://www.webmin.com) makes a lot of this
> > very trivial
> > ----
> > given your other e-mail that came after I sent this which
> > included this
> > information...
> > 
> > eth0      Link encap:Ethernet  HWaddr 00:0E:A6:42:59:AF  
> >           inet addr:10.154.19.210  Bcast:10.154.19.255
> > Mask:255.255.255.0
> > 
> > the class C subnet means that my broadcast address and
> > subnet masks
> > should match these above.
> > 
> > Craig
> > 
> > -- 
> 
> Thank you Craig for your input, I will change this on Monday and test it out. 
> 
> 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, $DNS_SERVER_IP_ADDRESS_2;
> option domain-name "$YOUR_DOMAIN_NAME";
> 
> 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 should it I leave them as is or do I put the ones that are on the host machine? or will it pick them up automagically? 
> 
> Do I need to have bind running as well?
> 
> Sorry to ask too many questions.  Last time I was trying this, I tried webmin, but I got confused with iptables and other little things.   Will the iptables part that I put in suffice also.
> 
> Thank you for your time and advice.  When I get back to work on Monday, I will try these suggestions and post 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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux