
实验前提:
1.所有试验机在相同网络。
2.DHCP服务器有固定ip地址。
实验步骤:
配置ip
[root@localhost Server]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.4.5
HWADDR=00:0c:29:62:2b:78
[root@localhost Server]# cat /etc/resolv.conf
; generated by /sbin/dhclient-...