You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -393,20 +393,13 @@ On the other hand, `socket_vmnet` does not require the entire QEMU process to ru
393
393
394
394
### How to use static IP addresses?
395
395
396
-
Two options:
397
-
398
-
#### By using a shorter DHCP range
399
396
When `--vmnet-gateway=IP` is set to "192.168.105.1", the whole subnet (192.168.105.2-192.168.105.254) is used as the DHCP range.
400
397
401
398
To use static IP addresses, limit the DHCP range with `--vmnet-dhcp-end=IP`.
402
399
403
400
For example, `--vmnet-gateway=192.168.105.1 --vmnet-dhcp-end=192.168.105.100` allows using `192.168.105.101-192.168.105.254`
404
401
as non-DHCP static addresses.
405
402
406
-
#### By setting up network UUID (only in vmnet.host mode)
407
-
408
-
When `--vmnet-mode=host` and `--vmnet-network-uuid` are set, the internal DHCP is disabled and you are free to use static IP addresses. You still need to set `--vmnet-gateway=IP` to avoid collision with other vmnet networks.
409
-
410
403
### How to reserve DHCP addresses?
411
404
412
405
- Decide a unique MAC address for the VM, e.g. `de:ad:be:ef:00:01`.
0 commit comments