BGP Notes

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

BGP ( Internet Protocol )

-iBGP (within AS)


AD value 200
-eBGP (among AS)
AD value 20

-Private AS & Public AS


Public ( 1 - 64511)
Private(64512 - 65535)

Difference between iBGP & eBGP


1) ibgp router reroute other ibgp routes to the rest. ebgp router can know only
neighbor ebgp router network.(ebgp needs to be FULLY MESHED)
* In iBGP , need to route correctly its network subnets.

eBGP Stage - Esterblished ( UP )


- Active ( Not UP ) ( No active TCP connection, ***TCP reachability )
Solotion - route(static,ospf,eigrp,igp to that router path

--------------------------
iBGP - neighbor can be looback address.
(if bgp neighbor with loopback or not directly connected link , need to configure #
neighbor x.x.x.x update-source loopback0)

- has bgp table


- internal bgp routes or loopback with weight 32768
--------------------------
ebgp & ibgp combination

1.need to tell neighbor about next-hop itself (NEXT-HOP-SELF)


- check best route or not in bgp table
- check next hop
* Next-hop-self-> the ibgp & ebgp combination router needs to clarify ebgp routes
to ibgp router without changing next-hop as it learn.Use N-H-S to tell ibgp router
about ebgp next hops.

Path - which path it through.


--------------------------
ebgp multi-hop
eBGP packet ttl value is 1. That is not enough to hop if it's neighbor is not next-
hop.
need to configure # neighbor x.x.x.x ebgp-multihop xx (1++)
--------------------------
IF medium router is non-bgp router and the other routers run bgp, need to configure
GRE tunnel.
--------------------------
BGP-RIB failure - BGP AD value is higher than other routing protocols.
--------------------------
eBGP disable Connected Check
One-hop away eBGP peer using loopback address
--------------------------
BGP Neighbot Default Originate
- Default Route added to BGP ( in some cases, if multihops can't use )
-------------------------
BGP Backdoor
-choose that network as secondary
-BTS > if make backdoor, it turns ibgp to ebgp (AD value)
* network x.x.x.x mask x.x.x.x backdoor ( network is destination network )
-------------------------
BGP Advertice/Receive Route check
- # neighbor x.x.x.x soft-reconfiguration inbound
#show ip bgp neighbors x.x.x.x advertised-routes
#show ip bgp neighbors x.x.x.x received-routes
------------------------
Allow-as in
> when I see it's own as number from others, it automatically drop
> configure allowas-in (#neighbor x.x.x.x allowas-in)
------------------------

You might also like