Peering Economics 101 - London Internet Exchange...When Peering is Worth the Investment It’s not...
Transcript of Peering Economics 101 - London Internet Exchange...When Peering is Worth the Investment It’s not...
HurricaneElectric-MassivePeering! 1
Peering Economics 101
SusanForney
HurricaneElectricAS6939
Peering Economics Topics
• WhyisPeeringNeverFree?• WhenisPeeringWorththeInvestment?• WhattypeofpeeringshouldIdo?• WhydoIneedapeeringstrategy?• WhyshouldIbeagoodneighbor?
Why Peering is Never Free
• Peeringaconnectionbetweentwonetworkdevices.Networkdevicesarenotfree.• Peopleareneededtoconfigureandmaintainnetworkdevices.Peoplearenotfree.• Thenetworkdevicesneedelectricpowerandaspacetooccupy.Powerandspacearenotfree.
Why Peering is Never Free
Peeringhasacost,butaswithanythingthathasacost,italsohasvalue.Todetermineitsvaluetoyou,youneedtoknow:• Howmuchyourportcosts.Besidestheequipment,don’tforgetoptics,itsrackspace,power,andsupportcosts.• Howmuchacross-connectcostsatthedatacenterthathostsyouandtheexchange.Don’tforgetsetupfeesforthosecross-connects.• Whileitistruethateachofyourtransitprovidersalsoconsumesaportandacrossconnection,thisisagoodexercisetokeeptrackofyourcosts.Ifnothingelse,itwillhelpyouwhenitisbudgettime.
Why Peering is Never Free MyISP MyIX
One-timeCostsDeviceport $200 $200Setupfeeforcross-connect $500 $500Setupfeeforservice $250 $500
RecurringcostsCommitlevel(MBPS) 2000 n/aCommitPrice $2,000 n/aPriceperMbabovecommit $1 n/aPriceperport n/a $500Cross-connect $250 $250
When Peering is Worth the Investment
Todetermineifyourpeeringportisagoodinvestment,youneedtoknow:• Howmuchyourtransitand/orsettledpeeringcostsare—don’tforgettoconsideryourcommittedrates.• Howmuchtrafficyoucouldmovetotheport
When Peering is Worth the Investment
Todeterminehowmuchtrafficyoucouldmovetotheport,youshouldconsiderwhoyourpotentialpeeringpartnerswillbeontheexchange:• Exchangeswhereyoucanreachcontentnetworksorcloudproviderscanbeveryadvantageous.• Don’tforgettopeerwiththecachingnetworkslikeAkamai,Fastly,Limelight,etc.• NetfloworSflowcangiveyoualotofinformationaboutyourhighesttrafficsourcesanddestinations.
When Peering is Worth the Investment
Onceyouhavethisinformation,youseeifthegettingaportontheexchangemakesgoodbusinesssensebasedoncost:
Why Peering is Never Free
$0.00
$0.50
$1.00
$1.50
$2.00
$2.50
$3.00
$3.50
$4.00
$4.50
$5.00
500 1,000 1,500 2,000 2,500 3,000 3,500 4,000 4,500 5,000 5,500 6,000 6,500 7,000 7,500 8,000
PriceperMbpsat95thPercentileBilling
MyISP MyIX
Why Peering is Never Free
Don’tforgettofactorinoperationalsupportcosts—andsavebystreamliningorautomatingthem.• Createtwoorthreepeergroupsforyourneighbors.AllyouneedtoknowfromaneighbortoturnconfigurethepeersaretheASnumber,theirIPaddresses,theirAS-SETandtheirsuggestedprefixlimitsare.• Considerthesupportpriorityofpeers.Youmaynotneedtowakeupyouron-callengineers.• MonitorportcapacityonyourIXconnectionsandincreaseitbeforeyougetintotrouble.• Usecommunitiestomakeyourpeeringsmarter.
When Peering is Worth the Investment
It’snotallaboutthemoney.• Peeringcanproviderealtangiblebenefitsintermsofreducedlatencyandimprovedthroughput.• Youwillgainmorediversityatyouredge—helpsimprovetrafficflowintheshortrunandhelpsyouscaleyournetworkinthelongrun.• Yourinternalandexternalcustomerswillbehappier.
What Type of Peering To Do
TheeasiestoptionatmostpublicexchangesispeeringwiththeIX’srouteserver.Thishassomeadvantages:• Yourrouteronlyhaspeeringsessionswiththerouteservers.• It’saquickwaytogetaccesstomanyofthenetworksontheexchange.• Evenifyoupeerindividually,youstillcanpeerwiththerouteserveraswell,butyoumaywanttopreferanydirectlyconnectedpeerroutes.
Thedisadvantageisyouhavelesscontrol,andyoumaynotgetalloftheavailableroutes.Manynetworksonlyadvertiseasubsetofroutestotherouteserver,andsomemaynotchoosetopeerwiththeserver.Notallexchangeshaverouteservers.
What Type of Peering To Do
• Peeringalsotakesplaceacrossprivatedirectconnections.Thisconnectioniscreatedbetweentwonetworks,usuallywhenalotoftrafficwouldbeexchangedwhichwouldjustifythecostofaportandacrossconnect.Insomeexchanges,keepingthetrafficontheexchangeputsaburdenontheswitch.
• Aswithapeerontheexchange,itcanbefreeorpaid.Thenetworksdeterminewhopaysforthecross-connectfees.
What Type of Peering To Do
• Peeringdirectlywithothernetworksontheexchangeswitchfabricisthemostcommonandconvenientwaytosetuppeeringsessions.• Youhavemoreroutingoptionsroutesthanyoudopeeringwiththerouteserverandoncetheportisinplace,youcanturnsessionsupinminutes.• Peeringacrosstheexchangeswitchfabriccanbefree,oritcanbeapaidor“settled”peeringarrangement,inwhichanarrangementismadetodeterminewhopaysforthetrafficimbalance.
Why you need a peering strategy
Youneedapeeringstrategytogetthemostvaluefromyourexchangeport.Someofthethingstoconsiderare:• Whatnetworkswouldbenefityouthemost?• Whatexchangesshouldyoujoin?• Howwillyouroutetheprefixesyoureceiveinyournetwork?
Why you need a peering strategy
Howtodetermineifnetworkpeermakesenseforyou:• Doyousendalotoftraffictothispeerovertransitconnections?• Isyourtraffictothispeerhandedofflocallyordoesit“hairpin,”addinglatency?• DoyouhaveexcessbandwidthonyourIXinterface?
Why you need a peering strategy
• Peeringcanimproveyourroutingandreducelatency.Ornot.• Ifyoupeeratmorethanonelocation,consideraroutingarchitecturethatallowsprefixestobeannouncedstrategicallytokeeptrafficlocal.• Somepeerscandomoreforyouthanothers.Figuringthatoutcangetyouabiggerreturnonyourinvestmentmorequickly.
Why you should be a good neighbor
Peeringworkswhenitisagoodexperienceforbothparties.• Cleanupyouradvertisements.Youshouldn’tbeleakingyourprivateIPspaceorroutesthatdon’toriginatefromapublicAS.• Beeasytocontactbykeepingup-to-dateroutingandcontactinformationinPeeringdb.com.• KeepyourIRRrecordsuptodate.
Why you should be a good neighbor
Whiletheothernetworkyouarepeeringwithisprobablyafineorganization,trustnoone.• Setmaximumprefixlimitsforyourpeers.• Filtertheroutestoacceptonlyroutesvalidfromthepeer’sAS.
Why you should be a good neighbor
Buildingfiltersdoesnothavetobehard.Youcanscriptityourselforuseatoollikebgpq3.Hereisanexampleusingbgpq3togenerateaprefixlistforaJuniperrouter:Galadriel:~ susan$ bgpq3 -J6l MyNewPrefixList AS44684
policy-options {
replace: prefix-list MyNewPrefixList {
2a00:1098::/32; 2a00:7d81:1000::/48;
2a00:7d81:1001::/48;
2a00:9b40::/48; 2a06:1c80::/29;
} }
Why you should be a good neighbor
• Beresponsivewhenyouarenotifiedofanissue.Noonelikesapeerwhoignoresthem,especiallyiftheyareexperiencingaDDoS,phishing,orothertypesofnaughtybehaviorfromusersonyournetwork.• Noonecantakeadvantageofyouwithoutyourpermission.Controlyouradvertisements.• Notallnetworkswillwanttopeerwithyou.Thisusuallyismoretodowiththeirpeeringpolicyandstrategiesandlesstodowithyou.
Thank you!
Questions?