Network Interface
Shortcuts
command to get to network adapters control panel in windows:
| |
Network Interface Issues NIC
Check DHCP settings + assigned IP address Check Cables
Check for incorrectly uninstalled network adapters in device manager > show hidden devices then uninstall
Reset the TCP/IP stack with the following command: “netsh int IP reset” (will clear all network configuration)
If the issue is with NIC teaming this can be removed for all adapters with the command: “LbfoAdmin /Resetconfig”
Enable Ping using default network rule:
Enable the rule with powershell:
| |
Enable Ping / ICMP using netsh
Use the following commands to set rule on windows firewall to allow ping on server
IPv4
| |
IPv6
| |
Network info
Get password for wifi network from netsh:
Get saved networks:
- netsh wlan show profile
Get details for network with password in clear text:
- netsh wlan show profile key=clear
Get services that are bound to ports:
- netstat -ano
Interface configuration
Issues with default gateway? remove unwanted routes on network interface.
Find the routes:
| |
remove the routes with a destination prefix of 0.0.0.0 and next hop of 0.0.0.0
| |
Remove routes to persist:
| |