我需要配置一个永久的eth1网络接口,并在接口启动之前用指定的格式更改MAC地址:AA:BB:CC:DD:x:y。A=1;B=2;C=2;D=2;x=6;y=8。
我在/etc/network/interfaces上写道:
auto eth1
iface eth1 inet static
address 10.6.8.200
netmask 255.255.255.128
gateway 10.6.8.129
pre-up ifconfig eth1 hw ether 1A:2B:2C:2D:6:8 我不知道我做错了什么。
发布于 2012-12-20 17:55:52
auto eth1
这告诉Ubuntu对eth1使用DHCP。如果删除这一行会发生什么?
此链接也可能有所帮助:http://www.cyberciti.biz/tips/howto-ubuntu-linux-convert-dhcp-network-configuration-to-static-ip-configuration.html
https://askubuntu.com/questions/231075
复制相似问题