需要两台虚拟机:两台虚拟机要在同一网段下
服务机:
[root@localhost ~]# cd /media/RHEL_6.5\ x86_64\ Disc\ 1/Packages/[root@localhost Packages]# rpm -ivh dhcp-4.1.1-38.P1.el6.x86_64.rpm [root@localhost Packages]rpm -qa //查看是否安装成功[root@localhost Packages]vim /etc/dhcp/dhcpd.conf //复制选中的路径
[root@localhost dhcp]# cp /usr/share/doc/dhcp*/dhcpd.conf.sample dhcpd.conf[root@localhost dhcp]# vim /etc/dhcp/dhcpd.conf
option domain-name “kgc.com”; //域名改成kgc.comoption domain-name-servers 192.168.2.3; //本机
IPdefau