3 Comments
Can you replicate this in MacOS
replied 10 months ago
Thank you for your comment. We'll review and update the Knowledge Center article as needed.
For Windows 10 (and 11 at this point), you should run this first to see what your interfaces are:
# This gets all IPv4 interfaces, sorts them by their InterfaceMetric value, then formats them as a table while looking up their description Get-NetIPInterface -AddressFamily IPv4 | Sort-Object -Property InterfaceMetric | Format-Table -Property InterfaceIndex, InterfaceAlias, @{Label="InterfaceDescription"; Expression={(Get-NetAdapter -InterfaceIndex $_.InterfaceIndex).InterfaceDescription}}, InterfaceMetric, ConnectionState
You should see something similar to this:
InterfaceIndex InterfaceAlias InterfaceDescription InterfaceMetric ConnectionState
-------------- -------------- -------------------- --------------- ---------------
13 Local Area Connection TAP-Windows Adapter V9 for OpenVPN Connect 1 Disconnected
8 Ethernet 2 Realtek USB GbE Family Controller 5 Disconnected
3 Ethernet Intel(R) Ethernet Connection (16) I219-LM 25 Connected
21 Ethernet 3 AWS VPN Client TAP-Windows Adapter V9 25 Connected
A lower InterfaceMetric
gives higher priority when selecting an interface to route through.
replied 10 months ago
Relevant content
- asked 4 years ago
- asked 2 years ago
- asked a year ago
- Accepted Answerasked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago