Routing
From Mycomputer Notes
(→IP As Routed Protocol) |
(→IP As Routed Protocol) |
||
Line 53: | Line 53: | ||
within packets called datagrams. | within packets called datagrams. | ||
<blockquote> | <blockquote> | ||
- | [[Image:Datagrams.JPG |frame| | + | [[Image:Datagrams.JPG |frame|thumb|Dat Encapsulation Datagrams]] |
</blockquote> | </blockquote> |
Revision as of 17:39, 27 March 2006
- A protocol
Is a set of rules that determines how two computers need to communicate with each other accross the network. A protocol is also a common denominator by which the different application, host and systems communicate between each others. When two computers commninicate one with another they exchange data messages (i.e data messages could be a connection to a remote machine, email, data and file transfer) To accept a message and act on this message the computer must have a definition of how the message is defined and what it means.
A protocol describes:
- The format that a message must take.
- The way in which computers must excange a message within the context of a particular activity, such as sending messages across networks.
Routed Protocol
IP is the routed protocol that works on the Internet. IP addressing enables packets to be routed from source to destination using the best available path.
Clarificatoin between Routed/Routable vs Routing protocol.
- Routed Protocol
Any network protocol that provides enough information in its network layer address to allow a packet to be forwarded from one host to anohtohter based on the addrssing scheme.Routed protocols uses the routing table to forwarded packets. Examples of Routed Protocols:
- Internet Protocol (IP)
- Internetwork Packet Exchange (IPX)
- AppleTalk
- Routing Protocol
Supports a routed protocol by providing mechanisms for sharing routing information. Routing protocol messages move between the routers. A routing protocol allows the routers to communicate with other routers to update and maintain tables. Examples of TCP/IP examples of routing protocols:
- Routing Infomation Protocol (RIP)
- Interior Gateway Routing Protocol (IGRP)
- Enhanced Interior Gateway Routing Protocol (IGRP)
- Open Shortest Path First (OSPF)
For a protocol to be routable it must:
- Provide the capability to assign a network number AND a host number.
- The IP address and network mask are required to have a routed network.
- Network mask allows groups of sequential IP addresses to be treated as a single unit.
If this grouping were not allowd each host would ahve to be mapped individually for routing. All 254 addresses in the sequence 192.168.10.1 to 192.168.10.254 can be represented by the network address 192.168.10.0
IP As Routed Protocol
IP is the most used implementation addressing scheme. IP Is:
- Connectionless
- Unreliable (Does not make any effort to see if the packet was delivered, this function is haddle by higher layer protocols)
- Best-effort delivery system protocol used on the internet.
- Connectionless here means that no dedicated circuit connection is required The IP protocol takes whichever route is the most efficient based on the routing protocol decision.
As the information travels to the lowers layers of the OSI Model the data is encapsulated within packets called datagrams.