Skip to content

Commit 393686e

Browse files
mingshuoqiumschiu77
authored andcommitted
Update docs/vm/ for multiple NICs on a VM
Signed-off-by: Chris Chiu <[email protected]>
1 parent b2d7ea7 commit 393686e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docs/vm/create-vm.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ Please refer to [this page](./create-windows-vm.md) for creating Windows virtual
4242
1. To configure networks, go to the **Networks** tab.
4343
1. The **Management Network** is added by default, you can remove it if the VLAN network is configured.
4444
1. You can also add additional networks to the VMs using VLAN networks. You may configure the VLAN networks on **Advanced > Networks** first.
45+
46+
:::note
47+
48+
If a VM is configured with multiple network interfaces, and at least one interface is connected to a VLAN network while another is connected to the Management Network, it may not be guaranteed that the Management Network IP is reachable from the nodes. This is because the VM's default route could have been overridden by the gateway of the VLAN network, causing the routing to prefer the VLAN network for inbound/outbound traffic, including traffic to the Management Network.
49+
50+
:::
51+
4552
1. (Optional) Set node affinity rules on the **Node Scheduling** tab.
4653
1. (Optional) Set workload affinity rules on the **VM Scheduling** tab.
4754
1. Advanced options such as run strategy, os type and cloud-init data are optional. You may configure these in the **Advanced Options** section when applicable.

docs/vm/edit-vm.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ You can add additional VLAN networks to your VM instances after booting, the `ma
4141

4242
Additional NICs are not enabled by default unless you configure them manually in the guest OS, e.g. using [wicked for your OpenSUSE Server](https://doc.opensuse.org/documentation/leap/reference/html/book-reference/cha-network.html#sec-network-manconf) or [netplan for your Ubuntu Server](https://ubuntu.com/server/docs/network-configuration).
4343

44+
When adding NICs, if one is connected to the Management Network, its IP may not be reachable from the node. This can happen if the VM's default route is overridden by the gateway of another network (e.g., a VLAN).
45+
4446
![edit-vm](/img/v1.2/vm/edit-vm-networks.png)
4547

4648
For more details about the network implementation, please refer to the [Networking](../networking/harvester-network.md) page.
@@ -61,4 +63,4 @@ If you are using external storage, ensure that the storage provider supports vol
6163

6264
Access Credentials allow you to inject basic auth or ssh keys dynamically at run time when your guest OS has QEMU guest agent installed.
6365

64-
For more details please check the page here: [Dynamic SSH Key Injection via Qemu guest agent](./access-to-the-vm.md#dynamic-ssh-key-injection-via-qemu-guest-agent).
66+
For more details please check the page here: [Dynamic SSH Key Injection via Qemu guest agent](./access-to-the-vm.md#dynamic-ssh-key-injection-via-qemu-guest-agent).

0 commit comments

Comments
 (0)