mac_OS虚拟机VMware Fusion定制虚拟网卡IP地址

 

cd /Library/Preferences/VMware\ Fusion

vim networking

VERSION=1,0
answer VNET_1_DHCP yes
answer VNET_1_DHCP_CFG_HASH 4C38E57B8B33183E68351DF648C7C5182A8EDC90
answer VNET_1_HOSTONLY_NETMASK 255.255.255.0
answer VNET_1_HOSTONLY_SUBNET 172.16.224.0
answer VNET_1_HOSTONLY_UUID 7B9BFD93-622C-462B-8E61-D769CAF443CB
answer VNET_1_VIRTUAL_ADAPTER yes
answer VNET_2_DHCP no
answer VNET_2_HOSTONLY_UUID 9A4C31C6-CD9D-4B32-9346-F0F1995B248B
answer VNET_2_NAT no
answer VNET_2_VIRTUAL_ADAPTER no
answer VNET_8_DHCP yes
answer VNET_8_DHCP_CFG_HASH 2D96256D132E01C945D1722E33B8C4A1B9F55541
answer VNET_8_HOSTONLY_NETMASK 255.255.255.0
answer VNET_8_HOSTONLY_SUBNET 10.0.0.0  #这个是NAT模式默认虚拟网卡
answer VNET_8_HOSTONLY_UUID 49ACAD2C-78B7-4A97-A22F-FDEAC7911EDF
answer VNET_8_NAT yes
answer VNET_8_VIRTUAL_ADAPTER yes

 

posted @ 2024-11-16 19:06  Sinsen柳  阅读(2)  评论(0编辑  收藏  举报