13
Dynamic P2P with BGP Route Servers BFD for data-plane verification Magnus Bergroth NORDUnet

Dynamic P2P with BGP Route Servers-2.pdf

  • Upload
    docong

  • View
    239

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Dynamic P2P with BGP Route Servers-2.pdf

Dynamic P2P with BGP Route Servers

BFD for data-plane verificationMagnus Bergroth

NORDUnet

Page 2: Dynamic P2P with BGP Route Servers-2.pdf

Dynamic P2P and routers today

• Dynamic P2P links has two end points that normally terminates in a aggregation router at each site.

• On logical interface per destination site.

• eBGP are configured over the logical interface to each site.

• Reachability is advertised after the P2P link is up and BGP is established.

Page 3: Dynamic P2P with BGP Route Servers-2.pdf

Drawbacks

• Full mesh of BGP sessions.

• Extensive amount of configuration.

• BGP sessions over short lived P2P links are most of the time down and causes alarms.

Page 4: Dynamic P2P with BGP Route Servers-2.pdf

BGP over P2P

P2P dynamic

Site A

Site B

Dataplane

Controlplane

• Controlplane shared with dataplane• Dataplane reachability detected when

controlplane goes down

Page 5: Dynamic P2P with BGP Route Servers-2.pdf

Multihop BGP over General IP

General IP

P2P dynamic

Site A

Site B

Dataplane

Controlplane130.242.0/24

Next-hop10.0.0.0

193.10.0/24Next-hop10.0.0.1

10.0.0.0/31 10.0.0.1/31

eBGP between loopbacks

Page 6: Dynamic P2P with BGP Route Servers-2.pdf

Advertise with BFD condition

General IP

P2P dynamic

Site A

Site B

Dataplane

Controlplane

130.242.0/24Next-hop10.0.0.0

Condition10.0.0.1/32

193.10.0/24Next-hop10.0.0.1

Condition10.0.0.0/32

10.0.0.0/31 10.0.0.1/31

eBGP between loopbacks

Static route10.0.0.1/32Next-hop10.0.0.1BFD

Static route10.0.0.0/32Next-hop10.0.0.0

BFD

Page 7: Dynamic P2P with BGP Route Servers-2.pdf

Route server

General IP

P2P dynamic

Site A

Site B

Route server

Dataplane

Controlplane

Site C

• Simplify the BGP setup

• Only one BGP session per site

• Route server with one outgoing RIB per site, steering using communities

Page 8: Dynamic P2P with BGP Route Servers-2.pdf

Route server

General IP

P2P dynamic

Site A

Site B

Route server

Dataplane

Controlplane

Site C

lo0.110.0.0.1

lo0.110.0.0.2

lo0.110.0.0.3

130.242.0/24Next-hop10.0.0.1

Condition10.0.0.2/32add community site_B

Condition10.0.0.3/32add community site_C

Static route10.0.0.2/32Next-hop10.2BFD

10.1

10.3

10.0

Static route10.0.0.3/32Next-hop10.3BFD

10.2 10.4

10.5

• Logical interface per site• BFD per site• Community per site

Page 9: Dynamic P2P with BGP Route Servers-2.pdf

draft-ietf-idr-rs-bfd-01

• Created for route-servers at IXP• Client routers verifies connectivity of

dataplane with BFD Bidirectional Forwarding Detection, RFC5880.

• Client routers communicates reachability northbound to the Routeserver, via Link-State and TE Information using BGP (BGP-LS):

• Routeserver stores Per peer: Next-Hop Information Base (NHIB) reachability for all next-hops

Edoardo found

Page 10: Dynamic P2P with BGP Route Servers-2.pdf

1. Site A send that it will communicate with Site B.2. Route server updates NHIB with nexthop from Site A and send to Site B via

BGP-LS.3. Site B automatically setup a BFD session towards Site A4. Site B updates it’s NHIB and advertise to Route-server via BGP-LS5. If Site B advertise reachability to Site A will the Route server include it’s

routes from Site A in the BGP advertise to Site B.6. If Site B advertise _no_ reachability will the route server remove the prefixes

from Site A in it’s advertisement.

General IP

P2P dynamic

Site A

Site B

Route server

Dataplane

Controlplane

180.0.0.0/8NHIB:• Node: B

NHIB: • Node: A

NHIB: • Node: A• Link: B -> A

BFD status

BFD

180.0.0.0/8NHIB: • Node: A

180.0.0.0/8NHIB: • Node: A

1

2

5

3

4

Page 11: Dynamic P2P with BGP Route Servers-2.pdf

Benefits

• Only one BGP session with the Route-server. Minimize the router configuration.

• The BGP session will always be up.

• Connectivity to new sites are added by adding communities to advertised prefixes.

• Prefixes are learned via BGP only when the Data-plane(dynamic P2P) is up.

• Fast detection when the dynamic P2P are teared down. No risk of black holing

Page 12: Dynamic P2P with BGP Route Servers-2.pdf

Status

• Still a draft

• Quagga and Bird are working on implementation.

• The draft suggest a dataplane to be consider permanent down after 24hours. This needs to be configurable to be tested for ever.

• The Routeserver init state is that the dataplane is working. For dynamic P2P is this not the case.

• Requeste has been made for the two above to be changed.

Page 13: Dynamic P2P with BGP Route Servers-2.pdf

• Questions?