1.1 环境说明 [root@test ~]# uname -r 2.6.32-696.el6.x86_64 [root@test ~]# getenforce Disabled [root@test ~]# /etc/init.d/iptables status iptables: Firewall is not running. [root@test ~]# ifconfig eth0|awk -F "[ :]+" ’NR==2 {print $4}’ 10.0.0.250 [root@test ~]# hostname test 1.2 配置DHCP 1.2.1 安装dhcp 1.2.2 编写配置文件 range </span><span style="color: #800080;">10.0</span>.<span style="color: #800080;">0.100</span> <span style="color: #800080;">10.0</span>.<span style="color: #800080;">0.200</span><span style="color: #000000;">; option subnet</span>-mask <span style="color: #800080;">255.255</span>.<span style="color: #800080;">255.0</span><span style="color: #000000;">; default</span>-lease-<span style="color: #0000ff;">time</span> <span style="color: #800080;">21600</span><span style="color: #000000;">; max</span>-lease-<span style="color: #0000ff;">time</span> <span style="color: #800080;">43200</span><span style="color: #000000;">; next</span>-server <span style="color: #800080;">10.0</span>.<span style="color: #800080;">0.250</span><span style="color: #000000;">; filename </span><span style="color: #800000;">"</span><span style="color: #800000;">/pxelinux.0</span><span style="color: #800000;">"</span><span style="color: #000000;">; } 1.2.3 启动服务 1.3 安装TFTP服务 1.3.1 安装tftp服务 1.3.2……
阅读全文