uknof16 - enhancing bgp
DESCRIPTION
An overview of the drafts in IETF IDR that are of interest to operators - video at http://rob.sh/files/uknof16-11-rob_shakir-enhancing_bgp.mp4TRANSCRIPT
![Page 1: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/1.jpg)
Enhancing BGPIETF IDR Current Drafts
Rob Shakir (RJS-RIPE)UKNOF16 - April 2010
![Page 2: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/2.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Aim
• BGP is a key protocol for all operators.
• But it’s not perfect!
• Protocols must evolve to support networkdevelopment.
• IETF Inter-Domain Routing WG “looks after” BGP.
• A look at the drafts that are in IDR currently.
• Encouragement to get involved!
![Page 3: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/3.jpg)
Rob Shakir - UKNOF16 - April 22 2010
IETF IDR?
• Working group at the IETF.
• Operators, vendors, implementors...
• Open to contributions.
• Ideas put into Internet-Drafts.
• Drafts considered, refined, and adopted by WG.
• Once consensus reached, proposed as RFC.
![Page 4: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/4.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Capabilities (RFC5492)
• BGP originally carried only IPv4 routing information.
• Requirement to extend the protocol to carryadditional information.
• Widely used - IPv6, VPNv4, VPNv6, VPLS etc.
• Capabilities are used to indicate supportedinformation.
• MP-BGP is a capability - SAFI/AFI codes.
• Other features - AS4, G-R etc.
![Page 5: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/5.jpg)
Rob Shakir - UKNOF16 - April 22 2010
draft-ietf-idr-dynamic-cap
• Capabilities currently are established in OPEN.
• At the start of the session only!
• Aim to remove the requirement to bounce asession to add functionality.
• Advertised via a capability at session OPEN.
• Updates done by CAPABILITY message.
• Some consideration for error handling.
![Page 6: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/6.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Operational Example
rtr1rtr1 rtr2rtr2Session with IPv4 only enabled.
rtr1rtr1 rtr2rtr2
Current:
SessionSessiondisrupteddisrupted
With Draft:
rtr1rtr1 rtr2rtr2CAPABILITY sent, IPv4+IPv6 enabled.
![Page 7: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/7.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Current WG Position on Dyn-Cap
• Adopted as an IDR Draft - but still in discussion.
• Pros:
• Allows BGP to grow, and functionality toincrease without operational impact.
• Cons:
• Complex implementation?
• Solving a non-existent problem?
![Page 8: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/8.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Multi-Session BGP
• Currently BGP uses a single TCP session to carryrouting information.
• Introduce support for multiple transport sessions.
• Brings session robustness.
• NOTIFICATION does not affect all AFI/SAFI.
• Process distribution.
• Single ‘bgpd’ process not required.
![Page 9: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/9.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Benefit of Multi-Session (1)
rtr1rtr1 rtr2rtr2IPv4
VPNv4
Error occurs in IPv4 UPDATE requiring NOTIFICATION.
rtr1rtr1 rtr2rtr2VPNv4
Only IPv4 services affected.Where (e)iBGP - this can mean commercial implications
of DFZ anomaly is much reduced.
![Page 10: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/10.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Benefits of Multi-Session (2)
bgpdbgpd
IPv4IPv4 VPNv4VPNv4
bgpdbgpd
IPv4IPv4 VPNv4VPNv4
bgpdbgpd
IPv4IPv4 VPNv4VPNv4
bgpdbgpd
High utilisationcannot be managed.
Process schedulinghandles run-away
processes.
![Page 11: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/11.jpg)
Rob Shakir - UKNOF16 - April 22 2010
draft-ietf-idr-bgp-multisession
• John Scudder’s original draft.
• Relatively mature, supported in some software.
• Not the only approach, introduces new BGPports.
• “New local TCP port for each new connection”
• Affect on CoPP - operational complexity.
• draft-varlashkin-idr-multisession-same-port
• Ilya Varlashkin’s draft - multiplex onto port 179.
![Page 12: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/12.jpg)
Rob Shakir - UKNOF16 - April 22 2010
BGP Advertisement/Convergence
rtr1rtr1
RRRR
192.168.0.0/16
rtr2rtr2 192.168.0.0/16
rtr3rtr3192.168.0.0/16only via rtr2advertised
rtr1rtr1
RRRR
192.168.0.0/16
rtr2rtr2
rtr3rtr3Convergence delay
before advertising newbest path
![Page 13: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/13.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Some Implications of Single Path
• Forwarding implications:
• One path per prefix, UPDATE results in implicitwithdraw.
• Means that we must wait for UPDATE to re-converge to new path.
• In the interim, forwarding outage.
• Load-Balancing:
• Only one path learnt from upstream.
![Page 14: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/14.jpg)
Rob Shakir - UKNOF16 - April 22 2010
draft-ietf-idr-add-paths
• Add a new “Path Identifier” to each prefix.
• Rather like RD in RFC4364 VPNs (2547bis).
• Adjust implicit withdraw behaviour using Path ID.
• Some resource complexities.
• Longer best-path calculations (more candidates?)
• Control plane resources.
![Page 15: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/15.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Add-Paths Usage
nh Anh A
rtr1rtr1
Failure detected/signalled- switch to forwarding to
next-hop B
nh Bnh B
nh Anh A
rtr1rtr1
nh Bnh B
RRRR
RR can advertise two paths forsingle prefix to rtr1 - which can
load-balance (max-paths!)
![Page 16: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/16.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Error Handling
• Presented about this before!
• draft-ietf-optional-transitive (Errors in OptTransitive attributes).
• Address ‘tunnelled’ errors being sentNOTIFICATION.
• draft-ietf-idr-advisory (BGP Advisory capability).
• Provide in-band signalling mechanism for ops.
![Page 17: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/17.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Other Drafts
• BGP MIB v2
• draft-ietf-idr-bgp4-mibv2-10 (10th version!)
• IPv6 support, operationally useful counters
• Extended Communities for 32-bit ASNs
• draft-ietf-idr-as4octet-extcomm-generic-subtype
• Support <as4>:<community>
• Increasing ops concern during ASN32 growth?
![Page 18: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/18.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Some Encouragement
• Lots of vendors in IETF IDR.
• Operator’s view is always interesting.
• After all, we are the ones using the features.
• It’s really not hard to get involved!
• Relatively low traffic mailing list(s).
• Interesting discussions - good way to putpressure on vendors to implement features.
![Page 19: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/19.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Questions, Comments,Corrections?
Many thanks to:Steve Colam (GX Networks)Tom Hodgson (Datahop)Ben White (Timico)Sven Huster (Huster Networks)
![Page 20: UKNOF16 - Enhancing BGP](https://reader038.vdocument.in/reader038/viewer/2022100506/5568db4ed8b42a173c8b5525/html5/thumbnails/20.jpg)
Rob Shakir - UKNOF16 - April 22 2010
Questions, or comments [email protected] or [email protected]
RJS-RIPE
Public Comments?IETF IDR - [email protected]
(To Subscribe: [email protected], In Body: subscribe idr-post)
List Archive - http://www.ietf.org/pipermail/idr/