DHCP

DHCP
Server 端:
[root@server~]yum install dhcp*
[root@server~]cp /usr/share/doc/dhcp- 3.0.5 /dhcpd.conf /etc/dhcpd.conf
[root@server~]vim /etc/dhcpd.conf
Host boss {
                 Hardware Ethernet    00:50:56:c0:00:01;
                 Fixedaddress    192.168.0.88;
}
[root@server~]service dhcpd restart
 
 
Client 端:
[root@client~]vim /etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO=dhcp
[root@client~]service network restart

你可能感兴趣的:(职场,DHCP,休闲)