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

Re: Make a DHCP server using Fedora - Help



--- On Sat, 11/15/08, Tim <ignored_mailbox yahoo com au> wrote:

> From: Tim <ignored_mailbox yahoo com au>
> Subject: Re: Make a DHCP server using Fedora - Help
> To: "Community assistance, encouragement, and advice for using Fedora." <fedora-list redhat com>
> Date: Saturday, November 15, 2008, 7:42 PM
> On Sat, 2008-11-15 at 19:43 -0700, Craig White wrote:
> > you don't need bind to run unless you want to
> provide DNS services.
> 
> There are advantages in doing so, but I'd learn how to
> do DHCP, then
> learn the next thing.  
> 
> With a local DHCP and DNS server, particular if they talk
> to each other,
> you simplify client network configuration.  Your DHCP
> server assigns
> them addresses, and your DNS server reseolves all their
> addresses.  You
> don't need to play with hosts files on each PC, nor any
> other part of
> their network configuration, it's all centrally
> managed.  For anything
> more than a three PC LAN, it soon gets annoying if you have
> to keep
> updating all their hosts files.
> 
> As Craig said, it can be simpler to use something that does
> that for
> you, such as a modem/router with its own DHCP server,
> there's far less
> things for you to have to configure.  But, any of the ones
> that I've
> looked at, don't act as a local DNS server for their
> own DHCP records.
> So, you're stuck with fixing IPs in its DHCP server,
> then messing with
> hosts files on each PC.
> 
> -- 
> [tim localhost ~]$ uname -r
> 2.6.27.5-37.fc9.i686
> 
> Don't send private replies to my address, the mailbox
> is ignored.  I
> read messages from the public lists.
> 
> 
> 
> -- 

I am working on it, but without success :(

I have installed webmin and made the corresponding changes that were suggested

[root localhost ~]# cd /home/olivares/Downloads/
[root localhost Downloads]# rpm -ivh webmin-1.441-1.noarch.rpm
Preparing...                ########################################### [100%]
Operating system is Redhat Linux
   1:webmin                 ########################################### [100%]
Webmin install complete. You can now login to https://localhost:10000/
as root with your root password.
[root localhost Downloads]# cat /etc/dhcpd.conf
default-lease-time 21600; #600
max-lease-time 43200;     #7200
ddns-update-style none;
authoritative;
log-facility local7;
subnet 10.154.19.0 netmask 255.255.255.0 {
        range 10.154.19.1 10.154.19.20;
        }

I changed DHCPDARG=eth0 as was suggested, but not working.  

Nov 16 12:39:06 localhost dhcpd: of the dhcpd.conf file.                        
Nov 16 12:39:09 localhost dhcpd: DHCPINFORM from 10.154.19.11 via eth0: not authoritative for subnet 10.154.19.0                                                
Nov 16 12:39:30 localhost dhcpd: DHCPINFORM from 10.154.19.117 via eth0: not authoritative for subnet 10.154.19.0                                               
Nov 16 12:43:56 localhost dhcpd: DHCPINFORM from 10.154.19.246 via eth0: not authoritative for subnet 10.154.19.0
Nov 16 12:44:01 localhost dhcpd: DHCPINFORM from 10.154.19.246 via eth0: not authoritative for subnet 10.154.19.0
Nov 16 12:45:44 localhost dhcpd: DHCPINFORM from 10.154.19.19 via eth0: not authoritative for subnet 10.154.19.0
Nov 16 12:45:47 localhost dhcpd: DHCPINFORM from 10.154.19.19 via eth0: not authoritative for subnet 10.154.19.0
Nov 16 12:53:50 localhost dhcpd: DHCPINFORM from 10.154.19.235 via eth0: not authoritative for subnet 10.154.19.0
Nov 16 13:03:04 localhost dhcpd: DHCPINFORM from 10.154.19.227 via eth0: not authoritative for subnet 10.154.19.0
Nov 16 13:03:07 localhost dhcpd: DHCPINFORM from 10.154.19.227 via eth0: not authoritative for subnet 10.154.19.0
Nov 16 13:03:44 localhost dhcpd: DHCPINFORM from 10.154.19.33 via eth0: not authoritative for subnet 10.154.19.0
Nov 16 13:03:47 localhost dhcpd: DHCPINFORM from 10.154.19.33 via eth0: not authoritative for subnet 10.154.19.0
Nov 16 13:08:24 localhost kernel: Kernel logging (proc) stopped.



The original machine gets its ip from a central server and then I want to use it as a server for several machines in my classroom.  

It connects to 10.154.19.210 which is its address in the "BIG" network.  it gets DNS 10.154.16.130, 10.128.0.4 and gateway 10.154.19.1

I have been playing with webmin, but either I get [FAILED] messages or it appears to work, but the machines cannot connect to it, or get their own IPs.

Thank you for hanging in there with me.  

Antonio 


      


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