Email:  sandysue9@comcast.net
Home  |  Learners  | Instructional  Design Portfolios  |  Podcasts

An Overview of Routing and IP Address

Routing is an important function of the IP. It is the process of choosing a path over which to send packets. The device that performs this task is called a router. The router forwards packets from one physical network to another. The network layer performs the routing function. A packet or datagram carries information for routing from the originating host to the destination host using the IP address. There are two types of routing:

Direct routing- two computers on the same physical network needing to communicate, the packets do not require a router.

Indirect routing- two computers that are not on the same physical network needing to communicate, the packets need a router for delivery.

Routing Process

Routing involves two key elements:

1. Host must know which router to use for destination which is determined by the default gateway (IP address of router on local network)

2. Router must know where to send packet

There is static and dynamic routing. Static routers contain routing information tables that are built and updated manually. Dynamic routers communicate with other dynamic routers to calculate routes automatically using routing protocols.

Routing Information Tables:

A routing information table is a database maintained by a router. Within this table is contained the location of all networks in relation to the router's location. When the packet arrives at the router, the router examines the packet's destination network, then checks its own routing information table. It will then determine the next router to send the packet to, and forward the packet to that router, which is considered a hop. The following illustration shows a simplified routing table that breaks down the basic process.

 

Routhing Methods:

RIP - Routing Information Protocol

OSPF - Open Shortest Path First

 

Understanding Port Numbers

Once an IP packet has arrived at the destination host using the IP address, the packet is passed to the transport layer. The transport layer determines which service the packet is using by examining the packet's destination port number. TCP and UDP protocol headers contain both source and destination port numbers. These port numbers are addresses by which processes can be identified. Each port number is a 19 bit integer value that identifies a communication channel to a specific user process. for example:

* FTP = port 21
* HTTP = port 80
* DNS = port 53
* SMTP = port 25

Standard Port Assignments:
Port Number Range: 1 to 1023 - Well known (reserved) port numbers
Port Numbers Range: 1024 to 65535 - Registered port numbers.

 

IP addressing, address classes and the concept of uniqueness

IP addresses are the real address of a Web site. URLs simply forward to the IP address and are easier for people to remember.

All IP addresses have to be unique, just like Social Security numbers and phone numbers.

There are classes of IP addresses that are reserved for specific purposes. You book has a chart that illustrates IP classes. You should know the classes for test purposes, as well as your own general knowledge, so study this chart.

Static IP addresses do not change. Dynamic IP addresses are Sequentially created from a pool.


Classes

 

Address Class IP Address Range
Class A 0.0.0.0 to 127.255.255.255
Class B 128.0.0.0 to 191.255.255.255
Class C 192.0.0.0 to 223.255.255.255
Class D 224.0.0.0 to 239.255.255.255
Class E 240.0.0.0 to 247.255.255.255

Private IP Address

Using private IP addressed protects LAN host from Internet clients because they cannot be reached from the Internet.

ICANN has reserved the following three blocks of the IP address space for private networks.

* 10.0.0.0 through 10.255.255.255
* 172.16.0.0 through 172.31.255.255
* 192.168.0.0 through 192.168.255.255

 

TCP/IP properties needed to configure a typical workstation

The following list contains the normal configuration parameters for a workstation on a TCP/IP network.

A network host must have at least an IP address and a subnet mask to communicate on a network.

WAN communication requires at least an IP address, a subnet mask and a default gateway.

Various Diagnostic Tools for Troubleshooting TCP/IP Networks

* Ping
* tracert and traceroute
* netstat
* ipconfig
* winipcfg
* arp
* network analizers


Top

Subnetworks

Binary Conversion

Return to Learner Corner

 

If you experience any problems navigating this site, please email sandysue9@comcast.net
Sandra Cobb: all rights reserved © 1999-2007