networking:windows:windows_networking
This is an old revision of the document!
Table of Contents
Windows Networking
Show IPconfig for Single Interface
IPconfig
cannot be configured to show only a single interface if multiple interfaces exist. However, you can use the
netsh
command for a similar job.
netsh interface ip show addresses "interface name"
netsh interface ip show config "interface name"
netsh interface ip show route "interface name"
netsh interface ip show neighbors "interface name"
List Open Ports
netstat -nao
List Network Connections
netstat -na
Add Static Network Route
Run in a command prompt as administrator. In this example, all packets for the network 192.168.1.0/24 will be directed to the gateway 172.16.1.100
route -p add 192.168.1.0 mask 255.255.225.0 172.16.1.100 metric 1
Slow DNS
If the network is running but is running very slowly for no apparent reason, try using IP addresses instead to troubleshoot. Try accessing an internal web server using its IP address instead of the DNS name. If this seems to fix the problem, run the following steps (as administrator) on the domain controllers that control DNS.
- Open a command prompt
ipconfig /registerdns
- Restart the Net Logon service (Control Panel→Administrative Tools→Services and then right click Net Logon and select restart).
=Disable Protocols=
netsh interface teredo set state disabled netsh interface isatap set state disabled netsh interface 6to4 set state disabled
netsh int ipv6 isatap set state disabled netsh int ipv6 6to4 set state disabled netsh interface teredo set state disable
Get List of LDAP Servers
nslookup -type=SRV _ldap._tcp.domain.local
Get List of Domain Controllers
nslookup domain.local
networking/windows/windows_networking.1669207782.txt.gz · Last modified: by 127.0.0.1
