80 likes | 244 Views
BGP Prefix Origin Validation State Extended Community. draft-pmohapat-sidr-origin-validation-signaling-00. Pradosh Mohapatra, Keyur Patel, John Scudder, David Ward, Randy Bush. IETF 78, July 2010, Maastricht, Netherlands. Issue: IBGP hides path validation state. p. p. valid. invalid.
E N D
BGP Prefix Origin Validation State Extended Community draft-pmohapat-sidr-origin-validation-signaling-00 • Pradosh Mohapatra, Keyur Patel, John Scudder, David Ward, Randy Bush • IETF 78, July 2010, Maastricht, Netherlands
Issue: IBGP hides path validation state p p valid invalid iBGP Full Mesh unknown p which do i choose?
Issue: Unknown Path validation state beats Valid Path validation state • r1.iad#sh ip bgp 198.180.152.0 • BGP routing table entry for 198.180.152.0/24, version 324176 • Paths: (2 available, best #1, table default) • Not advertised to any peer • 2914 4128 • 129.250.10.157 (metric 1) from 198.180.150.253 (198.180.150.253) • Origin IGP, metric 51, localpref 100, valid, internal, best • Community: 2914:410 2914:2000 2914:3000 3927:380 • 1239 2914 4128 • 144.232.18.81 from 144.232.18.81 (144.228.241.254) • Origin IGP, metric 0, localpref 100, valid, external • Community: 3927:380 • Sovc state valid
Solutions: • Use Local Policies to tweak BGP parameters that influence bgp bestpath decisions based on path validation state • Define a new Extended Community to carry path validation state of announced paths
Solution: Path Validation State Extended community • Prefix validation marking done only for EBGP updates • New Opaque Extended Community defined to carry the marking across IBGP mesh so that other speakers take the correct/consistent best path decision • Sender sends the validation state in an opaque extended community (non-transitive) • Receiver translates the received extended community into appropriate path validation state before bgp inbound policy processing and bgp bestpath processing
Solution: Path Validation State Extended community Format 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | 0x43 | TBD | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Reserved |validationstate| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ • Validation State • BGP_PFX_STATE_VALID = 0 • BGP_PFX_STATE_NOTFOUND =1 • BGP_PFX_STATE_INVALID =2