Linux 更改MAC地址: 1. 临时更改:  # ifdown eth0  # ifconfig eth0 hw ether 0029340830249(MAC地址)  # ifup eth0
2. 永久生效:  # vi /etc/rc.d/rc.local    ifdown eth0    ifconfig eth0 hw ether 002934083024(MAC地址)    ifup eth0  # service network restart
3. 添加新网卡:   a. VM --> 添加网卡   b. 启动时按 '<-' , 确定相关默认配置   c. 在/etc/sysconfig/network-scripts/创建新网卡文件   d. 配置新网卡文件       
(本文已被浏览 4068 次)
|
|