Sign in to follow this  
Followers 0

Basic Networking 101

2 posts in this topic


The objective is to get you connected to your ISP and to avoid wasted time fussing with the network configuration when you have symptoms that connectivity might be a problem. There are many things that can cause problems with your EMAIL or Print/File sharing not all of them are remotely related to the networking configurations.

There are two major NODES to the Internet: (1) your ISP (the gateway to www et al) and (2) your system(s), which are known as clients (of course theres thousands-millions even, but from your system, its all or nothing). The problem is getting your client to talk to the ISP the rest of the World Wide Web comes to you without configuration issues. Once you can get a browser to operate, you can then get email services per the instructions from your ISP.

Regardless of how you get connected (cable,dsl, or dial-up), your ISP will be in control of the IP address assigned to you and does this most frequently using DHCP. They also will define the DNS addresses you will be using.

There are lots of variations in configuring a network but here are some basic facts for all of them:

Your IP ADDRESS is in a pool of addresses assigned to the ISP. An IP address has the form of aaa.bbb.ccc.ddd
The aaa.bbb.ccc is the SUBNET portion of the address and the ddd portion is always 0 < ddd < 256. Specific numbers have special meaning (0,1,255) so the maximum number of users attached to the subnet aaa.bbb.ccc is 253 you will be one of them -- let's pretend you get assigned an address of aaa.bbb.ccc.101.

You will also get a configuration setting for the GATEWAY. It is the default address for anything your client can not handle for itself � which is almost everything. So unless the request is for an address on your local LAN, all traffic exists your system heads for the gateway. It is ALWAYS associated with your ISP.

Another configuration setting is the subnet MASK and it is frequently This little goodie controls the number of users in the SUBNET and by changing, the ISP can get more than 253 users crammed into the subnet.

With just an IP address, Gateway address and subnet MASK, you can now route IP traffic and prove you are connected. This scenario assumes you are directly connected to the ISP without a router.

1:- First, PING (the nic card itself)
This proves your NIC is operational

2:- Next, PING aaa.bbb.ccc.101 (your public ip address)
This is the address assigned to you by the ISP when the connection was made. But how do you find it?
By getting a Command Prompt (run cmd) and issuing IPCONFIG
Unless you have modified your firewall settings, you should NOT see Request timed out, but rather something like
Reply from aaa.bbb.ccc.101: bytes=32 time<1ms TTL=64

3:- Follow that with PING $GATEWAY (as shown by the previous ipconfig). You should NOT see Request timed out.
This too should look like
Reply from $GATEWAY: bytes=32 time 104 ms TTL=64
Users with a router; KEEP reading below)
Congrats! Steps 1-3 have proven you have connectivity and routing to your ISP.

The next step is to verify you can use NAMES instead of ip-addresses. This transformation/lookup occurs in the DNS (ie: Domain Name Service) where all those Internet domains are registered (btw: there's many places to register, but accessing any one will (finally) get to the one with the name you're looking for OR return can't find Non-existent domain.)

In your command prompt enter IPCONFIG /ALL
Near the bottom you will see (usually) two lines associated with the label DNS Servers . .
Whenever your system requests site-by-name, the operation flows like this:

($gateway is symbolic representing the IP address shown as Default Gateway

Returns the ip-address thereof <-- Gateway <-- DNS Request --> Gateway --> off into the WWW Reply from <-- Gateway <--

Request --> Gateway --> DNS address

4:- Now prove that your browser can find pages using a name rather than an ip-address:
PING WWW.GOOGLE.COM and you should get something like

Pinging WWW.GOOGLE.COM[] with 32 bytes of data
Reply from bytes=32 time=98ms TTL=238

Notice that WWW.GOOGLE.COM was translated into

Once you�ve come this far, your TCP configuration is valid for your ISP. :wave: :giddy:

Any other issues with connecting to specific services (eg: email, ssh, file sharing) will NOT be issues with TCP but rather, your client software configuration and/or your firewall.

For myself, I always make the ISP home page my browser's home page this gives me immediate status that I am connected to the ISP and if it�s working correctly, any problems with accessing is a clear indication that it is upstream from my ISP! Saves me lots of time J

But what if you have a router between the modem and your system(s)? What changes? Lots of things but the above principles still apply. Remember we were pretending you got assigned an address of aaa.bbb.ccc.101? That will likely still be true but it will not be seen using IPCONFIG. You will need to access your router�s configuration page which is brand-name dependent:

D-Link Linksys Belkin


So, enter http://192.168.x.1/ and then use the documented user/password
Not having access to all variations of routers, I'll have to use mine as an example (ie Netgear RP614v2) and you will need to poke about the menu system to find the WAN status or setup (netgear menu is Router Status) and mine looks like
Internet Port
MAC Address 00:aa:bb:cc:dd:ee
IP Address aaa.bbb.ccc.101 << there it is! My PUBLIC ip address
DHCP Client
IP Subnet Mask
Domain Name Server

The LAN Port looks like
MAC Address 00:zz:xx:ww:vv:tt
IP Address << the router's address and the LAN gateway
DHCP Server
IP Subnet Mask

Where is the ip address for the system(s) on the LAN? Under the Attached Device Menu:
# IP Address Device Name MAC Address
01 eMac 00:zz:cc:ee:rr:tt
02 LTBEARD 00:zz:xx:mm:nn:tt

Using a router will change your tests 1,2,3,4 as follows
1:- First, PING (the nic card itself) no change here
2:- PING (your LAN ip address)
3:- PING (your router/gateway address) [*]
3:- PING aaa.bbb.ccc.101 (your public ip address)
4:- PING

[*] note: with a router/firewall in place you may not get timing info here, as the firewall can be configured to ignore ICMP requests (for security reasons).

Share this post

Link to post
Share on other sites


To use the ping command, follow these steps:

  1. Ping the loopback address to verify that TCP/IP is installed and correctly configured on the local computer. To do this, type the following command:
    If the loopback test fails, the IP stack is not responding. This problem may occur if any one or more of the following conditions is true:
    * The TCP drivers are corrupted.
    * The network adapter is not working.
    * Another service is interfering with IP.
  2. Ping the IP address of the local computer to verify that the computer was correctly added to the network. If the routing table is correct, this procedure just forwards the packet to the loopback address of To do this, type the following command:
    ping IP address of local host
    If the loopback test succeeds but you cannot ping the local IP address,
    there may be an issue with the routing table or with the network adapter driver.
  3. Ping the IP address of the default gateway to verify that the default gateway is working and that you can communicate with a local host on the local network. To do this, type the following command:
    ping IP address of default gateway
    If the ping fails, you may have an issue with the network adapter, the router or gateway device, the cabling, or other connectivity hardware.
  4. Ping the IP address of a remote host to verify that you can communicate through a router. To do this, type the following command:
    ping IP address of remote host
    If the ping fails, the remote host may not be responding, or there may be a problem with the network hardware between computers.
    To rule out an unresponsive remote host, use Ping again to a different remote host.
  5. Ping the host name of a remote host to verify that you can resolve a remote host name. To do this, type the following command:
    ping Host name of remote host
    Ping uses name resolution to resolve a computer name into an IP address. Therefore, if you successfully ping an IP address but you cannot ping a computer name, there is a problem with host name resolution, not with network connectivity. Verify that DNS server addresses are configured for the computer, either manually in the properties of TCP/IP, or by automatic assignment. If DNS server addresses are listed when you type the ipconfig /all command, try to ping the server addresses to make sure that they are accessible.

excerpt from MS KB314067

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  
Followers 0