Skip to content

Instantly share code, notes, and snippets.

@SuhasHebbar
Last active June 1, 2020 20:03
Show Gist options
  • Save SuhasHebbar/dae5e6fbfaf5aae594c07b63f73b4c0a to your computer and use it in GitHub Desktop.
Save SuhasHebbar/dae5e6fbfaf5aae594c07b63f73b4c0a to your computer and use it in GitHub Desktop.
Output of ipconfig and get-NetAdapter with either WiFi or USB Tethering

USB tethering:

ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Ethernet adapter vEthernet (WSL):

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::5567:25fb:1516:9b11%46
   IPv4 Address. . . . . . . . . . . : 172.27.32.1
   Subnet Mask . . . . . . . . . . . : 255.255.240.0
   Default Gateway . . . . . . . . . :

Ethernet adapter Ethernet 2:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::2880:e685:528c:59c8%7
   IPv4 Address. . . . . . . . . . . : 192.168.42.165
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.42.129

Wireless LAN adapter Local Area Connection* 9:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Wireless LAN adapter Local Area Connection* 10:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Wireless LAN adapter Wi-Fi:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Get-NetAdapter

Name                      InterfaceDescription                    ifIndex Status       MacAddress             LinkSpeed
----                      --------------------                    ------- ------       ----------             ---------
Wi-Fi                     Broadcom 802.11n Network Adapter             28 Disconnected AC-E0-10-B4-0F-95        65 Mbps
Ethernet                  Realtek PCIe GBE Family Controller           18 Disconnected 58-20-B1-45-1B-32          0 bps
vEthernet (WSL)           Hyper-V Virtual Ethernet Adapter             46 Up           00-15-5D-37-64-87        10 Gbps
Ethernet 2                Remote NDIS based Internet Sharing D...       7 Up           EA-BF-F4-F7-EF-36     426.0 Mbps

Only WiFi connected:

ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Wireless LAN adapter Local Area Connection* 9:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Wireless LAN adapter Local Area Connection* 10:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  . :
   IPv6 Address. . . . . . . . . . . : 2409:4071:200e:706b:f1d8:a6cd:9443:a0d8
   Temporary IPv6 Address. . . . . . : 2409:4071:200e:706b:f402:9f53:50d7:ca26
   Link-local IPv6 Address . . . . . : fe80::f1d8:a6cd:9443:a0d8%28
   IPv4 Address. . . . . . . . . . . : 192.168.225.42
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . : fe80::3118:9843:d2ea:3d79%28
                                       192.168.225.1

Ethernet adapter vEthernet (WSL):

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::5073:5e27:797:2bbc%46
   IPv4 Address. . . . . . . . . . . : 172.27.32.1
   Subnet Mask . . . . . . . . . . . : 255.255.240.0
   Default Gateway . . . . . . . . . :

Get-NetAdapter

Name                      InterfaceDescription                    ifIndex Status       MacAddress             LinkSpeed
----                      --------------------                    ------- ------       ----------             ---------
Wi-Fi                     Broadcom 802.11n Network Adapter             28 Up           AC-E0-10-B4-0F-95        65 Mbps
Ethernet                  Realtek PCIe GBE Family Controller           18 Disconnected 58-20-B1-45-1B-32          0 bps
vEthernet (WSL)           Hyper-V Virtual Ethernet Adapter             46 Up           00-15-5D-37-64-87        10 Gbps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment