SlideShare a Scribd company logo
1 of 47
BGP Traffic Engineering

_________________________________
Andy Davidson
CTO @Allegro Networks
Director @ LONAP, IXLeeds

andy.davidson@allegro.net
NANOG59, Chandler AZ
9th October 2013
Why do Traffic Engineering?

Manage your capacity demands
Ensure service quality
Recover from Failures
Manage service/circuit costs
Handle traffic growth
James Cridland http://www.flickr.com/photos/jamescridland/

29/11/2013

BGP Traffic Engineering, Andy Davidson

2
Complexity

Life starts out very simply, “send traffic to
peers if possible, then transit providers”
But what about when your network grows?
What about when your traffic grows?
What if you add more cities/POPs/exchanges?
Caisey Hussain Bisson -http://www.flickr.com/people/maisonbisson/

29/11/2013

BGP Traffic Engineering, Andy Davidson

3
Real examples
•
•
•
•

Circuits with cost difference > $100/Mbit
Regional networks - poor local peering
Circuit failure causing congestion
Changing customer demand/behaviour
– Increased quality expectation
– New high bandwidth services such as video

29/11/2013

BGP Traffic Engineering, Andy Davidson

4
Internal network TE
• Simple compared with Interdomain TE
• You administrate both sides
– You know the price of all paths
– The IGP knows the capacity of all paths
– IGP protocols let you map price, capacity to shape
routing using cost.

29/11/2013

BGP Traffic Engineering, Andy Davidson

5
Inter-domain TE
• You do NOT control both sides
– Path vector protocols hide metric, capacity, cost
– Simplicity of BGP protocol imposes limitations
– Volume of traffic matters, not # of routes

• However, large volume of traffic is usually with
a small number of other ASNs

29/11/2013

BGP Traffic Engineering, Andy Davidson

6
You need data

Manuel Kasper - https://neon1.net/as-stats/as-stats-presentation-swinog16.pdf

29/11/2013

BGP Traffic Engineering, Andy Davidson

7
Netflow
• Export information about packets routed
through your network
• Normally sampled
• Sent to a collector over UDP
• A variety of commercial and open-source tools
sort and display these flow records.

29/11/2013

BGP Traffic Engineering, Andy Davidson

8
Different Flow protocols
• Netflow – Designed by Cisco in ‘90s, published
as a standard (v9 is RFC3954 and supports IPv6)
• IPFIX (RFC5101) Based on Netflow 9, 2008
• sFlow – Nice protocol but incompatible with
Netflow, typically implemented on L2 switch.
• Jflow – Essentially Netflow on Junipers

29/11/2013

BGP Traffic Engineering, Andy Davidson

9
Enabling Netflow (example)
ip route-cache flow
Enables Netflow on an Interface

ip flow-export version X origin-as
Defines Netflow options

ip flow-export destination <ip> <port>
Defines the collector address

ip flow-export source loopback0
For consistent source IP addressing

29/11/2013

BGP Traffic Engineering, Andy Davidson

10
6500/7600 sup720 Netflow
mls netflow interface
mls flow ip interface-full
mls flow ipv6 interface-full
mls nde sender
ip flow-capture mac-addresses
ip flow-export version 9 origin-as
ip flow-export destination 192.0.2.100 5500 vrf vrf-netflow
ip flow-top-talkers
interface GigabitEthernet1/1
ip flow ingress

Order that you enter configuration matters.
With special thanks to Nick Hilliard of INEX for this config
29/11/2013

BGP Traffic Engineering, Andy Davidson

11
XR Flexible Netflow
flow exporter-map fem-default
version v9
options interface-table timeout 300
options sampler-table timeout 300
!
transport udp 5500
source Loopback0
destination 192.0.2.100
flow monitor-map fmm-ipv4
record ipv4
exporter fem-default
cache entries 1000000
sampler-map sm-flow-default
random 1 out-of 100
interface TenGigE0/0/2/2
flow ipv4 monitor fmm-ipv4 sampler sm-flow-default ingress
router bgp 65533
address-family ipv4 unicast
bgp attribute-download

With special thanks to Nick Hilliard of INEX for this config
29/11/2013

BGP Traffic Engineering, Andy Davidson

12
Other ways to get data
• Log file analysis
– Useful before you have a network, for working out
the benefit of building a network/peering.
– Best for ‘single service’ networks
• DNS providers have DNS logs with time & IP
• Web providers have web logs with time & IP
• Hosted email providers have mail logs…

29/11/2013

BGP Traffic Engineering, Andy Davidson

13
IP Address

29/11/2013

Time and date

Amount of Traffic

BGP Traffic Engineering, Andy Davidson

14
Other ways to get “data”
• Wild Guess
– Your instinct is better than you think?
– Content networks will talk to eyeballs
– Eyeball networks will talk to content
– Confirm with top talkers, etc.
– But you should use Netflow. 
• Early “quick wins” may provide hard data
• Hard data provides stronger business case

29/11/2013

BGP Traffic Engineering, Andy Davidson

15
Data tells you
• Your traffic direction
– Mainly inbound
– Mainly outbound
– Balanced

• Your top traffic originators or destinations

29/11/2013

BGP Traffic Engineering, Andy Davidson

16
Outbound vs Inbound
• Outbound heavy networks
– Somewhat easier life

• Inbound heavy networks
– You must trick the Best Path
Selection methods of networks
sending you traffic.
– Their config change will move
your traffic.
Elliot http://www.flickr.com/photos/pointnshoot/677657225/

29/11/2013

BGP Traffic Engineering, Andy Davidson

17
BGP Best Path Selection Algorithm
• Traffic engineering is about ‘tricking’ this process
• Affects traffic in outbound direction
–
–
–
–
–
–
–
29/11/2013

Local Preference
AS PATH length
Lowest Origin Type
Lowest MED
Prefer eBGP paths
Lowest IGP Metric
Oldest route
BGP Traffic Engineering, Andy Davidson

18
Mainly outbound, single POP
• Localpref
– A hammer – blunt tool, inflexible.. But it is a tool.
– “Generally” prefer to send traffic to customers,
then peers, then transits.
– Manage top ‘n’ networks, so that there is a
preferred path, and a failure path, with capacity
on both circuits.

29/11/2013

BGP Traffic Engineering, Andy Davidson

19
Transit

Many peers

Many peers
EX2

EX1
4Gbit

AS1 PP1

4Gbit

4Gbit
4Gbit

5Gbit

RT1

RT2
2Gbit

6Gbit
AS2 PP2

AS12345

PP3

AS3

AS2 is your largest flow - via PP2 - maybe needs a second private peer backup on RT2?

29/11/2013

BGP Traffic Engineering, Andy Davidson

20
Transit

Many peers

Many peers
EX2

EX1
4Gbit

AS1 PP1

4Gbit

4Gbit
4Gbit

5Gbit

RT1

RT2
2Gbit

6Gbit
AS2 PP2

AS12345

PP3

AS3

AS2 is your largest flow - via PP2 - maybe needs a second private peer backup on RT2?
AS1 via PP1, configure a backup over EX1 or EX2 for deterministic routing?

29/11/2013

BGP Traffic Engineering, Andy Davidson

21
Transit

Many peers

Many peers
EX2

EX1
4Gbit

AS1 PP1

4Gbit

4Gbit
4Gbit

5Gbit

RT1

RT2
2Gbit

6Gbit
AS2 PP2

AS12345

PP3

AS3

AS2 is your largest flow - via PP2 - maybe needs a second private peer backup on RT2?
AS1 via PP1, configure a backup over EX1 or EX2 for deterministic routing?
Can you move larger peers behind EX1 and EX2 onto private peering?

29/11/2013

BGP Traffic Engineering, Andy Davidson

22
Transit

Many peers

Many peers
EX2

EX1
4Gbit

AS1 PP1

4Gbit

4Gbit
4Gbit

5Gbit

RT1

RT2
2Gbit

6Gbit
AS2 PP2

AS12345

PP3

AS3

AS2 is your largest flow - via PP2 - maybe needs a second private peer backup on RT2?
AS1 via PP1, configure a backup over EX1 or EX2 for deterministic routing?
Can you move larger peers behind EX1 and EX2 onto private peering?
If there is an exchange failure, where will the traffic go? How big a flow should you care about?

29/11/2013

BGP Traffic Engineering, Andy Davidson

23
Transit

Many peers

Many peers
EX2

EX1
4Gbit

AS1 PP1

4Gbit

4Gbit
4Gbit

5Gbit

RT1

RT2
2Gbit

6Gbit
AS2 PP2

AS12345

PP3

AS3

AS2 is your largest flow - via PP2 - maybe needs a second private peer backup on RT2?
AS1 via PP1, configure a backup over EX1 or EX2 for deterministic routing?
Can you move larger peers behind EX1 and EX2 onto private peering?
If there is an exchange failure, where will the traffic go? How big a flow should you care about?
If you lose RT2, how will traffic to PP3 and traffic volume via EX2 be delivered?
29/11/2013

BGP Traffic Engineering, Andy Davidson

24
Transit

Many peers

Many peers
EX2

EX1
4Gbit

AS1 PP1

4Gbit

4Gbit
4Gbit

5Gbit

RT1

RT2
2Gbit

6Gbit
AS2 PP2

AS12345

PP3

AS3

AS2 is your largest flow - via PP2 - maybe needs a second private peer backup on RT2?
AS1 via PP1, configure a backup over EX1 or EX2 for deterministic routing?
Can you move larger peers behind EX1 and EX2 onto private peering?
If there is an exchange failure, where will the traffic go? How big a flow should you care about?
If you lose RT2, how will traffic to PP3 and traffic volume via EX2 be delivered?
If you lose RT1, how will traffic volume via PP3 and EX1 be delivered?
29/11/2013

BGP Traffic Engineering, Andy Davidson

25
Localpref – blunt hammer
10.0.0.0/8 Localpref 100 via 100 123
10.0.0.0/8 Localpref 500 via 300 200 200 200 200 123
Which link will you prefer ?
AS123 here is trying to shape inbound traffic via AS100. Why ?
Higher capacity link ?
More reliable ?
What should you do ?

Answer: It depends on the volume of traffic, cost of capacity, value of traffic
29/11/2013

BGP Traffic Engineering, Andy Davidson

26
Configuration Example

Larger flows are in ASNs
Listed in as-path 30 and 40
Deterministic exits configured

ip as-path access-list 30 permit _7018_
ip as-path access-list 30 permit _2828_
ip as-path access-list 30 permit _4323_
ip as-path access-list 30 permit _3561_
ip as-path access-list 30 permit _1668_
ip as-path access-list 40 permit _3330_
route-map PEER_EX1 permit 10
match as-path 30
set local-preference 300
route-map PEER_EX1 permit 15
match as-path 40
set local-preference 200
route-map PEER_EX1 permit 20
set local-preference 150

route-map PEER_EX2 permit 10
match as-path 40
set local-preference 300
route-map PEER_EX2 permit 15
match as-path 30
set local-preference 200
route-map PEER_EX2 permit 20
set local-preference 150
29/11/2013

BGP Traffic Engineering, Andy Davidson

27
Mainly outbound – Many POPs
• Use hot potato routing to best effect
– Nearest exit routing
– Understand who your top traffic sinks are and
peer at all POPs
– Ignore MEDs from others – unless you want to
carry the traffic on your backbone

29/11/2013

BGP Traffic Engineering, Andy Davidson

28
Transit

DECIX

BCIX

6Gbit

AS1

7Gbit

4Gbit
4Gbit

5Gbit
Berlin

Frankfurt
2Gbit

6Gbit

AS1

AS2
Amsterdam

If you lose a POP
does the traffic
go away or move?

AS12345
AS1

2Gbit
8Gbit

AS2

Internal capacity
likely more $ than
local handoff

If you understand your top flows, you will cope with traffic growth and failures
29/11/2013

BGP Traffic Engineering, Andy Davidson

29
Deterministic routing
– Local Preference
– AS PATH length
Top flows should leave your network
via deterministic means, and not left
– Lowest Origin Type
to BGP Best Path selection (or to chance).
– Lowest MED
If you are relying on oldest route to make the
– Prefer eBGP paths decision, you risk traffic taking unpredictable routes.
– Lowest IGP Metric
– Oldest route
However, oldest routes do break the
‘flapping sessions’ problem. You need to
monitor and manage your top flows constantly.

29/11/2013

BGP Traffic Engineering, Andy Davidson

30
Inbound traffic engineering
• Much harder
– Trick others’ Best Path calculations
– You do not administrate origin party router

• But remember…
– Largest flows come from a small number of networks
– Content networks want to deliver traffic to you as well
as possible!

29/11/2013

BGP Traffic Engineering, Andy Davidson

31
Selective Announcements
– Shortest prefix
–
–
–
–
–
–
–

Local Preference
AS PATH length
Lowest Origin Type
Lowest MED
Prefer eBGP paths
Lowest IGP Metric
Oldest route

29/11/2013

Prefix length considered
before BGP.
10.0.0.0/16 vs 10.0.0.0/17 & 10.128.0.0/17

BGP Traffic Engineering, Andy Davidson

32
Problem of Selective Announcements
• Often filtered
• Considered rude – might lead to depeering
• Never announce ‘globally’

29/11/2013

BGP Traffic Engineering, Andy Davidson

33
…But can be used to great effect
• To the same peer or transit provider,
announce aggregate and regional pfx
Transit
10.0.0.0/8
10.0.0.0/9

10.0.0.0/8
10.128.0.0/9

Add NO_EXPORT community
Berlin

Frankfurt

Use with permission
29/11/2013

BGP Traffic Engineering, Andy Davidson

34
AS_PATH prepending
• Signal preferred path by growing AS_PATH on
less preferred paths
• Marginal effect which degrades quickly
• Signal backup link to a single AS, but loadbalancing capacity is much harder
• May not be heard at ‘distant’ ASNs
• Another ‘blunt’ tool, but can move some traffic.

29/11/2013

BGP Traffic Engineering, Andy Davidson

35
29/11/2013

BGP Traffic Engineering, Andy Davidson

36
29/11/2013

BGP Traffic Engineering, Andy Davidson

37
MEDs
• Lowest MED wins.
– Opposite of Nearest Exit routing, “carry traffic to me”
– Only works to the same peer in multiple regions
– Copy IGP metric to MED
– Normally subject to negotiation

• Sometimes honoured, often when network traffic
is latency or loss sensitive.

29/11/2013

BGP Traffic Engineering, Andy Davidson

38
MEDs are often filtered
• Many networks set MED to 0 when they learn
prefixes, so that hot potato routing will
override MED.
route-map peers-in permit 10
set local-preference 200
set metric 0

29/11/2013

BGP Traffic Engineering, Andy Davidson

39
Origin changing
Highest priority

route-map PEERS permit 10
set origin igp

• IGP
• EGP
• Incomplete

route-route-map TRANSIT permit 10
set origin incomplete

Often peers set to ‘igp’ or ‘egp’ statically on
routers to nullify effects of Origin changing.

29/11/2013

BGP Traffic Engineering, Andy Davidson

40
Inbound – what does work well?
• Overprovisioning
• Peer with top networks widely (buy options!)
– Failure of single link will not break adjacency
– Failures can be handled in predictable ways

• Build relationships
• Constantly monitor and manage
• If you care about your traffic, let it go. 
– Playing games with peering hurts your customers’ traffic

• Affecting distant ASNs is very hard – a region may only
see a single next-hop ASN.
29/11/2013

BGP Traffic Engineering, Andy Davidson

41
What does “manage relationships” mean?
• Go back to your data
– Collect and share information with peering coordinators at forums like this
– You will stand out if you know exactly how much
traffic you will exchange at peak with a peer
– Protect your peer’s interests
•
•
•
•
•
29/11/2013

Discuss mutual points of interconnection that suit both
Respond to abuse complaints promptly
Use contacts to reach other peering co-ordinators
Respond promptly to BGP session down/flapping
List your network on PeeringDB!
BGP Traffic Engineering, Andy Davidson

42
Buying transit in a smart way
• Buying from a well peered transit provider:
– Can improve quality for the reasons discussed
– Hides capacity problems from you automatically

• Buying from your top traffic destination
– If your business relies on the traffic quality, it may
make sense to pay
– Data may help you negotiate good terms

29/11/2013

BGP Traffic Engineering, Andy Davidson

43
Dealing with a “no” to peering
• Paid peering is one option
– Often more expensive than full IP transit
– “Once a customer, never a peer”

• Pay for other services in return for peering
– Transport for example

• Peer around the problem
– Try to peer directly with downstream customers
– Try to sell directly to downstream customers
• If you are better peered, you can sell based on quality
29/11/2013

BGP Traffic Engineering, Andy Davidson

44
Aggregate transit & peering capacity
• Buy transit/peering capacity through a reseller
who can offer many providers on a single link
– Different providers presented on separate VLANs
– Failures in a transit or peering will result in traffic
shifting to another provider on same link
– Access to multiple providers on single commit?
– Not available everywhere, but Allegro offer this in
London

• Does not replace need for backup to reseller
29/11/2013

BGP Traffic Engineering, Andy Davidson

45
Constantly manage
•
•
•
•
•

Peering on the Internet changes every day.
Capacity on the Internet grows every day.
Small networks become large.
Large networks become larger (consolidation)
A “bad” path might become good overnight

29/11/2013

BGP Traffic Engineering, Andy Davidson

46
Questions?
______________________________
Andy Davidson
andy.davidson@allegro.net
Email me to request a copy of this presentation!
Feedback and introduction to peering co-ordinators welcome
Twitter: @andyd
+44 161 200 1610 (Manchester, UK office hours)

More Related Content

What's hot

Mobile Transport Evolution with Unified MPLS
Mobile Transport Evolution with Unified MPLSMobile Transport Evolution with Unified MPLS
Mobile Transport Evolution with Unified MPLSCisco Canada
 
Juniper mpls best practice part 2
Juniper mpls best practice   part 2Juniper mpls best practice   part 2
Juniper mpls best practice part 2Febrian ‎
 
Juniper MPLS Tutorial by Soricelli
Juniper MPLS Tutorial by SoricelliJuniper MPLS Tutorial by Soricelli
Juniper MPLS Tutorial by SoricelliFebrian ‎
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1VISHNU N
 
IX Best Practices by Tay Chee Yong
IX Best Practices by Tay Chee YongIX Best Practices by Tay Chee Yong
IX Best Practices by Tay Chee YongMyNOG
 
BGP Advance Technique by Steven & James
BGP Advance Technique by Steven & JamesBGP Advance Technique by Steven & James
BGP Advance Technique by Steven & JamesFebrian ‎
 
Segment Routing Lab
Segment Routing Lab Segment Routing Lab
Segment Routing Lab Cisco Canada
 
Traffic Engineering Using Segment Routing
Traffic Engineering Using Segment Routing Traffic Engineering Using Segment Routing
Traffic Engineering Using Segment Routing Cisco Canada
 
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017Bruno Teixeira
 
Cisco Live! :: Introduction to IOS XR for Enterprises and Service Providers
Cisco Live! :: Introduction to IOS XR for Enterprises and Service ProvidersCisco Live! :: Introduction to IOS XR for Enterprises and Service Providers
Cisco Live! :: Introduction to IOS XR for Enterprises and Service ProvidersBruno Teixeira
 
The Segment Routing Architecture (IEEE Globecom 2015)
The Segment Routing Architecture (IEEE Globecom 2015)The Segment Routing Architecture (IEEE Globecom 2015)
The Segment Routing Architecture (IEEE Globecom 2015)nagendranainar
 
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]APNIC
 
MPLS + BGP Presentation
MPLS + BGP PresentationMPLS + BGP Presentation
MPLS + BGP PresentationGino McCarty
 
CCNP Switching Chapter 1
CCNP Switching Chapter 1CCNP Switching Chapter 1
CCNP Switching Chapter 1Chaing Ravuth
 
Building DataCenter networks with VXLAN BGP-EVPN
Building DataCenter networks with VXLAN BGP-EVPNBuilding DataCenter networks with VXLAN BGP-EVPN
Building DataCenter networks with VXLAN BGP-EVPNCisco Canada
 

What's hot (20)

Mobile Transport Evolution with Unified MPLS
Mobile Transport Evolution with Unified MPLSMobile Transport Evolution with Unified MPLS
Mobile Transport Evolution with Unified MPLS
 
MENOG-Segment Routing Introduction
MENOG-Segment Routing IntroductionMENOG-Segment Routing Introduction
MENOG-Segment Routing Introduction
 
Juniper mpls best practice part 2
Juniper mpls best practice   part 2Juniper mpls best practice   part 2
Juniper mpls best practice part 2
 
Juniper MPLS Tutorial by Soricelli
Juniper MPLS Tutorial by SoricelliJuniper MPLS Tutorial by Soricelli
Juniper MPLS Tutorial by Soricelli
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1
 
Mpls L3_vpn
Mpls L3_vpnMpls L3_vpn
Mpls L3_vpn
 
IX Best Practices by Tay Chee Yong
IX Best Practices by Tay Chee YongIX Best Practices by Tay Chee Yong
IX Best Practices by Tay Chee Yong
 
BGP Advance Technique by Steven & James
BGP Advance Technique by Steven & JamesBGP Advance Technique by Steven & James
BGP Advance Technique by Steven & James
 
Segment Routing Lab
Segment Routing Lab Segment Routing Lab
Segment Routing Lab
 
How BGP Works
How BGP WorksHow BGP Works
How BGP Works
 
Traffic Engineering Using Segment Routing
Traffic Engineering Using Segment Routing Traffic Engineering Using Segment Routing
Traffic Engineering Using Segment Routing
 
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017
 
Cisco Live! :: Introduction to IOS XR for Enterprises and Service Providers
Cisco Live! :: Introduction to IOS XR for Enterprises and Service ProvidersCisco Live! :: Introduction to IOS XR for Enterprises and Service Providers
Cisco Live! :: Introduction to IOS XR for Enterprises and Service Providers
 
The Segment Routing Architecture (IEEE Globecom 2015)
The Segment Routing Architecture (IEEE Globecom 2015)The Segment Routing Architecture (IEEE Globecom 2015)
The Segment Routing Architecture (IEEE Globecom 2015)
 
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
 
MPLS + BGP Presentation
MPLS + BGP PresentationMPLS + BGP Presentation
MPLS + BGP Presentation
 
Cisco MPLS
Cisco MPLSCisco MPLS
Cisco MPLS
 
BGP
BGP BGP
BGP
 
CCNP Switching Chapter 1
CCNP Switching Chapter 1CCNP Switching Chapter 1
CCNP Switching Chapter 1
 
Building DataCenter networks with VXLAN BGP-EVPN
Building DataCenter networks with VXLAN BGP-EVPNBuilding DataCenter networks with VXLAN BGP-EVPN
Building DataCenter networks with VXLAN BGP-EVPN
 

Viewers also liked

Using BGP To Manage Dual Internet Connections
Using BGP To Manage Dual Internet ConnectionsUsing BGP To Manage Dual Internet Connections
Using BGP To Manage Dual Internet ConnectionsRowell Dionicio
 
BGP Traffic Engineering with SDN Controller
BGP Traffic Engineering with SDN ControllerBGP Traffic Engineering with SDN Controller
BGP Traffic Engineering with SDN ControllerAPNIC
 
Study Notes BGP Exam
Study Notes BGP ExamStudy Notes BGP Exam
Study Notes BGP ExamDuane Bodle
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway ProtocolKashif Latif
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)Jasim Alam
 
Implementing Internet and MPLS BGP
Implementing Internet and MPLS BGPImplementing Internet and MPLS BGP
Implementing Internet and MPLS BGPPrivate
 
Segment Routing: A Tutorial
Segment Routing: A TutorialSegment Routing: A Tutorial
Segment Routing: A TutorialAPNIC
 
Using RIPEstat
Using RIPEstatUsing RIPEstat
Using RIPEstatRIPE NCC
 
Bgp multihoming
Bgp multihomingBgp multihoming
Bgp multihomingee38sp
 
BGP and Traffic Engineering with Akamai
BGP and Traffic Engineering with AkamaiBGP and Traffic Engineering with Akamai
BGP and Traffic Engineering with AkamaiInternet Society
 
BGP Techniques for Network Operators
BGP Techniques for Network OperatorsBGP Techniques for Network Operators
BGP Techniques for Network OperatorsAPNIC
 
Remote Network Monitoring System
Remote Network Monitoring SystemRemote Network Monitoring System
Remote Network Monitoring SystemSidharth Goel
 

Viewers also liked (20)

Using BGP To Manage Dual Internet Connections
Using BGP To Manage Dual Internet ConnectionsUsing BGP To Manage Dual Internet Connections
Using BGP To Manage Dual Internet Connections
 
BGP Traffic Engineering with SDN Controller
BGP Traffic Engineering with SDN ControllerBGP Traffic Engineering with SDN Controller
BGP Traffic Engineering with SDN Controller
 
Study Notes BGP Exam
Study Notes BGP ExamStudy Notes BGP Exam
Study Notes BGP Exam
 
BGP
BGPBGP
BGP
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
 
BGP protocol presentation
BGP protocol  presentationBGP protocol  presentation
BGP protocol presentation
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
 
Implementing Internet and MPLS BGP
Implementing Internet and MPLS BGPImplementing Internet and MPLS BGP
Implementing Internet and MPLS BGP
 
BGP Overview
BGP OverviewBGP Overview
BGP Overview
 
Bgp Basic Labs
Bgp Basic LabsBgp Basic Labs
Bgp Basic Labs
 
Segment Routing: A Tutorial
Segment Routing: A TutorialSegment Routing: A Tutorial
Segment Routing: A Tutorial
 
Using RIPEstat
Using RIPEstatUsing RIPEstat
Using RIPEstat
 
Bgp multihoming
Bgp multihomingBgp multihoming
Bgp multihoming
 
Network management systems in large enterprise
Network management systems in large enterpriseNetwork management systems in large enterprise
Network management systems in large enterprise
 
BGP and Traffic Engineering with Akamai
BGP and Traffic Engineering with AkamaiBGP and Traffic Engineering with Akamai
BGP and Traffic Engineering with Akamai
 
BGP Techniques for Network Operators
BGP Techniques for Network OperatorsBGP Techniques for Network Operators
BGP Techniques for Network Operators
 
BGP Traffic Engineering on IXP
BGP Traffic Engineering on IXPBGP Traffic Engineering on IXP
BGP Traffic Engineering on IXP
 
Transmission Engineer_Telecom.Doc
Transmission Engineer_Telecom.DocTransmission Engineer_Telecom.Doc
Transmission Engineer_Telecom.Doc
 
Remote Network Monitoring System
Remote Network Monitoring SystemRemote Network Monitoring System
Remote Network Monitoring System
 
bgp protocol
 bgp protocol bgp protocol
bgp protocol
 

Similar to BGP Traffic Engineering / Routing Optimisation

BGP evolution -from SDN perspective
BGP evolution -from SDN perspectiveBGP evolution -from SDN perspective
BGP evolution -from SDN perspectiveMiya Kohno
 
Peering in an IP World - Technology Requirements (3-nov, 2009)
Peering in an IP World - Technology Requirements (3-nov, 2009)Peering in an IP World - Technology Requirements (3-nov, 2009)
Peering in an IP World - Technology Requirements (3-nov, 2009)steve ulrich
 
Segment Routing Advanced Use Cases - Cisco Live 2016 USA
Segment Routing Advanced Use Cases - Cisco Live 2016 USASegment Routing Advanced Use Cases - Cisco Live 2016 USA
Segment Routing Advanced Use Cases - Cisco Live 2016 USAJose Liste
 
TakeDownCon Rocket City: Bending and Twisting Networks by Paul Coggin
TakeDownCon Rocket City: Bending and Twisting Networks by Paul CogginTakeDownCon Rocket City: Bending and Twisting Networks by Paul Coggin
TakeDownCon Rocket City: Bending and Twisting Networks by Paul CogginEC-Council
 
PLNOG 8: Rafał Szarecki - Telco Group Network
PLNOG 8: Rafał Szarecki - Telco Group Network PLNOG 8: Rafał Szarecki - Telco Group Network
PLNOG 8: Rafał Szarecki - Telco Group Network PROIDEA
 
PLNOG 13: Jeff Tantsura: Programmable and Application aware IP/MPLS networking
PLNOG 13: Jeff Tantsura: Programmable and Application aware IP/MPLS networkingPLNOG 13: Jeff Tantsura: Programmable and Application aware IP/MPLS networking
PLNOG 13: Jeff Tantsura: Programmable and Application aware IP/MPLS networkingPROIDEA
 
NFD9 - Dinesh Dutt, Data Center Architectures
NFD9 - Dinesh Dutt, Data Center ArchitecturesNFD9 - Dinesh Dutt, Data Center Architectures
NFD9 - Dinesh Dutt, Data Center ArchitecturesCumulus Networks
 
PLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktycznie
PLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktyczniePLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktycznie
PLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktyczniePROIDEA
 
Configuration & Routing of Clos Networks
Configuration & Routing of Clos NetworksConfiguration & Routing of Clos Networks
Configuration & Routing of Clos NetworksCumulus Networks
 
Cloud Traffic Engineer – Google Espresso Project by Shaowen Ma
Cloud Traffic Engineer – Google Espresso Project  by Shaowen MaCloud Traffic Engineer – Google Espresso Project  by Shaowen Ma
Cloud Traffic Engineer – Google Espresso Project by Shaowen MaMyNOG
 
Respond 3 of your colleagues postings in one or more of the fol.docx
 Respond  3 of your colleagues postings in one or more of the fol.docx Respond  3 of your colleagues postings in one or more of the fol.docx
Respond 3 of your colleagues postings in one or more of the fol.docxaryan532920
 
Orange_US Domain (revised with notes)
Orange_US Domain (revised with notes)Orange_US Domain (revised with notes)
Orange_US Domain (revised with notes)Roderick Dottin
 
cisco-xenpak-10gb-sr-datasheet.pdf
cisco-xenpak-10gb-sr-datasheet.pdfcisco-xenpak-10gb-sr-datasheet.pdf
cisco-xenpak-10gb-sr-datasheet.pdfHi-Network.com
 
Computer network (14)
Computer network (14)Computer network (14)
Computer network (14)NYversity
 
Intel® Ethernet Update
Intel® Ethernet Update Intel® Ethernet Update
Intel® Ethernet Update Michelle Holley
 
Operationalizing BGP in the SDDC
Operationalizing BGP in the SDDCOperationalizing BGP in the SDDC
Operationalizing BGP in the SDDCCumulus Networks
 
The case for IPv6
The case for IPv6The case for IPv6
The case for IPv6APNIC
 
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124  | Las Vegas 2017Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124  | Las Vegas 2017
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017Bruno Teixeira
 
Cisco Intelligent WAN (IWAN) Solution
Cisco Intelligent WAN (IWAN) SolutionCisco Intelligent WAN (IWAN) Solution
Cisco Intelligent WAN (IWAN) SolutionCisco Russia
 
PLNOG 6: Robert Raszuk, Nana Ogawa - FIB table saving technique (with simple ...
PLNOG 6: Robert Raszuk, Nana Ogawa - FIB table saving technique (with simple ...PLNOG 6: Robert Raszuk, Nana Ogawa - FIB table saving technique (with simple ...
PLNOG 6: Robert Raszuk, Nana Ogawa - FIB table saving technique (with simple ...PROIDEA
 

Similar to BGP Traffic Engineering / Routing Optimisation (20)

BGP evolution -from SDN perspective
BGP evolution -from SDN perspectiveBGP evolution -from SDN perspective
BGP evolution -from SDN perspective
 
Peering in an IP World - Technology Requirements (3-nov, 2009)
Peering in an IP World - Technology Requirements (3-nov, 2009)Peering in an IP World - Technology Requirements (3-nov, 2009)
Peering in an IP World - Technology Requirements (3-nov, 2009)
 
Segment Routing Advanced Use Cases - Cisco Live 2016 USA
Segment Routing Advanced Use Cases - Cisco Live 2016 USASegment Routing Advanced Use Cases - Cisco Live 2016 USA
Segment Routing Advanced Use Cases - Cisco Live 2016 USA
 
TakeDownCon Rocket City: Bending and Twisting Networks by Paul Coggin
TakeDownCon Rocket City: Bending and Twisting Networks by Paul CogginTakeDownCon Rocket City: Bending and Twisting Networks by Paul Coggin
TakeDownCon Rocket City: Bending and Twisting Networks by Paul Coggin
 
PLNOG 8: Rafał Szarecki - Telco Group Network
PLNOG 8: Rafał Szarecki - Telco Group Network PLNOG 8: Rafał Szarecki - Telco Group Network
PLNOG 8: Rafał Szarecki - Telco Group Network
 
PLNOG 13: Jeff Tantsura: Programmable and Application aware IP/MPLS networking
PLNOG 13: Jeff Tantsura: Programmable and Application aware IP/MPLS networkingPLNOG 13: Jeff Tantsura: Programmable and Application aware IP/MPLS networking
PLNOG 13: Jeff Tantsura: Programmable and Application aware IP/MPLS networking
 
NFD9 - Dinesh Dutt, Data Center Architectures
NFD9 - Dinesh Dutt, Data Center ArchitecturesNFD9 - Dinesh Dutt, Data Center Architectures
NFD9 - Dinesh Dutt, Data Center Architectures
 
PLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktycznie
PLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktyczniePLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktycznie
PLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktycznie
 
Configuration & Routing of Clos Networks
Configuration & Routing of Clos NetworksConfiguration & Routing of Clos Networks
Configuration & Routing of Clos Networks
 
Cloud Traffic Engineer – Google Espresso Project by Shaowen Ma
Cloud Traffic Engineer – Google Espresso Project  by Shaowen MaCloud Traffic Engineer – Google Espresso Project  by Shaowen Ma
Cloud Traffic Engineer – Google Espresso Project by Shaowen Ma
 
Respond 3 of your colleagues postings in one or more of the fol.docx
 Respond  3 of your colleagues postings in one or more of the fol.docx Respond  3 of your colleagues postings in one or more of the fol.docx
Respond 3 of your colleagues postings in one or more of the fol.docx
 
Orange_US Domain (revised with notes)
Orange_US Domain (revised with notes)Orange_US Domain (revised with notes)
Orange_US Domain (revised with notes)
 
cisco-xenpak-10gb-sr-datasheet.pdf
cisco-xenpak-10gb-sr-datasheet.pdfcisco-xenpak-10gb-sr-datasheet.pdf
cisco-xenpak-10gb-sr-datasheet.pdf
 
Computer network (14)
Computer network (14)Computer network (14)
Computer network (14)
 
Intel® Ethernet Update
Intel® Ethernet Update Intel® Ethernet Update
Intel® Ethernet Update
 
Operationalizing BGP in the SDDC
Operationalizing BGP in the SDDCOperationalizing BGP in the SDDC
Operationalizing BGP in the SDDC
 
The case for IPv6
The case for IPv6The case for IPv6
The case for IPv6
 
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124  | Las Vegas 2017Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124  | Las Vegas 2017
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
 
Cisco Intelligent WAN (IWAN) Solution
Cisco Intelligent WAN (IWAN) SolutionCisco Intelligent WAN (IWAN) Solution
Cisco Intelligent WAN (IWAN) Solution
 
PLNOG 6: Robert Raszuk, Nana Ogawa - FIB table saving technique (with simple ...
PLNOG 6: Robert Raszuk, Nana Ogawa - FIB table saving technique (with simple ...PLNOG 6: Robert Raszuk, Nana Ogawa - FIB table saving technique (with simple ...
PLNOG 6: Robert Raszuk, Nana Ogawa - FIB table saving technique (with simple ...
 

Recently uploaded

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 

Recently uploaded (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 

BGP Traffic Engineering / Routing Optimisation

  • 1. BGP Traffic Engineering _________________________________ Andy Davidson CTO @Allegro Networks Director @ LONAP, IXLeeds andy.davidson@allegro.net NANOG59, Chandler AZ 9th October 2013
  • 2. Why do Traffic Engineering? Manage your capacity demands Ensure service quality Recover from Failures Manage service/circuit costs Handle traffic growth James Cridland http://www.flickr.com/photos/jamescridland/ 29/11/2013 BGP Traffic Engineering, Andy Davidson 2
  • 3. Complexity Life starts out very simply, “send traffic to peers if possible, then transit providers” But what about when your network grows? What about when your traffic grows? What if you add more cities/POPs/exchanges? Caisey Hussain Bisson -http://www.flickr.com/people/maisonbisson/ 29/11/2013 BGP Traffic Engineering, Andy Davidson 3
  • 4. Real examples • • • • Circuits with cost difference > $100/Mbit Regional networks - poor local peering Circuit failure causing congestion Changing customer demand/behaviour – Increased quality expectation – New high bandwidth services such as video 29/11/2013 BGP Traffic Engineering, Andy Davidson 4
  • 5. Internal network TE • Simple compared with Interdomain TE • You administrate both sides – You know the price of all paths – The IGP knows the capacity of all paths – IGP protocols let you map price, capacity to shape routing using cost. 29/11/2013 BGP Traffic Engineering, Andy Davidson 5
  • 6. Inter-domain TE • You do NOT control both sides – Path vector protocols hide metric, capacity, cost – Simplicity of BGP protocol imposes limitations – Volume of traffic matters, not # of routes • However, large volume of traffic is usually with a small number of other ASNs 29/11/2013 BGP Traffic Engineering, Andy Davidson 6
  • 7. You need data Manuel Kasper - https://neon1.net/as-stats/as-stats-presentation-swinog16.pdf 29/11/2013 BGP Traffic Engineering, Andy Davidson 7
  • 8. Netflow • Export information about packets routed through your network • Normally sampled • Sent to a collector over UDP • A variety of commercial and open-source tools sort and display these flow records. 29/11/2013 BGP Traffic Engineering, Andy Davidson 8
  • 9. Different Flow protocols • Netflow – Designed by Cisco in ‘90s, published as a standard (v9 is RFC3954 and supports IPv6) • IPFIX (RFC5101) Based on Netflow 9, 2008 • sFlow – Nice protocol but incompatible with Netflow, typically implemented on L2 switch. • Jflow – Essentially Netflow on Junipers 29/11/2013 BGP Traffic Engineering, Andy Davidson 9
  • 10. Enabling Netflow (example) ip route-cache flow Enables Netflow on an Interface ip flow-export version X origin-as Defines Netflow options ip flow-export destination <ip> <port> Defines the collector address ip flow-export source loopback0 For consistent source IP addressing 29/11/2013 BGP Traffic Engineering, Andy Davidson 10
  • 11. 6500/7600 sup720 Netflow mls netflow interface mls flow ip interface-full mls flow ipv6 interface-full mls nde sender ip flow-capture mac-addresses ip flow-export version 9 origin-as ip flow-export destination 192.0.2.100 5500 vrf vrf-netflow ip flow-top-talkers interface GigabitEthernet1/1 ip flow ingress Order that you enter configuration matters. With special thanks to Nick Hilliard of INEX for this config 29/11/2013 BGP Traffic Engineering, Andy Davidson 11
  • 12. XR Flexible Netflow flow exporter-map fem-default version v9 options interface-table timeout 300 options sampler-table timeout 300 ! transport udp 5500 source Loopback0 destination 192.0.2.100 flow monitor-map fmm-ipv4 record ipv4 exporter fem-default cache entries 1000000 sampler-map sm-flow-default random 1 out-of 100 interface TenGigE0/0/2/2 flow ipv4 monitor fmm-ipv4 sampler sm-flow-default ingress router bgp 65533 address-family ipv4 unicast bgp attribute-download With special thanks to Nick Hilliard of INEX for this config 29/11/2013 BGP Traffic Engineering, Andy Davidson 12
  • 13. Other ways to get data • Log file analysis – Useful before you have a network, for working out the benefit of building a network/peering. – Best for ‘single service’ networks • DNS providers have DNS logs with time & IP • Web providers have web logs with time & IP • Hosted email providers have mail logs… 29/11/2013 BGP Traffic Engineering, Andy Davidson 13
  • 14. IP Address 29/11/2013 Time and date Amount of Traffic BGP Traffic Engineering, Andy Davidson 14
  • 15. Other ways to get “data” • Wild Guess – Your instinct is better than you think? – Content networks will talk to eyeballs – Eyeball networks will talk to content – Confirm with top talkers, etc. – But you should use Netflow.  • Early “quick wins” may provide hard data • Hard data provides stronger business case 29/11/2013 BGP Traffic Engineering, Andy Davidson 15
  • 16. Data tells you • Your traffic direction – Mainly inbound – Mainly outbound – Balanced • Your top traffic originators or destinations 29/11/2013 BGP Traffic Engineering, Andy Davidson 16
  • 17. Outbound vs Inbound • Outbound heavy networks – Somewhat easier life • Inbound heavy networks – You must trick the Best Path Selection methods of networks sending you traffic. – Their config change will move your traffic. Elliot http://www.flickr.com/photos/pointnshoot/677657225/ 29/11/2013 BGP Traffic Engineering, Andy Davidson 17
  • 18. BGP Best Path Selection Algorithm • Traffic engineering is about ‘tricking’ this process • Affects traffic in outbound direction – – – – – – – 29/11/2013 Local Preference AS PATH length Lowest Origin Type Lowest MED Prefer eBGP paths Lowest IGP Metric Oldest route BGP Traffic Engineering, Andy Davidson 18
  • 19. Mainly outbound, single POP • Localpref – A hammer – blunt tool, inflexible.. But it is a tool. – “Generally” prefer to send traffic to customers, then peers, then transits. – Manage top ‘n’ networks, so that there is a preferred path, and a failure path, with capacity on both circuits. 29/11/2013 BGP Traffic Engineering, Andy Davidson 19
  • 20. Transit Many peers Many peers EX2 EX1 4Gbit AS1 PP1 4Gbit 4Gbit 4Gbit 5Gbit RT1 RT2 2Gbit 6Gbit AS2 PP2 AS12345 PP3 AS3 AS2 is your largest flow - via PP2 - maybe needs a second private peer backup on RT2? 29/11/2013 BGP Traffic Engineering, Andy Davidson 20
  • 21. Transit Many peers Many peers EX2 EX1 4Gbit AS1 PP1 4Gbit 4Gbit 4Gbit 5Gbit RT1 RT2 2Gbit 6Gbit AS2 PP2 AS12345 PP3 AS3 AS2 is your largest flow - via PP2 - maybe needs a second private peer backup on RT2? AS1 via PP1, configure a backup over EX1 or EX2 for deterministic routing? 29/11/2013 BGP Traffic Engineering, Andy Davidson 21
  • 22. Transit Many peers Many peers EX2 EX1 4Gbit AS1 PP1 4Gbit 4Gbit 4Gbit 5Gbit RT1 RT2 2Gbit 6Gbit AS2 PP2 AS12345 PP3 AS3 AS2 is your largest flow - via PP2 - maybe needs a second private peer backup on RT2? AS1 via PP1, configure a backup over EX1 or EX2 for deterministic routing? Can you move larger peers behind EX1 and EX2 onto private peering? 29/11/2013 BGP Traffic Engineering, Andy Davidson 22
  • 23. Transit Many peers Many peers EX2 EX1 4Gbit AS1 PP1 4Gbit 4Gbit 4Gbit 5Gbit RT1 RT2 2Gbit 6Gbit AS2 PP2 AS12345 PP3 AS3 AS2 is your largest flow - via PP2 - maybe needs a second private peer backup on RT2? AS1 via PP1, configure a backup over EX1 or EX2 for deterministic routing? Can you move larger peers behind EX1 and EX2 onto private peering? If there is an exchange failure, where will the traffic go? How big a flow should you care about? 29/11/2013 BGP Traffic Engineering, Andy Davidson 23
  • 24. Transit Many peers Many peers EX2 EX1 4Gbit AS1 PP1 4Gbit 4Gbit 4Gbit 5Gbit RT1 RT2 2Gbit 6Gbit AS2 PP2 AS12345 PP3 AS3 AS2 is your largest flow - via PP2 - maybe needs a second private peer backup on RT2? AS1 via PP1, configure a backup over EX1 or EX2 for deterministic routing? Can you move larger peers behind EX1 and EX2 onto private peering? If there is an exchange failure, where will the traffic go? How big a flow should you care about? If you lose RT2, how will traffic to PP3 and traffic volume via EX2 be delivered? 29/11/2013 BGP Traffic Engineering, Andy Davidson 24
  • 25. Transit Many peers Many peers EX2 EX1 4Gbit AS1 PP1 4Gbit 4Gbit 4Gbit 5Gbit RT1 RT2 2Gbit 6Gbit AS2 PP2 AS12345 PP3 AS3 AS2 is your largest flow - via PP2 - maybe needs a second private peer backup on RT2? AS1 via PP1, configure a backup over EX1 or EX2 for deterministic routing? Can you move larger peers behind EX1 and EX2 onto private peering? If there is an exchange failure, where will the traffic go? How big a flow should you care about? If you lose RT2, how will traffic to PP3 and traffic volume via EX2 be delivered? If you lose RT1, how will traffic volume via PP3 and EX1 be delivered? 29/11/2013 BGP Traffic Engineering, Andy Davidson 25
  • 26. Localpref – blunt hammer 10.0.0.0/8 Localpref 100 via 100 123 10.0.0.0/8 Localpref 500 via 300 200 200 200 200 123 Which link will you prefer ? AS123 here is trying to shape inbound traffic via AS100. Why ? Higher capacity link ? More reliable ? What should you do ? Answer: It depends on the volume of traffic, cost of capacity, value of traffic 29/11/2013 BGP Traffic Engineering, Andy Davidson 26
  • 27. Configuration Example Larger flows are in ASNs Listed in as-path 30 and 40 Deterministic exits configured ip as-path access-list 30 permit _7018_ ip as-path access-list 30 permit _2828_ ip as-path access-list 30 permit _4323_ ip as-path access-list 30 permit _3561_ ip as-path access-list 30 permit _1668_ ip as-path access-list 40 permit _3330_ route-map PEER_EX1 permit 10 match as-path 30 set local-preference 300 route-map PEER_EX1 permit 15 match as-path 40 set local-preference 200 route-map PEER_EX1 permit 20 set local-preference 150 route-map PEER_EX2 permit 10 match as-path 40 set local-preference 300 route-map PEER_EX2 permit 15 match as-path 30 set local-preference 200 route-map PEER_EX2 permit 20 set local-preference 150 29/11/2013 BGP Traffic Engineering, Andy Davidson 27
  • 28. Mainly outbound – Many POPs • Use hot potato routing to best effect – Nearest exit routing – Understand who your top traffic sinks are and peer at all POPs – Ignore MEDs from others – unless you want to carry the traffic on your backbone 29/11/2013 BGP Traffic Engineering, Andy Davidson 28
  • 29. Transit DECIX BCIX 6Gbit AS1 7Gbit 4Gbit 4Gbit 5Gbit Berlin Frankfurt 2Gbit 6Gbit AS1 AS2 Amsterdam If you lose a POP does the traffic go away or move? AS12345 AS1 2Gbit 8Gbit AS2 Internal capacity likely more $ than local handoff If you understand your top flows, you will cope with traffic growth and failures 29/11/2013 BGP Traffic Engineering, Andy Davidson 29
  • 30. Deterministic routing – Local Preference – AS PATH length Top flows should leave your network via deterministic means, and not left – Lowest Origin Type to BGP Best Path selection (or to chance). – Lowest MED If you are relying on oldest route to make the – Prefer eBGP paths decision, you risk traffic taking unpredictable routes. – Lowest IGP Metric – Oldest route However, oldest routes do break the ‘flapping sessions’ problem. You need to monitor and manage your top flows constantly. 29/11/2013 BGP Traffic Engineering, Andy Davidson 30
  • 31. Inbound traffic engineering • Much harder – Trick others’ Best Path calculations – You do not administrate origin party router • But remember… – Largest flows come from a small number of networks – Content networks want to deliver traffic to you as well as possible! 29/11/2013 BGP Traffic Engineering, Andy Davidson 31
  • 32. Selective Announcements – Shortest prefix – – – – – – – Local Preference AS PATH length Lowest Origin Type Lowest MED Prefer eBGP paths Lowest IGP Metric Oldest route 29/11/2013 Prefix length considered before BGP. 10.0.0.0/16 vs 10.0.0.0/17 & 10.128.0.0/17 BGP Traffic Engineering, Andy Davidson 32
  • 33. Problem of Selective Announcements • Often filtered • Considered rude – might lead to depeering • Never announce ‘globally’ 29/11/2013 BGP Traffic Engineering, Andy Davidson 33
  • 34. …But can be used to great effect • To the same peer or transit provider, announce aggregate and regional pfx Transit 10.0.0.0/8 10.0.0.0/9 10.0.0.0/8 10.128.0.0/9 Add NO_EXPORT community Berlin Frankfurt Use with permission 29/11/2013 BGP Traffic Engineering, Andy Davidson 34
  • 35. AS_PATH prepending • Signal preferred path by growing AS_PATH on less preferred paths • Marginal effect which degrades quickly • Signal backup link to a single AS, but loadbalancing capacity is much harder • May not be heard at ‘distant’ ASNs • Another ‘blunt’ tool, but can move some traffic. 29/11/2013 BGP Traffic Engineering, Andy Davidson 35
  • 38. MEDs • Lowest MED wins. – Opposite of Nearest Exit routing, “carry traffic to me” – Only works to the same peer in multiple regions – Copy IGP metric to MED – Normally subject to negotiation • Sometimes honoured, often when network traffic is latency or loss sensitive. 29/11/2013 BGP Traffic Engineering, Andy Davidson 38
  • 39. MEDs are often filtered • Many networks set MED to 0 when they learn prefixes, so that hot potato routing will override MED. route-map peers-in permit 10 set local-preference 200 set metric 0 29/11/2013 BGP Traffic Engineering, Andy Davidson 39
  • 40. Origin changing Highest priority route-map PEERS permit 10 set origin igp • IGP • EGP • Incomplete route-route-map TRANSIT permit 10 set origin incomplete Often peers set to ‘igp’ or ‘egp’ statically on routers to nullify effects of Origin changing. 29/11/2013 BGP Traffic Engineering, Andy Davidson 40
  • 41. Inbound – what does work well? • Overprovisioning • Peer with top networks widely (buy options!) – Failure of single link will not break adjacency – Failures can be handled in predictable ways • Build relationships • Constantly monitor and manage • If you care about your traffic, let it go.  – Playing games with peering hurts your customers’ traffic • Affecting distant ASNs is very hard – a region may only see a single next-hop ASN. 29/11/2013 BGP Traffic Engineering, Andy Davidson 41
  • 42. What does “manage relationships” mean? • Go back to your data – Collect and share information with peering coordinators at forums like this – You will stand out if you know exactly how much traffic you will exchange at peak with a peer – Protect your peer’s interests • • • • • 29/11/2013 Discuss mutual points of interconnection that suit both Respond to abuse complaints promptly Use contacts to reach other peering co-ordinators Respond promptly to BGP session down/flapping List your network on PeeringDB! BGP Traffic Engineering, Andy Davidson 42
  • 43. Buying transit in a smart way • Buying from a well peered transit provider: – Can improve quality for the reasons discussed – Hides capacity problems from you automatically • Buying from your top traffic destination – If your business relies on the traffic quality, it may make sense to pay – Data may help you negotiate good terms 29/11/2013 BGP Traffic Engineering, Andy Davidson 43
  • 44. Dealing with a “no” to peering • Paid peering is one option – Often more expensive than full IP transit – “Once a customer, never a peer” • Pay for other services in return for peering – Transport for example • Peer around the problem – Try to peer directly with downstream customers – Try to sell directly to downstream customers • If you are better peered, you can sell based on quality 29/11/2013 BGP Traffic Engineering, Andy Davidson 44
  • 45. Aggregate transit & peering capacity • Buy transit/peering capacity through a reseller who can offer many providers on a single link – Different providers presented on separate VLANs – Failures in a transit or peering will result in traffic shifting to another provider on same link – Access to multiple providers on single commit? – Not available everywhere, but Allegro offer this in London • Does not replace need for backup to reseller 29/11/2013 BGP Traffic Engineering, Andy Davidson 45
  • 46. Constantly manage • • • • • Peering on the Internet changes every day. Capacity on the Internet grows every day. Small networks become large. Large networks become larger (consolidation) A “bad” path might become good overnight 29/11/2013 BGP Traffic Engineering, Andy Davidson 46
  • 47. Questions? ______________________________ Andy Davidson andy.davidson@allegro.net Email me to request a copy of this presentation! Feedback and introduction to peering co-ordinators welcome Twitter: @andyd +44 161 200 1610 (Manchester, UK office hours)