> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/pdfm-ug/v20-zh-cn/parallels-desktop-for-mac-20-yong-hu-zhi-nan/zai-mac-shang-shi-yong-windows/lian-jie-dao-internet-huo-wang-luo/shi-yong-hostonly-wang-luo-she-zhi.md).

# 使用 Host-Only 网络设置

Parallels Desktop 将会提供仅可供 macOS 和 Windows 访问的封闭式网络。macOS 通过安装 Parallels Desktop 期间在您的 Mac 上自动创建的 Parallels Host-Only Networking 适配器连接到此网络。Windows 地址是由 Parallels DHCP 服务器提供。

<figure><img src="https://3412380772-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F55o4LvvtLQhggE49oKZe%2Fuploads%2Fgit-blob-7075fd773e4b576570a258d7b81555fb3a9d535b%2Fimage.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

要将 Windows 配置为使用 Host-Only 网络，请执行以下操作：

1. 请视需要选择执行以下操作：
   * 单击菜单栏中的 Parallels Desktop 图标，然后选择**配置**。
   * 如果在屏幕顶部可以看见 Parallels Desktop 菜单栏，请选择**操作** > **配置**。
2. 单击**硬件**，然后单击**网络**。
3. 在**网络**窗格中，务必选中 **Host-Only** 选项。

要了解网络问题疑难解答，请参阅 Parallels 网站上的 [Parallels 知识库](https://kb.parallels.cn/128867)。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/pdfm-ug/v20-zh-cn/parallels-desktop-for-mac-20-yong-hu-zhi-nan/zai-mac-shang-shi-yong-windows/lian-jie-dao-internet-huo-wang-luo/shi-yong-hostonly-wang-luo-she-zhi.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
