centos6.2使用dnsmasq代替tftp和dhcp服务器作无人职守安装
centos6.2使用dnsmasq代替tftp和dhcp服务器作无人职守安装
centos6.2使用dnsmasq代替tftp和dhcp服务器作无人职守安装
1 安装 dnsmasq www.2cto.com
# yum install dnsmasq
2 dnsmasq的配置文件
vim /etc/dnsmasq.conf
[plain]
bogus-priv
filterwin2k
interface=eth0
dhcp-range=192.168.68.50,192.168.68.150,12h
dhcp-option=3,192.168.68.1
dhcp-boot=pxelinux.0
enable-tftp
tftp-root=/var/lib/tftpboot
dhcp-authoritative
3 启动dnsmasq
# dnsmasq
4 查看开放端口
# netstat -naltup
评论暂时关闭