解决 Parallel Desktop 16 在 macOS Big Sur 无法联网问题

问题简要

在 macOS 更新到 Big Sur 之后,Mac 平台非常好用的虚拟机软件 Parallel Desktop 在运行 Windows 时,可能出现客户机无法联网的情况,让人很恼火。网上给出的命令行方法非常不好用,每次都要通过命令行才能启动,且启动后还丢失了一部分文件内容。在国内外大神经过一段时间摸索后,给出了替换文件大法解决,感谢群成员 @无事摸鱼,有事烧纸 提供。

 

解决方法

简单来说就是把下面的代码储存为 network.desktop.xml,替换以下路径的同名文件:

/Library/Preferences/Parallels

上面的路径可以在访达按下 Shift + Command + G 快速跳转。

文件内容如下:

<?xml version="1.0" encoding="UTF-8"?>
<ParallelsNetworkConfig schemaVersion="1.0" dyn_lists="VirtualNetworks 1">
   <SystemFlags></SystemFlags>
   <IPv6Enabled>1</IPv6Enabled>
   <UseKextless>0</UseKextless>
   <StartNaptd>-1</StartNaptd>
   <NATDAllowEtcHostsWrite>1</NATDAllowEtcHostsWrite>
   <UDPSendBufSize>4106</UDPSendBufSize>
   <VirtualNetworks dyn_lists="VirtualNetwork 2" id="0">
      <VirtualNetwork dyn_lists="" id="0">
         <Uuid>{46a8dae7-3c93-402e-80e9-3fc31594aa0c}</Uuid>
         <NetworkID>Shared</NetworkID>
         <Description>Shared Networking</Description>
         <Enabled>1</Enabled>
         <NetworkType>1</NetworkType>
         <BoundCardMac></BoundCardMac>
         <VLANTag>65535</VLANTag>
         <HostOnlyNetwork dyn_lists="">
            <HostIPAddress>10.211.55.2</HostIPAddress>
            <DhcpIPAddress>10.211.55.1</DhcpIPAddress>
            <IPNetMask>255.255.255.0</IPNetMask>
            <HostAssignIPv6>0</HostAssignIPv6>
            <HostIP6Address>fdb2:2c26:f4e4::1</HostIP6Address>
            <DhcpIP6Address>fdb2:2c26:f4e4::</DhcpIP6Address>
            <IP6NetMask>ffff:ffff:ffff:ffff::</IP6NetMask>
            <DNSUseEtcHosts>1</DNSUseEtcHosts>
            <RegVmNameInEtcHosts>1</RegVmNameInEtcHosts>
            <EnableDNS>1</EnableDNS>
            <ParallelsAdapter dyn_lists="">
               <Enabled>1</Enabled>
               <Name>Parallels Shared #0</Name>
               <PrlAdapterIndex>0</PrlAdapterIndex>
               <HiddenAdapter>1</HiddenAdapter>
            </ParallelsAdapter>
            <DHCPServer dyn_lists="">
               <Enabled>1</Enabled>
               <IPScopeStart>10.211.55.1</IPScopeStart>
               <IPScopeEnd>10.211.55.254</IPScopeEnd>
               <IPReservations dyn_lists="IPReservation 0"/>
            </DHCPServer>
            <DHCPv6Server dyn_lists="">
               <Enabled>1</Enabled>
               <IPScopeStart>fdb2:2c26:f4e4::</IPScopeStart>
               <IPScopeEnd>fdb2:2c26:f4e4:0:ffff:ffff:ffff:ffff</IPScopeEnd>
               <IPReservations dyn_lists="IPReservation 0"/>
            </DHCPv6Server>
            <NATServer dyn_lists="">
               <Enabled>1</Enabled>
               <PortForwarding dyn_lists="">
                  <TCP dyn_lists="ForwardEntry 0"/>
                  <UDP dyn_lists="ForwardEntry 0"/>
               </PortForwarding>
               <IdleConnectionTimeoutSecs>7440</IdleConnectionTimeoutSecs>
               <UseIPFilter>0</UseIPFilter>
               <ProvideIPv6Route>-1</ProvideIPv6Route>
               <NatDNSFilterIPv6Replies>-1</NatDNSFilterIPv6Replies>
               <UseInterface></UseInterface>
            </NATServer>
         </HostOnlyNetwork>
      </VirtualNetwork>
      <VirtualNetwork dyn_lists="" id="1">
         <Uuid>{0b49ae61-3464-4bb1-a10e-659637a89054}</Uuid>
         <NetworkID>Host-Only</NetworkID>
         <Description>Host Only Networking</Description>
         <Enabled>1</Enabled>
         <NetworkType>1</NetworkType>
         <BoundCardMac></BoundCardMac>
         <VLANTag>65535</VLANTag>
         <HostOnlyNetwork dyn_lists="">
            <HostIPAddress>10.37.129.2</HostIPAddress>
            <DhcpIPAddress>10.37.129.1</DhcpIPAddress>
            <IPNetMask>255.255.255.0</IPNetMask>
            <HostAssignIPv6>0</HostAssignIPv6>
            <HostIP6Address>fdb2:2c26:f4e4:1::1</HostIP6Address>
            <DhcpIP6Address>fdb2:2c26:f4e4:1::</DhcpIP6Address>
            <IP6NetMask>ffff:ffff:ffff:ffff::</IP6NetMask>
            <DNSUseEtcHosts>1</DNSUseEtcHosts>
            <RegVmNameInEtcHosts>1</RegVmNameInEtcHosts>
            <EnableDNS>1</EnableDNS>
            <ParallelsAdapter dyn_lists="">
               <Enabled>1</Enabled>
               <Name>Parallels Host-Only #1</Name>
               <PrlAdapterIndex>1</PrlAdapterIndex>
               <HiddenAdapter>1</HiddenAdapter>
            </ParallelsAdapter>
            <DHCPServer dyn_lists="">
               <Enabled>1</Enabled>
               <IPScopeStart>10.37.129.1</IPScopeStart>
               <IPScopeEnd>10.37.129.254</IPScopeEnd>
               <IPReservations dyn_lists="IPReservation 0"/>
            </DHCPServer>
            <DHCPv6Server dyn_lists="">
               <Enabled>1</Enabled>
               <IPScopeStart>fdb2:2c26:f4e4:1::</IPScopeStart>
               <IPScopeEnd>fdb2:2c26:f4e4:1:ffff:ffff:ffff:ffff</IPScopeEnd>
               <IPReservations dyn_lists="IPReservation 0"/>
            </DHCPv6Server>
            <NATServer dyn_lists="">
               <Enabled>0</Enabled>
               <PortForwarding dyn_lists="">
                  <TCP dyn_lists="ForwardEntry 0"/>
                  <UDP dyn_lists="ForwardEntry 0"/>
               </PortForwarding>
               <IdleConnectionTimeoutSecs>7440</IdleConnectionTimeoutSecs>
               <UseIPFilter>0</UseIPFilter>
               <ProvideIPv6Route>-1</ProvideIPv6Route>
               <NatDNSFilterIPv6Replies>-1</NatDNSFilterIPv6Replies>
               <UseInterface></UseInterface>
            </NATServer>
         </HostOnlyNetwork>
      </VirtualNetwork>
   </VirtualNetworks>
</ParallelsNetworkConfig>

建议替换前备份原有文件。懒人可直接从下面的链接下载。

 

 

···下载地址
    该资源永久超级会员免费 去升级
    • 解压密码heipg.cn
    • 文件大小2KB
    • 有效期永久
    • 最近更新2021年02月01日
    0. 本站所有资源解压密码均为 heipg.cn
    1. 本站资源收集于网络,仅做学习和交流使用,请于下载后24小时内删除。如果你喜欢我们推荐的软件,请购买正版支持作者。
    2. 如有无法下载的链接,联系:admin#heipg.cn,或到QQ群进行反馈,我们将及时进行处理。
    3. 本站发布的内容若侵犯到您的权益,请联系站长删除,联系方式:admin#heipg.cn,我们将第一时间配合处理!
    扫描QQ二维码加入【黑苹果星球交流群】

    黑苹果星球 » 解决 Parallel Desktop 16 在 macOS Big Sur 无法联网问题

    发表评论