Crash Course Series 1 – Networking

Pinging

The ping command can ping a URL, Hostname or IP Address.

Pining a URL determines whether the computer or remote website is accessible.

  1. When typing using this command you open up Command Prompt (Windows + R) then type, “cmd”

–          Press “Ok”

–          Type in, “ping www.google.com” and then press enter.

Upon typing “Ping www.google.com” your computer will receive 4 replies from the remote address.

–          Upon typing “Ping www.google.com” your computer will receive 4 replies from the remote address. Notice the numbers, “74.125.237.19”. This is the servers IP address.

–          By receiving a reply you can safely assume that your current computer can communicate with the remote device or computer.

Tracert

The Tracert command is used to see the pathway that a request for URL, Hostname or IP Address. It can be used to determine if there is a fault with your Internet Devices or if it’s a fault with your ISP.

Tracert is used in the following manner.

  1. When typing this command open up Command Prompt (Windows + R) then type, “cmd”.
  2. Press “Ok”
  3. Type in, “tracert www.google.com” and then press enter.

This image shows a Tracert to www.google.com from Australia. See the different IPs that the request for Google goes through.

With the above picture this is a tracert to a personal website. From a tracert like this you can see that the command was initiated from a Westnet ADSL Connection and has terminated at a Dodo ADSL Connection.

Ipconfig /all

“Ipconfig /all” is a secondary command of “ipconfig”. Ipconfig /all is used to see more detailed information about the Computer’s network adapters. The Ipconfig /all command will show you the Device that is being used for network connectivity, the Physical Address, the IP and the time the network connection was first active.

*** If you have two devices with the same physical address sometimes referred to as a Mac Address only one computer will be able to get network connectivity on the same network.

If you have a look on the Base of a laptop or net book you will see a label that displays the physical /mac address of the laptop.

The Hosts File

The hosts file is the local file on your PC that stores information about where various servers are located. If you where to edit the Hosts file located in, “C:/windows/system32/drivers/etc/hosts”.

You can make a website address shorter. Say you always play a game call Minecraft.net. Instead of having to type www.minecraft.net to access this website all the time you could type wc into your browser address bar instead. To do this you do the following:

  1. Open the Run menu (Windows + R) type in the following, “C:/windows/system32/drivers/etc/hosts”
  2. Click “Ok”
  3. Open the file with Notepad on the next screen.
  4. Have a read through the first paragraph of information in the file.
  5. On the last line type the following the IP Address of minecraft.net (64.95.64.197) then put a space then type the hostname, “mc”

See the picture below


  1. Save the file Ctrl+S or File > Save.
  2. Open up your web browser and then type “mc”. The website that comes up should be www.Minecraft.net.
  3. Delete the line added to the hosts file and save it.

Remote Desktop Connections

Remote Desktop Connections can be used to manage a computer remotely. The Remote Desktop Connection feature will work if you have a Comptuer that has a version of Windows that is Professional or above. Windows Home, Basic or Premium will not work. These versions of windows have a feature called Remote Assistance instead.

  1. Open up the System Properties windows, Right Click Comptuer > Select Properties or press “Windows + Pause Break”. Then select the Advanced tab / Remote tab.

Select the options as in the above picture.

  1. Find out the IP of this computer by typing “ipconfig” into command. Take note of the IP Address.
  2. On another computer on the network open up the Run Menu (Windows + R) then type in “mstsc”. The Remote Desktop Conenction screen should then open up.
  3. Type in the IP Address that you made a note of. You should be able to connect to the other Computer by clicking the “Connect” button.

Connection Screen that’s shown when connecting to a Remote Desktop.