From b38a23fc662da6b1c279f784e592ce08395d9b93 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Mon, 5 May 2025 03:25:23 +0000 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20Hyper=20V?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Hyper-V.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Hyper-V.md diff --git a/Hyper-V.md b/Hyper-V.md new file mode 100644 index 0000000..0445a49 --- /dev/null +++ b/Hyper-V.md @@ -0,0 +1,17 @@ +# 啟用 KVM + +```powershell +Set-VMProcessor -VMName "" -ExposeVirtualizationExtensions $true +``` + +# 偽裝 MAC 地址 for PVE + +因為虛擬機共用同一張網路卡,為了防止流量進到 PVE 後,不再往虛擬機送,因此需要偽裝 MAC 地址 + +```powershell +Get-VMNetworkAdapter -VMName "" | Set-VMNetworkAdapter -MacAddressSpoofing On +``` + +# 參考資料 + +- [開啟巢狀虛擬化在 Hyper-V 內安裝 Proxmox VE](https://medium.com/@nicholasyau/%E9%96%8B%E5%95%9F%E5%B7%A2%E7%8B%80%E8%99%9B%E6%93%AC%E5%8C%96%E5%9C%A8-hyper-v-%E5%85%A7%E5%AE%89%E8%A3%9D-proxmox-ve-edd48a4cf499) \ No newline at end of file