centos 5.4下默认ip和mac配置文件是/etc/ethers
vim /etc/ethers
ip mac
例如
192.168.1.100 1C:1C:1C:1C:1C:1C
arp -f 使配置生效,后期生效,需添加开机启动项
转载于:https://blog.51cto.com/heishi317/1572185
centos 5.4下默认ip和mac配置文件是/etc/ethers
vim /etc/ethers
ip mac
例如
192.168.1.100 1C:1C:1C:1C:1C:1C
arp -f 使配置生效,后期生效,需添加开机启动项
转载于:https://blog.51cto.com/heishi317/1572185