/etc/dhcp/dhcpd.conf
#auto generated by alterator-dhcp-reset
ddns-update-style interim;
ddns-updates on;
ddns-domainname "localdomain";
include "/var/lib/bind/etc/ddns-key.conf";
zone 1.168.192.in-addr.arpa. {
primary 127.0.0.1;
key ddns-key;
}
zone localdomain. {
primary 127.0.0.1;
key ddns-key;
}
authoritative;
option space altlinux;
option altlinux.keydata code 2 = string;
vendor-option-space altlinux;
subnet 192.168.1.0 netmask 255.255.255.0 {
next-server 192.168.1.2;
filename "pxelinux.0";
option root-path "/srv/public/netinst/current";
option routers 192.168.1.2;
option domain-name-servers 192.168.1.2;
option domain-name "server";
default-lease-time 3600;
max-lease-time 3600;
range 192.168.1.50 192.168.1.60;
}
/etc/xinetd.conf
#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/
defaults
{
log_type = SYSLOG authpriv info
log_on_success = PID HOST DURATION
log_on_failure = HOST
instances = 100
per_source = 5
only_from = 127.0.0.1
}
includedir /etc/xinetd.d
/etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -u tftp -s /var/lib/tftpboot
only_from += 192.168.1.0/24
}