HOME  |    TRAINING  |   FREE TUTORIALS   |   JOBS
Find out more about our new RSS feed.
FREE Tutorial
TCP/IP NETWORKING - ROUTING AND TCP/IP

CATEGORY
SEARCH OUR OTHER TUTORIALS

DESCRIPTION

The initial design goal of TCP/IP was to provide an internetworking architecture. With many networks TCP/IP gateways become involved. A TCP/IP gateway is equivalent to an OSI router and so in this handout TCP/IP gateways are referred to as routers.


TUTORIAL TAKEN FROM COURSE : TCP/IP NETWORKING

FULL COURSE DETAILS

On completion of this course readers will be able to set-up, manage and use a network. This course also gives detailed descriptions of the internal workings of TCP/IP networking and security.

TO ACCESS THE FULL COURSE AND HUNDREDS OF OTHERS, CLICK HERE.


A router will have at least two network cards and be connected to at least two networks. A router will merely forward IP datagrams between networks. This forwarding is known as routing.

Repeaters and Bridges

Before looking at routers it is worth reviewing other technology for interconnecting physical networks. With thick Ethernet a length of cable ( a segment) can be a maximum of 500m in length. To overcome this restriction repeaters may be used. A repeater just amplifies a signal. A repeater sits at layer 1.

Note: that repeaters are "invisible" to TCP/IP.

The TCP/IP protocols have no knowledge of the presence or otherwise of repeaters. The problem with repeaters is that as well as increasing the length of an Ethernet LAN they can also increase the traffic on the LAN resulting in performance problems.

Bridges overcome the problems of repeaters. Bridges sit a layer 2 in the OSI/RM. Bridges still connect physical LAN segments to form a single logical LAN. Bridges therefore deal with frames rather than individual bits.

Bridges can obtain source and destination addresses from frame headers. Using these addresses a bridge can determine where workstations are in terms of which side of the bridge a workstation is. Once a bridge knows where a workstation and it sees a frame is going to that workstation the bridge can decide whether the frame needs to be passed on to the other side of the bridge. The net result is that a bridge will filter traffic allowing multiple traffic on a single Ethernet LAN.

Note: that bridges are not just for Ethernet.

The basic rule is that only similar networks can be bridged. For example Ethernet can not be bridged to X.25

Note: however that a feature of IEEE 802 LANs is that they share a common Logical Link Control Layer - IEEE 802.2

This means that bridging is possible between, say Ethernet (802.3) and Token Ring(802.5). The presence of bridges can have a marked effect on performance. As with repeaters bridges are invisible to TCP/IP. The bridge creates the illusion of a single network to the higher layers.

Remote bridges

Bridges can be used to connect geographically remote LANs together. In this case two bridges would sit connected to their respective LANs. The bridges would be connected via a leased line or fibre optic link.

Routers and Gateways

A router is used to connect two physically separate networks. The router will forward packets on between these networks. Routers sit at layer three in the OSI/RM. This means that they are protocol dependent. This is because with TCP/IP it is IP which decides the routing to be done.

There are number of IP routers on the market. One of the decisions to make is whether to use normal hosts as your routers or to use dedicated routers. Note that the TCP/IP documentation often refers to routers as gateways. Gateways in OSI terminology convert protocols at layers above layer 3. A good example would be a mail gateway, for example converting smtp mail formats into X.400 formats.

How Indirect Routing Works

Previous to the chapter we have seen how when two hosts communicate ARP is used to determine the physical address of the destination host. This is sometimes referred to as direct routing.

Before a host will send an IP datagram the IP address is studied. The net id of the destination IP address is compared to our local net id. If they are the same then IP knows that no routing is required and that the datagram can be sent using the direct routing method where ARP will find the physical address of the destination host.

Routing will be used if when the destination and source addresses are compared they are found to be different. If this is the case the routing table of the host will be used to find the intermediate destination of this datagram.

Continued...


NEXT PAGE



12 RELATED COURSES AVAILABLE
TCP/IP NETWORKING
On completion of this course readers will be able to set-up, manage and use a network. This course also gives de....
NETWORK+ MODULE 1 - NETWORKING FUNDAMENTALS
This is module number 1 of 11 of a practical hands-on course is intended for readers wishing to qualify with Netw....
A+ MODULE 8 - NETWORKING
At the end of this course you will be able to: describe at least four uses for a LAN; describe the difference bet....
MCSE - DESIGNING AND IMPLEMENTING WINDOWS 2000 NETWORK SERVICES
This practical course willl provide support professionals with the knowledge and skills necessary to plan, design....
MICROSOFT INTERNET EXPLORER 4.0 INFORMATION NETWORK SERVICES
This course provides readers with an introduction to the concept of the Internet and the opportunity to gain a br....
 
0 RELATED JOBS AVAILABLE
CONTACT US
Saturday 22nd November 2008  © COPYRIGHT 2008 - VISUALSOFT