Created
August 29, 2017 11:57
-
-
Save zxp/7e345195c15bfdf41ed21bf61042e3dc to your computer and use it in GitHub Desktop.
修改网卡MAC地址然后运行dhclient获取IP地址 /etc/network/interfaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto eth1 | |
iface eth1 inet manual | |
hwaddress 54:93:59:**:**:** | |
pre-up ip l set eth1 address 54:93:59:**:**:** | |
post-up dhclient -nw eth1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment