Rabu, 25 Juni 2014

Networking Basics Command Prompt

Networking Basics Command Prompt
tracert site.com
With Trace route you can trace the path your packets take across the internet from you to your destination. Along the way you can determine the time from hop to hop. You can identify server problems and latency with this tool. It really helps see where the failure is between you and a destination.

nslookup site.com
nslookup xxx.xxx.xxx.xxx
nslookup is a way to get the IP address for a domain name. You can also do a reverse lookup from Domain Name to IP Address. It can be a way to find out if your DNS is properly working or if the site is having problems. You can obtain an IP from a site and try to visit the IP directly, bypassing the Domain Name Servers that would usually resolve the Domain name to IP name.

netstat
netstat can be used to view your active network connections and TCP/IP connections. You can determine what ports are open and being used, what programs are using your ports and what kind of TCP and UDP connections are present. Looking in here for the first time may scare the hell out of you.

netstat Switches
netstat -a Displays all active TCP connections. And TCP / UDP ports.
netstat -e Displays ethernet statistics.
netstat -b Displays all active programs that are listening.

netsh winsock reset winsock reset
netsh int ip reset resetlog.txt TCP/IP reset
netsh is used to reset or rebuild the Windows TCP/IP IP Stack. This can be done if you have a problem with DNS. Say you are able to browse to a sites IP address but not to it's Domain Name. You can find the sites IP by using nslookup mentioned above.
getmac
How do I find my MAC Address you might ask?
If you open up the command prompt you simply type getmac.
arp -a
This command can be used to find out the MAC address of the device you are connecting to. With this information, you can find out what type of router you are connected to by using this website.
Access Command Prompt Codes
The best command prompt trick is how easy it is to access it. On Windows XP, Vista, Windows 7 or Windows 8 just press and hold the Windows Key + R on your keyboard. The other way to access the DOS Command prompt is to simply go to your Windows Start menu, Then go to Run. When the little box pops up you type in cmd. Once the Black Command Prompt pops up you can type any of these commands in and have some fun!

Tidak ada komentar:

Posting Komentar