IGP versus EGP
§
Interior gateway protocol (IGP)
•
A
routing protocol operating within an Autonomous System (AS).
•
RIP,
OSPF, and EIGRP are IGPs.
§
Exterior gateway protocol (EGP)
•
A
routing protocol operating between different AS.
•
BGP
is an interdomain routing protocol (IDRP) and is an EGP.
§ An
AS is a group of routers that share similar routing policies and operate within
a single administrative domain.
§
An
AS typically belongs to one organization.
§ If
an AS connects to the public Internet using an exterior gateway protocol such
as BGP, then it must be assigned a unique AS number which is managed by the
Internet
Assigned
Numbers Authority (IANA).
§
AS
numbers can be between 1 to 65,535.
•
RIRs
manage the AS numbers between 1 and 64,512.
•
The 64,512 - 65,535 numbers are
reserved for private use (similar to IP Private addresses).
•
The IANA is enforcing a policy whereby
organizations that connect to a single provider use an AS number from the
private pool.
§
Note:
•
The
current AS pool of addresses is predicted to run out by 2012.
•
For
this reason, the IETF has released RFC 4893 and RFC 5398.
• These
RFCs describe BGP extensions to increase the AS number from the two-octet
(16-bit) field to a four-octet (32-bits) field, increasing the pool size from 65,536
to 4,294,967,296 values.
§ The
IANA is responsible for allocating AS numbers through five Regional Internet
Registries (RIRs)
Regional
Internet Registries
(RIRs)
RIR Name
|
Geographic
Coverage
|
Link
| ||||
AfriNIC
|
Continent of Africa
|
www.afrinic.net
| ||||
APNIC
| ||||||
(Asia Pacific Network
|
Asia Pacific region
|
www.apnic.net
| ||||
Information
Centre)
| ||||||
ARIN
|
Canada, the United States,
| |||||
and several islands in the
| ||||||
(American Registry for
|
www.arin.net
| |||||
Caribbean Sea and North
| ||||||
Internet
Numbers)
| ||||||
Atlantic Ocean
| ||||||
LACNIC
|
Central and South America
| |||||
(Latin America and Caribbean
|
www.lacnic.net
| |||||
and portions of the
Caribbean
| ||||||
Internet Addresses Registry)
| ||||||
RIPE
|
Europe, the Middle East, and
|
www.ripe.net
| ||||
(Réseaux IP Européens)
|
Central Asia
| |||||
§ The
Internet is a collection of autonomous systems that are interconnected to allow
communication among them.
•
BGP
provides the routing between these autonomous systems.
§
BGP
is a path vector protocol.
§
It
is the only routing protocol to use TCP.
• OSPF
and EIGRP operate directly over IP. IS-IS is at the network layer.
•
RIP
uses the User Datagram Protocol (UDP) for its transport layer.
§
BGP
version 4 (BGP-4) is the latest version of BGP.
•
Defined
in RFC 4271.
•
Supports
supernetting, CIDR and VLSM .
§ BGP4
and CIDR prevent the Internet routing table from becoming too large.
•
Without
CIDR, the Internet would have 2,000,000 + entries.
•
With
CIDR, Internet core routers manage around 300,000 entries.
•
http://bgp.potaroo.net/
BGP is a very robust and scalable routing protocol, as evidenced by the fact that it is the routing protocol employed on the Internet. To achieve scalability at this level, BGP uses many route parameters, called attributes, to define routing policies and maintain a stable routing environment. BGP neighbors exchange full routing information when the TCP connection between neighbors is first established. When changes to the routing table are detected, the BGP routers send to their neighbors only those routes that have changed. BGP routers do not send periodic routing updates, and BGP routing updates advertise only the optimal path to a destination network.
MP-BGP
Multiprotocol BGP (MP-BGP) adds capabilities to BGP to enable multicast routing policy throughout the Internet and to connect multicast topologies within and between BGP autonomous systems. That is, MP-BGP is an enhanced BGP that carries IP multicast routes. BGP carries two sets of routes, one set for unicast routing and one set for multicast routing. The routes associated with multicast routing are used by the Protocol Independent Multicast (PIM) to build data distribution trees.
eBGP/iBGP
As noted previously, BGP is an interautonomous system routing protocol. When BGP is used between autonomous systems (AS), the protocol is referred to as external BGP (eBGP). If a service provider is using BGP to exchange routes within an AS, then the protocol is referred to as interior BGP (iBGP).
OSPF
Open Shortest Path First (OSPF) is a routing protocol developed for IP networks by the IGP working group of the Internet Engineering Task Force (IETF). It was derived from several research efforts, including a version of OSI's IS-IS routing protocol.
OSPF has two primary characteristics:
•
It is an open protocol. Its specification is in the public domain (RFC 1247).
•
It is based on the Shortest Path First (SPF) algorithm, sometimes known as the Dijkstra algorithm.
OSPF is a link-state routing protocol that calls for the sending of link-state advertisements (LSAs) to all other routers within the same hierarchical area. Information on attached interfaces, metrics used, and other variables are included in OSPF LSAs. As OSPF routers accumulate link-state information, they use the SPF algorithm to calculate the shortest path to each node.
EIGRP
Enhanced Interior Gateway Routing Protocol (EIGRP) is Cisco's proprietary routing protocol, based on IGRP. EIGRP is a distance-vector routing protocol, with optimizations to minimize routing instability incurred after topology changes, and the use of bandwidth and processing power in the router. Routers that support EIGRP will automatically redistribute route information to IGRP neighbors by converting the 32-bit EIGRP metric to the 24-bit IGRP metric. Most of the routing optimizations are based on the Diffusing Update Algorithm (DUAL), which guarantees loop-free operation and provides fast router convergence.
RIP
The Routing Information Protocol (RIP) is one of the oldest routing protocols still in wide use. Today's open standard version of RIP, sometimes referred to as IP RIP, is formally defined in RFC 1058 and in STD 56. RIP is a distance-vector routing protocol that uses hop count as a metric. RIP prevents routing loops by implementing a limit on the number of hops allowed in source/destination paths, and also implements split horizon, route poisoning and holddown mechanisms to prevent incorrect routing information from being propagated.
IS-IS
Intermediate system to intermediate system (IS-IS) is a link-state routing protocol. It operates by reliably flooding topology information throughout a network of routers. Each router then builds its own picture of the network's topology. Packets or datagrams are forwarded based on the best topological path through the network; IS-IS uses Dijkstra's algorithm for computing best paths. IS-IS was first defined in ISO/IEC 10589:2002 and was republished in RFC 1142 for the Internet community. IS-IS is an IGP, intended for use within one administrative domain or network only.
VLAN
VLAN
VLAN
implementation combines Layer 2 switching and Layer 3 routing technologies to
limit both collision domains and broadcast domains.
VLANs
can also be used to provide security by creating the VLAN groups according to
function and by using routers to communicate between VLANs.
A
physical port association is used to implement VLAN assignment.
Communication
between VLANs can occur only through the router.
This
limits the size of the broadcast domains and uses the router to determine
whether one VLAN can talk to another VLAN.
NOTE: This is the only way a switch can
break up a broadcast domain!


No comments:
Post a Comment