Re: DHCP-Server

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

 



At 11:02 11/13/2003, you wrote:
> Nothing.   There isn't a default configuration file.   There's an
> example in /usr/share/doc/dhcp-* which you can use as the basis for a
> configuration file.   Well, that's what I did anyway.

Actually, there should be a default config file...if he had installed the
actual "dhcpd" package.  The dhcp package he installed is just the dhcp
client.

Incorrect, Mike. The dhcp package is the SERVER. The clients are dhclient (recent) and dhcpcd (older). And no, there is no dhcpd.conf file included in the standard package; you have to roll your own. For the sake of easy reference by the OP, here is mine at home:


[rpaiz@apollo rpaiz]$ cat /etc/dhcpd.conf
# Global parameters

option routers 192.200.9.101;

option          domain-name             "factorrent.com";
option          domain-name-servers     192.200.9.99;

option          time-offset             -21600;
option          ntp-servers             192.200.9.99;

max-lease-time                          86400;
default-lease-time                      86400;

allow                                   unknown-clients;
deny                                    bootp;

# Subnet declarations

shared-network FACTORRENT.COM {
        subnet 192.200.9.0 netmask 255.255.255.0 {
                range 192.200.9.102 192.200.9.199;
        }
}

group {
        use-host-decl-names             on;

#         8     wap11                   network         dhcp
        host wap11 {
                hardware ethernet       00:06:25:56:3a:d5;
                fixed-address           192.200.9.8;
        }

#        15     rodolfo                 host            dhcp
        host rodolfo {
                hardware ethernet       00:d0:59:b7:48:41;
                hardware ethernet       00:20:e0:8b:94:29;
                fixed-address           192.200.9.15;
        }
}



--
Rodolfo J. Paiz
rpaiz@xxxxxxxxxxxxxx


-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux