Routers use “routing protocols” to exchange routing information with each other.
neighbor ebgp-multihop - To accept and attempt BGP connections to external peers residing on networks that are not directly connected.
no synchronization - if an AS provides transit service to another AS, BGP should not advertise a route until all of the routers within the AS have learned about the route via an IGP. A BGP router with synchronization enabled does not install iBGP learned routes into its routing table if it is not able to validate those routes in its IGP.
next-hop-self - allows you to force BGP to use a specific IP address as the next hop.
ebgp-multihop - in EBGP, neighbor relationships are only formed if we have directly connected networks. We would require to use ebgp-multihop keyword with neighbor statement so that neighbors which are not directly connected can form relationship with each other. We need to specify a number with ebgp-multihop keyword, number can be between 1-255. This number represents how many hop counts is the router away.
update-source - You only have to use the update-source command when someone is peering to your loopback address. This is true for an iBGP peer and an eBGP peer.
MPLS VPNs gives the opportunity to use the same MPLS backbone for different customers or services without each one interacting with the other. It’s pretty common to find different clients using the same private range of IP addresses
RD (Route Distinguisher) - is just that, something to make the 10.0.0.0/8 of customer A different from the 10.0.0.0/8 of customer B (is locally significant).
RD transforms an IP address of 32 bits length into an address of 96 bits length, unique in the network.
RT (Route Target) - is a 64-bits BGP community used for tagging prefixes. It allows you to control the import/export process within the VRF.
IGP is used to refer to the process running on routers inside an ISP’s network
• Within an Autonomous SystemEGP is used to refer to the process running between routers bordering directly connected ISP networks
• Carries information about internal infrastructure prefixes
• Examples – OSPF, ISIS, EIGRP
• Used to convey routing information between Autonomous SystemsRouting versus Forwarding
• De-coupled from the IGP
• Current EGP is BGP
• Routing - building maps and giving directions
• Forwarding - moving packets between interfaces according to the “directions”
Routing table or Routing Information Base (RIB) - is an electronic table (file) or database type object that is stored in a router or a networked computer. The routing table stores the routes (and in some cases, metrics associated with those routes) to particular network destinations. This information contains the topology of the network immediately around it. The construction of routing tables is the primary goal of routing protocols and static routes.
Forwarding table or Forwarding Information Base (FIB) - is most commonly used in network bridging, routing, and similar functions to find the proper interface to which the input interface should send a packet to be transmitted by the router.
• Neighbours - AS’s which directly exchange routing information;Routers which exchange routing information
• Announce - send routing information to a neighbour
• Accept - receive and use routing information sent by a neighbour
• Originate - insert routing information into external announcements (usually as a result of the IGP)
• Peers - routers in neighbouring AS’s or within one AS which exchange routing and policy information
• Used to control traffic flow in and out of an ISP network
• ISP makes decisions on what routing information to accept and discard from its neighbours:
Routes originated by specific ASes
Routes traversing specific ASes
Routes belonging to other groupings
Groupings which you define as you see fit
Border Gateway Protocol BasicsRouting Protocol used to exchange routing information between networks
Described in RFC1771
The Autonomous System is BGP’s fundamental operating unit
Autonomous System (AS)• Collection of networks with same routing policy
• Single routing protocol
• Usually under single ownership, trust and administrative control
• Identified by a unique number
• Autonomous System Number (ASN) - a 16 bit number (1-64511) are assigned by the RIRs
BGP General Operation
• Learns multiple paths via internal and external BGP speakers
• Picks the best path and installs in the forwarding table
• Best path is sent to external BGP neighbours
• Policies applied by influencing the best path selection
BGP: Frequently Asked Questions
BGP @ Wikipedia