Hi all,
how can I create programmatically an external virtual switch of type "L2Bridge" that can work in an business environment where the "eapol" protocol (Standard 802.1X) is used?
Background:
Attaching the tool "Wireshark" to a physical network adapter it can be seen when plugging in the ethernet cable into the physical network adapter that the "eapol" protocol is triggered. Triggering means that an "eapol" start packet is sent. Other way to trigger it is by restarting the windows service "dot3svc".
Is there an example of an external virtual switch working with the "eapol" protocol?
Yes, when creating an external virtual switch using the Hyper-V UI. In that case the "eapol" protocol can be seen in action by using "Wireshark" as described above.
Problem:
Using Powershell an external virtual switch of type "L2Bridge" can be created by issuing the following command:
New-HnsNetwork -Type "L2Bridge" -Name "myVirtualSwitch" -AddressPrefix "172.30.1.0/24" -Gateway "172.30.1.1" -DNSServer "192.168.178.1"
Using "Wireshark" as described above can be seen that the "eapol" protocol is not triggered.
Any idea which settings are missing here?
Regards
Gabriel