TopicIT Networking →
⌚ About 2 min read
Identify the physical address of an Ethernet card or Wi-Fi.
Avant de commencer : adaptez toujours les commandes et manipulations à votre environnement. Sur un système de production, prévoyez une backup ou un retour arrière lorsque l’action peut modifier la configuration.
Étapes à suivre
-
1
Open a terminal.
Launch it, command prompt.
-
2
Show interfaces.
Run getmac /v or ipconfig /all.
-
3
Find the active interface.
Identify Ethernet or Wi-Fi.
-
4
Read the physical address.
L,Address(47) is usually composed of six hexadecimal groups.
Commands utiles
germac /v.
ipconfig /all.
À retenir
- Smartphones and some systems can use random Mac addresses in Wi-Fi.
- L,Address(s)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)((((TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(TM)(((TM)(TM)((((TM)(TM)(TM)((((((TM)(((((TM)(TM)))((TM)((((TM)))))))))))))))))))(((((((((((((
Windows addressing: useful reference points
Technical checkpoints
Example check
Compare the active adapter, DHCP origin, gateway and DNS before renewing the lease.
Get-NetIPConfiguration
ipconfig /allTopic-specific pitfalls
- Renewing DHCP does not fix a wrong VLAN, an unauthorized switch port or a missing DHCP server.
- A virtual or VPN adapter can appear before the interface actually in use: check InterfaceAlias and the default route.
How to validate
- The address belongs to the expected subnet and no APIPA is present on the interface in use.
- Gateway, DNS and DHCP lease match the expected network; the test is repeated after any change.