CN - Module 4 Part 2 2024
CN - Module 4 Part 2 2024
Module –4 part 2
By
Dr. Jagadamba G
Dept. of ISE, Siddaganga Institute of Technology,
Tumakuru
Data Communication and Networking: Forouzan 5E, Mc Graw
Hill
Contents
• Internet Structure
• Routing Information Protocol (RIP) –based on Distance vector
algorithm
• Open Shortest Path First(OSPF)-based on Link state algorithm
• Border Gateway Protocol Version 4 (BGP4)- based on Path vector
algorithm
UNICAST ROUTING PROTOCOLS
2. Administrative issue
is each ISP is run by an administrative authority.
the administrator needs to have control in its system.
• Each AS is given an
autonomous number (ASN) by
the ICANN.
• Each ASN is a 16-bit unsigned
integer that uniquely defines
an AS.
Autonomous Systems
• The autonomous systems, however are not categorized
according to their size; they are categorized according to the
way they are connected to other ASs.
• The autonomous systems are classified as:
Stub AS
Multihomed AS
Transient AS
Autonomous Systems
• A stub AS : only one connection to other AS.
• A data traffic can be initiated or terminated in a stub AS
• Ex: customer network which is either the source or sink
• A multihomed AS: More than one connection to other AS.
• allow AS to remain connected to the Internet in the event of a
complete failure of one of their connections.
• not allow traffic from one AS to pass through on its way to another
AS.
• Large corporation
• A transit AS : connected to more than one other AS and also allow the
traffic to pass through
• Network A can use network B, the transit AS, to connect to network C.
ISPs are always transit ASs, because they provide connections from
one network to another.
• The provider networks and the backbone are good examples of
transient ASs.
Routing Information Protocol (RIP)
• Routing Information Protocol (RIP) is one of the most widely used
Intradomain routing protocols based on the distance-vector routing
algorithm
• RIP was started as part of the Xerox Network System (XNS).
• But it was the Berkelyey Software Distribution (BSD) version of UNIX
that helped make the use of RIP widespread.
• Routing Information Protocol (RIP) is a distance-vector
routing protocol. Routers running the distance-vector
protocol send all or a portion of their routing tables in
routing-update messages to their neighbors.
• We can use RIP to configure the hosts as part of a RIP
network.
• Here we need to understand- hop count, forwarding table and
RIP message before we proceed algorithm.
• RIP uses hop count as metric
Hop Count
• In other words, the cost is defined between a router and the network
in which the destination host is located.
• Second, to make the implementation simpler - the cost is defined as the
number of hops
• Source host connected is not counted in this calculation because the
source host does not use a forwarding table; the packet is delivered to
the default router.
• Preferably the hop count in autonomous system is limited to 15
Forwarding Tables
Transient link
Stub link
Network link
● A network link advertises the network as
a node.
● However, since a network cannot do
announcements itself (it is a passive
entity), one of the routers is assigned as
the designated router and does the
advertising.
● It also announces the IP address of all
routers but not the cost.
Summary link to network