Discussion on:
View:
Show:
My favorite NETSH command is "netsh diag ping adapter 1" which will ping the default gateway, the DNS server(s) and my own IP address. I now prefer it to the standard ping and ipconfig commands under most circumstances.
I've used this tool for static to DHCP conversions and it works great.
In addition, I find it useful to keep backup copies of all my DHCP configs with this because I can quickly redeploy it if the server fails and needs to be replaced.
In addition, I find it useful to keep backup copies of all my DHCP configs with this because I can quickly redeploy it if the server fails and needs to be replaced.
I use "netsh int io reset." What is the differance between it and winsock?
Once after removing some spyware from a user's WinXP machine, i found the TCP/IP stack was corrupt. Uninstalling and reinstalling TCP/IP isn't an option anymore in the Network control panel. That's when i discovered Netsh. It saved the day. I believe the command i used was:
netsh int ip reset
netsh int ip reset
I've used "netsh winsock reset" to fix a troublesome Windows XP Firewall/ICS that refused to start.
To (Re-)Start the firewall:
Start > Run > cmd > OK
C:\> netsh /?
C:\> netsh firewall /?
C:\> netsh firewall show /?
C:\> netsh firewall show opmode
C:\> netsh firewall set /?
C:\> netsh firewall set opmode mode = ENABLE
C:\> exit
Start > Run > cmd > OK
C:\> netsh /?
C:\> netsh firewall /?
C:\> netsh firewall show /?
C:\> netsh firewall show opmode
C:\> netsh firewall set /?
C:\> netsh firewall set opmode mode = ENABLE
C:\> exit
NETSH is definitely a great commandline tool, however, it does have some really peculiar and annoying limitations. For example, you cannot use any of the DHCP-related commands on a remote system that runs a DHCP server unless the DHCP server service is installed locally, regardless if you are using it locally. In other words, the remote DHCP management is not available without DHCP server installed locally.
-- Rob "I" --
-- Rob "I" --
Having trouble using my XP host to static NAT and turned on loglevel=INFO in the "netsh routing ip nat" context. Hoped that would help troubleshoot, however, I can not find where the logs are written...not in Event Viewer. Does anyone know?
- Keyboard Shortcuts:
- Prev
- Next
- Toggle









































