Routing
From Mycomputer Notes
- 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.
Contents |
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.
IP determines the form of the IP packet header (addressing and other contron information) but it is not concerned with the data itself; It takes whatever is sent down by the upper layers.
Packert Propagation & Switching within a Router
As packet travels throught an internetwork to geto to ist final destination, the frame's headers adn trailers are stripped and replaced at every router. This reason for this it that Layer 2 units (frames) are local addressing and Layer 3 units (packets) are for end-to-end addressing. Frames are meant to work within a broadcast domain and to work with the MAC addresses that are assigned to the physical device, as data crosses a Layer 3 device the Layer 2 information changes.
TO HE CONTINUED
Connectionless & Connection Oriented Delivery.
Most of the services in the OSI model are connectionless delivery system. Each packet is treated differently and send it on tis way through the network. In a connnection less system , the destination is not contacted before a packet is sent. Connectionless networks processes are often referred to as being packet switched As the packets pass from source to destination they can switch to different paths as well as arrive out of order.
- Connection Oriented
Is this type of systems a connection is stablished between the sender and the recipient before any data is transferred. In the connection oriented system a connection is stablished first and then the data transfer occurs. All packets travel sequentially accross the same physical circuit.