VM8下ubuntu10.04下修改mac地址和配置静态ip
编辑 /etc/network/interfaces文件, vim /etc/network/interfaces auto lo iface lo inet loopback auto eth2 iface eth2 inet static pre-up ifconfig eth2 hw ether 00:0c:29:df:12:b8 address 172.16.151.143 netmask 255.255.255.0 network 172.16.151.0 broadcast 172.16.151.255 gateway 172.16.151.254 dns-nameservers 172.16.205.10