ubuntu中如何修改网卡物理地址
2006-10-16 07:37
sinux@sicrosoft:~$ sudo vi /etc/iftab
eth0 mac 00:e0:4d:75:8e:50(改成你要的物理地址mac)
sinux@sicrosoft:~$ sudo vi /etc/network/interfaces
在iface eth0 inet static后面添加一行
hwaddress ether 00:E0:4d:75:8E:50
比如:
iface eth0 inet static
hwaddress ether 00:E0:4d:75:8E:50
address 219.220.214.113
重启, 以后不用再配置了.
eth0 mac 00:e0:4d:75:8e:50(改成你要的物理地址mac)
sinux@sicrosoft:~$ sudo vi /etc/network/interfaces
在iface eth0 inet static后面添加一行
hwaddress ether 00:E0:4d:75:8E:50
比如:
iface eth0 inet static
hwaddress ether 00:E0:4d:75:8E:50
address 219.220.214.113
重启, 以后不用再配置了.