![]() | |
| ||||
| 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 255.255.255.0. 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 127.0.0.1 (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 ($gateway is symbolic representing the IP address shown as Default GatewayCongrats! 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 jun-k-bix.com: 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: Code: Request foo.com --> Gateway --> DNS address Returns the ip-address thereof <-- Gateway <-- DNS Request ip-address-of-foo.com --> Gateway --> off into the WWW Reply from foo.com <-- Gateway <-- foo.com PING WWW.GOOGLE.COM and you should get something like Pinging WWW.GOOGLE.COM[66.102.7.104] with 32 bytes of data Reply from 66.102.7.104: bytes=32 time=98ms TTL=238 Notice that WWW.GOOGLE.COM was translated into 66.102.7.104 Once you’ve come this far, your TCP configuration is valid for your ISP. :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 foo.com 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: Code: Netgear 192.168.0.1 D-Link 192.168.0.1 Linksys 192.168.1.1 Belkin 192.168.2.1 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 255.255.254.0 Domain Name Server 67.21.15.2 67.21.15.18 The LAN Port looks like MAC Address 00:zz:xx:ww:vv:tt IP Address 192.168.0.1 << the router’s address and the LAN gateway DHCP Server IP Subnet Mask 255.255.255.0 Where is the ip address for the system(s) on the LAN? Under the Attached Device Menu: # IP Address Device Name MAC Address 01 192.168.0.3 eMac 00:zz:cc:ee:rr:tt 02 192.168.0.4 LTBEARD 00:zz:xx:mm:nn:tt Using a router will change your tests 1,2,3,4 as follows 1:- First, PING 127.0.0.1 (the nic card itself) no change here 2:- PING 192.168.0.4 (your LAN ip address) 3:- PING 192.168.0.1 (your router/gateway address) [*] 3:- PING aaa.bbb.ccc.101 (your public ip address) 4:- PING www.google.com [*] 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).
__________________ J. O. Beard; you + tech-101.com => synergism. Secure your system now |
| ||||
| To use the ping command, follow these steps:
excerpt from MS KB314067
__________________ J. O. Beard; you + tech-101.com => synergism. Secure your system now |
![]() |
| Tags |
| diagnosis, network connectivity |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Basic Firewall Concepts | jobeard | Network Security | 0 | 03-02-2009 12:28 PM |
| Help with wireless networking | Lilah914 | Networking | 5 | 01-18-2009 12:57 PM |
| Blue screen crash in Vista home basic | crissinty | Windows Vista | 3 | 01-14-2009 01:35 PM |
| Protect your system from basic hacks | Blind Dragon | Tutorials | 0 | 12-29-2008 12:24 PM |
Copyright © 2009 Tech-101.com. All rights reserved.