option subnet-mask 255.255.255.0; # Client netmask
option domain-name 'fedorabook.com'; # Domain
option domain-name-servers 172.16.97.1; # Nameserver is .1
option time-offset -21600; # Eastern Standard Time
option ntp-servers pool.ntp.org; # Timeservers
default-lease-time 86400; # 1 day
max-lease-time 172800; # 2 days
# Dynamic configuration
range
# Static configuration for various hosts
host prime {
hardware ethernet 00:0c:0d:99:99:99 ;
fixed-address 192.168.1.1 ;
}
host cabinet {
hardware ethernet 00:0c:0d:aa:aa:aa ;
fixed-address 192.168.1.2 ;
}
host chatterbox {
hardware ethernet 00:0c:0d:bb:bb:bb ;
fixed-address 192.168.1.3 ;
}
host laser1 {
hardware ethernet 00:0c:0d:cc:cc:cc ;
fixed-address 192.168.1.64 ;
}
host multifunction1 {
hardware ethernet 00:0c:0d:dd:dd:dd ;
fixed-address 192.168.1.65 ;
}
host webcam1 {
hardware ethernet 00:0c:0d:ee:ee:ee ;
fixed-address 192.168.1.66 ;
}
host gateway1 {
hardware ethernet 00:0c:0d:ff:ff:ff ;
fixed-address 192.168.1.254 ;
}
}
Table 7-3. Sample hardware addresses
Hardware MAC address | Hostname |
---|---|
00:0c:0d:99:99:99 | |
00:0c:0d:aa:aa:aa | |
00:0c:0d:bb:bb:bb | |
00:0c:0d:cc:cc:cc | |
00:0c:0d:dd:dd:dd | |
00:0c:0d:ee:ee:ee |
Once your configuration has been saved in
# service dhcpd restart
If there are errors in your configuration file,
# tail -50 /var/log/messages|less
If there are no error messages, clients can begin using the
You will need to open port 68 UDP in your firewall configuration in order to permit clients to reach
If configured to obtain IP information through DHCP, the client systems will contact the DHCP server when