Configuration file: /etc/dhcpd.conf
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
# see ‘man 5 dhcpd.conf’
#
#
ddns-update-style interim;
ignore client-updates;
subnet 192.168.100.0 netmask 255.255.255.0 {
# — default gateway
option routers 192.168.100.1;
option subnet-mask 255.255.255.0;
option domain-name “milton.ca”;
option domain-name-servers 192.168.100.1;
#option ntp-servers 192.168.1.1;
range dynamic-bootp 192.168.100.10 192.168.100.20;
default-lease-time 7200;
max-lease-time 56800;
}
host freebsd2 {
hardware ethernet 08:00:27:9E:66:67;
fixed-address 192.168.100.252;
}
Set up the dhcpd for auto start on boot time
#chkconfig dhcpd on
You could also set up in which interface will dhcp server run in the file:
/etc/sysconfig/dhcpd
April 21, 2009 at 5:29 pm |
what r u doing 3am in the morning? shouldn’t u be studying SCR? ;-p
May 24, 2009 at 12:51 pm |
the little ;;;;
i wanna to know how to configure core10 dhcp server ip leases passing through routers and prepare ip address to another subnets