Linux Index
What is a heredoc and what are the benefits of using them?
/etc/dhcp/dhcpd.conf
# dhcpd.conf
# Sample DHCP Server Configuration File
# option definitions common to all supported networks...
#option domain-name "example.com";
#option domain-name-servers 192.168.1.1, 192.168.1.130;
option domain-name-servers 63.240.76.135, 204.127.194.11;
#option routers 192.168.1.1;
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.100 10.0.0.128;
}
# example for a address that will bee given to a fixed hardware (mac)
host laptop {
hardware ethernet 00:0d:93:ef:d2:f0;
fixed-address 10.0.0.3;
option routers 10.0.0.1;
option broadcast-address 10.0.0.255;
}
References
- http://yolinux.com/TUTORIALS/LinuxTutorialIptablesNetworkGateway.html »
- http://www.zippydesign.com/ying/linux/dhcpd/ »
[Click to add or edit comments])
Please prepend comments below including a date