Interior gateway protocol

From Wikipedia, the free encyclopedia

The five layer TCP/IP model
5. Application layer

DHCPDNSFTPHTTPIMAP4IRCNNTPXMPPMIMEPOP3SIPSMTPSNMPSSHTELNETBGPRPCRTPRTCPTLS/SSLSDPSOAPL2TPPPTP

4. Transport layer

TCPUDPDCCPSCTPGTP

3. Network layer

IP (IPv4IPv6) • ICMPIGMPRSVPIPsec

2. Data link layer

ATMDTMEthernetFDDIFrame RelayGPRSPPPARPRARP

1. Physical layer

Ethernet physical layerISDNModemsPLCSONET/SDHG.709Wi-Fi

This box: view  talk  edit

A set of routing protocols that are used within an autonomous system are referred to as interior gateway protocols (IGP).

In contrast an exterior gateway protocol is for determining network reachability between autonomous systems (AS) and makes use of IGPs to resolve route within an AS.

The interior gateway protocols can be divided into two categories: 1) Distance-vector routing protocol and 2) Link-state routing protocol.

Contents

[edit] Types of Interior gateway protocols

[edit] Distance-vector routing protocol

They use the Bellman-Ford algorithm to calculate paths. In Distance-vector routing protocols each router does not possess information about the full network topology. It advertises its distances from other routers and receives similar advertisements from other routers. Using these routing advertisements each router populates its routing table. In the next advertisement cycle, a router advertises updated information from its routing table. This process continues until the routing tables of each router converge to stable values.

This set of protocols has the disadvantage of slow convergence, however, they are usually simple to handle and are well suited for use with small networks. Some examples of distance-vector routing protocols are:

  1. Routing Information Protocol (RIP)
  2. Interior Gateway Routing Protocol (IGRP)

[edit] Link-state routing protocol

In the case of Link-state routing protocols, each node possesses information about the complete network topology. Each node then independently calculates the best next hop from it for every possible destination in the network using local information of the topology. The collection of best next hops forms the routing table for the node.

This contrasts with distance-vector routing protocols, which work by having each node share its routing table with its neighbors. In a link-state protocol, the only information passed between the nodes is information used to construct the connectivity maps.

Example of Link-state routing protocols are:

  1. Open Shortest Path First (OSPF)
  2. Intermediate system to intermediate system (IS-IS)

[edit] See also