Skip to content

Commit

Permalink
Merge pull request #361 from zexi/fix-create-network
Browse files Browse the repository at this point in the history
fix: network-create gateway parameter
  • Loading branch information
zexi authored Aug 20, 2024
2 parents cb3761e + 9409141 commit 8ce504b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/getting-started/_parts/_quickstart-faq-virt-host.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@

1. 若日志报错信息中包含“register failed: try create network: find_matched == false”,则表示未成功创建包含宿主机的IP子网,导致宿主机注册失败,请创建包含宿主机网段的IP子网。

```
```bash
# 创建包含宿主机网段的IP子网
$ climc network-create bcast0 adm0 <start_ip> <end_ip> mask
# gateway_ip 为该子网的默认路由
# start_ip 和 end_ip 为起始 ip 范围,需要包含宿主机的 ip
# mask 为子网掩码,比如:24
$ climc network-create --server-type baremetal --gateway <gateway_ip> bcast0 adm0 <start_ip> <end_ip> <mask>
```

![](../images/iperror.png)
Expand Down

0 comments on commit 8ce504b

Please sign in to comment.