ThaiVeeam

Virtualization and Hypervisor => Hyper-V => Topic started by: New User on March 08, 2026, 01:10:30 PM

Title: การเปิด promiscuous mode (mirror/SPAN) บน Hyper-V
Post by: New User on March 08, 2026, 01:10:30 PM
สำหรับการเปิด promiscuous mode เพื่อใช้กับ wireless controller, ClearPass, Wireshark ทำได้ดังนี้
$portFeature = Get-VMSystemSwitchExtensionPortFeature -FeatureName "Ethernet Switch Port Security Settings"
$portFeature.SettingData.MonitorMode = 2
Add-VMSwitchExtensionPortFeature -ExternalPort -SwitchName "<switchname>" -VMSwitchExtensionFeature $portFeature

ซึง MonitorMode = 2 ก็จะหมายทำการทำ copy traffic ที่ทั้งมาถึงและออกจาก physical NIC และทำสำเนาข้อมูลไปยัง port ปลายทาง

และ ทำการ check MAC Spoofing ตามไฟล์แนบ