V4ACIG_Disable_Dataplane_Learning_mihiguch_第1页
V4ACIG_Disable_Dataplane_Learning_mihiguch_第2页
V4ACIG_Disable_Dataplane_Learning_mihiguch_第3页
V4ACIG_Disable_Dataplane_Learning_mihiguch_第4页
V4ACIG_Disable_Dataplane_Learning_mihiguch_第5页
已阅读5页,还剩33页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

MinakoHiguchi,TechnicalMarketingEngineer,INSBU,Lastupdate:Sep26th2018,ACIversion4.0(Ganga),DisableDataplaneIPLearning,OverviewUsecaseexamplesConsiderations,Agenda,Overview,Bydefault,ACIfabriclearnsendpointIPandMACthroughARP/GARP/NDandalsothroughdataplane.Intraditionalnetwork,IPandMACmappingishappenedthroughARP/GARP/ND(notthroughdataplane).SothereisadifferencebetweenACIfabricandtraditionalnetwork.Forsomeusecases,weneedtodisabledataplaneendpointIPlearning.(Forexample,DSRetc)Thisdocumentexplainsthebehaviorandconfigurationexample,usingoneusecase.Relateddocuments,ACIEndpointlearning,Wehavetwooptions.(Priorto4.0release)ConfigureL4-L7VIPunderEPGNeedtospecify/32hostIPtodisabledatapathlearningGoodforthecasewhenweknowwhichIPweshoulddisabledataplanelearning.TheonlytestedandsupportedusecaseforthisoptioniswithLayer2DSR.Thereisdesignconsideration.(Pleaseseeendpointlearningwhitepaperfordetail)DisabledataplanelearningonBDGoodforthecasewhenwehavemanyIPsweshoulddisabledataplanelearningorwearenot100%surewhichIPsweshoulddisabledataplanelearning.(forexample,serversaremanagedbydifferentteam)ItsforPBRusecaseonly.Thereisaconsiderationforgeneralusecase.DisablingdataplanelearningattheBDlevelisnotconsideredaGeneralAvailabilityfeature.PleaseseeEDCS-1545591fordetail.,TodisabledataplaneIPlearningPriorto4.0release,DisabledataplanelearningonBDIfingressToRisSugarbowl,remoteToRdoesdataplanelearningifitsnotserviceEPGsinceDL(DisableLearning)bitisNotsetiniVXLANheaderpercurrentimplementation.Soitdoesntworkwithnonservicegraphconfiguration.NorthStarbasedToRisfinesinceNorthStarbasedToRdoesntcheckwhetheritsserviceEPGornot.ButitsnotvalidatedbyQAandtherearesomeconsideration.ForgeneralusecasebesidesPBR,wearegoingtosupportDisableDataplaneIPlearningperVRFin4.0release.,Knownlimitation:CSCvc20477,DisabledataplaneIPlearningonVRFItsavailablefornon-PBRcaseaswell.DataplaneIPlearningisdisabledonVRFL3multicastissupported.LocalMACsandremoteMACsstillgetlearnedfromdataplane.LocalIPsarenotlearnedfromdataplane.RemoteIPsarenotlearnedfromunicastpacketsbutfrommulticastpacketsfromdataplane.LocalIPsstillgetlearnedfromARP/GARP/ND.WhenDataplaneIPlearningisdisabledonVRFExistingremoteIPsareflushedimmediately.ExistinglearntlocalIPsareretained,butwillbeagedunlesscontrolplanepacketskeepitaliveBounceentrieswillbedeletedwhenbouncetimerexpires,TodisabledataplaneIPlearningAfter4.0release(NEW),TenantNetworkingVRFsVRF,Configuration,IPData-planeLearningEnabledbydefault,APICCLIconfiguration,F2-APIC1(config)#tenantABCF2-APIC1(config-tenant)#vrfcontextvrfF2-APIC1(config-tenant-vrf)#ipdataplanelearning?disabledDisableipDataPlaneLearningVrfKnobF2-APIC1(config-tenant-vrf)#ipdataplanelearningdisabledF2-APIC1(config-tenant-vrf)#noipdataplanelearningdisabled,SwitchCLIcheckstatus,F2-P1-Leaf-301#showsysteminternalepmvrfABC:vrfdetailVRFABC:vrfvrftype:Tenant:vrfvalid:yescontextid:7:vnid:2392068Scope:2392068:Sclass:16386EPretentionpolicyvalid:YesLocalEPtimeout:900:RemoteEPtimeout:300EPbouncetimeout:630:EPholdtimeout:300EPmovefrequency:256Valid:Yes:LearnEnable:Yes:IPLearnEnable:NoEndpointcount:5:,Usecaseexample,Usecaseexample(whenweneeddisabledataplaneIPlearning?),Usecaseexample1,IP:MAC:SDefaultGW:54,Server2(Standby)VIP:00DefaultGW:54MAC:B,Server1(Active)VIP:00DefaultGW:54MAC:A,VRF1,AllBDsareinsameVRF,BD154,BD254,1:TrafficfromsourceSrcIP:SrcMAC:SDestIP:00DestMAC:BDsubnetMAC,E1/1,E1/1,E1/2,Leaf1,Leaf2,Spine,Ifitsroutedtraffic,remoteMACisnotlearnt.,Usecaseexample1(cont)Server2takesoverActiverole,IP:MAC:SDefaultGW:54,Server2(Active)VIP:00DefaultGW:54MAC:B,Server1(Standby)VIP:00DefaultGW:54MAC:A,VRF1,AllBDsareinsameVRF,BD154,BD254,2:GARPVIP:00MAC:B,E1/1,E1/1,E1/2,Leaf1,Spine,Leaf2,Inthisexample,remoteIPinformationonLeaf1isnotchangedasbothserver1andserver2areundersameleaf.,Usecaseexample1(cont)Server1(standby)sendRST,IP:MAC:SDefaultGW:54,Server2(Active)VIP:00DefaultGW:54MAC:B,Server1(Standby)VIP:00DefaultGW:54MAC:A,VRF1,AllBDsareinsameVRF,BD154,BD254,3:SendRSTforexistingconnectionSource:IP:00SourceMAC:A,E1/1,E1/1,E1/2,Leaf1,*Becauseofdataplanelearning,EPtableisupdated*,Spine,Leaf2,Inthisexample,remoteIPinformationonLeaf1isnotchangedasbothserver1andserver2areundersameleaf.,Usecaseexample1(cont)Clienttriestore-connect,IP:MAC:SDefaultGW:54,Server2(Active)VIP:00DefaultGW:54MAC:B,Server1(Standby)VIP:00DefaultGW:54MAC:A,VRF1,AllBDsareinsameVRF,BD154,BD254,E1/1,E1/1,E1/2,Leaf1,*TrafficstillgoestoServer1!,5:TrafficfromsourceSrcIP:SrcMAC:SDestIP:00DestMAC:BDsubnetMAC,Spine,Leaf2,UsecaseexampleIfdataplaneIPlearningisdisabled,LocalMACsandremoteMACsstillgetlearnedfromdataplane.LocalIPsarenotlearnedfromdataplane.RemoteIPsarenotlearnedfromunicastpacketsbutfrommulticastpacketsfromdataplane.LocalIPsstillgetlearnedfromARP/GARP/ND.,Usecaseexample1,IP:MAC:SDefaultGW:54,Server2(Standby)VIP:00DefaultGW:54MAC:B,Server1(Active)VIP:00DefaultGW:54MAC:A,VRF1,AllBDsareinsameVRF,BD154,BD254,1:TrafficfromsourceSrcIP:SrcMAC:SDestIP:00DestMAC:BDsubnetMAC,E1/1,E1/1,E1/2,Leaf1GotoSpineproxy,Leaf2,Spine,RemoteIPsarenotlearnedfromunicastpackets,*PolicyisappliedonegressLeaf,Usecaseexample1(cont)Server2takesoverActiverole,IP:MAC:SDefaultGW:54,Server2(Active)VIP:00DefaultGW:54MAC:B,Server1(Standby)VIP:00DefaultGW:54MAC:A,VRF1,AllBDsareinsameVRF,BD154,BD254,2:GARPVIP:00MAC:B,E1/1,E1/1,E1/2,Leaf1,Spine,Leaf2,RemoteIPsarenotlearnedfromunicastpackets,LocalIPsstillgetlearnedfromARP/GARP/ND,Usecaseexample1(cont)Server1(standby)sendRST,IP:MAC:SDefaultGW:54,Server2(Active)VIP:00DefaultGW:54MAC:B,Server1(Standby)VIP:00DefaultGW:54MAC:A,VRF1,AllBDsareinsameVRF,BD154,BD254,3:SendRSTforexistingconnectionSource:IP:00SourceMAC:A,E1/1,E1/1,E1/2,Leaf1,Spine,Leaf2,LocalMACsstillgetlearnedfromdataplane.LocalIPsarenotlearnedfromdataplane,RemoteIPsarenotlearnedfromunicastpackets,Usecaseexample1(cont)Clienttriestore-connect,IP:MAC:SDefaultGW:54,Server2(Active)VIP:00DefaultGW:54MAC:B,Server1(Standby)VIP:00DefaultGW:54MAC:A,VRF1,AllBDsareinsameVRF,BD154,BD254,E1/1,E1/1,E1/2,Leaf1,5:TrafficfromsourceSrcIP:SrcMAC:SDestIP:00DestMAC:BDsubnetMAC,Spine,Leaf2,IfsourceanddestinationendpointsareunderdifferentLeafs.EPGEPG(L3traffic)Policyisappliedonegressleafsinceingressleafcantresolvedestinationclass.EPGEPG(L2traffic)PolicycanbeappliedoningressleafsinceremoteleaflearnsremoteMAC.(butnotremoteIP)EPGL3outPolicycanbeappliedoningressleafsincethedestinationisL3out.,DisabledataplaneIPlearningconsiderationwherecontractpolicyisapplied?,Considerations,DataplaneLearningDisablefeaturescomparison,2ndgenleafs(EX/FX/FX2)1stgen,*InnerMACofVXLANpacketfromfrontpanelportcannotbelearned.Pleaseseelateroftheslides.,AnycastserviceWhenanycastIP/MACisenabled:Localendpointlearningisenabledforpacketsfromanycastsource(MAC/IP)Remoteendpointlearningdisabledforpacketswithanycastsource(MAC/IP)WithdataplaneIPlearningfortheVRFenabled,localanycastIPandMACarelearntfrombothdataandcontrolplane.RemoteanycastIP/MACisnotlearnt.WithdataplaneIPlearningfortheVRFdisabled,localanycastIPisnotlearntfromdataplane.LocalanycastIPmaybeagedoutunlessitsrefreshedviahosttracking(ARP/ND).,FeatureInteraction,RogueEndpointDetectionWithdataplaneIPlearningfortheVRFenabled,rogueIPswillbedetectedviadataandcontrolplanemoves.WithdataplaneIPlearningfortheVRFdisabled,rogueIPswillonlybedetectedviacontrolplanemoves,notdataplanemoves.,FeatureInteraction,DirectServerReturn(DSR)ForDSRusecase,useofL4-L7VIPknobisstillrecommended.WithL4-L7VIPconfigurationandIPdataplaneIPlearningenabledDSRwillworkasexpectedandlearningfortheL4-7VIPconfiguredisdoneonlythroughcontrolplane.WithL4-L7VIPconfigurationandIPdataplaneIPlearningdisabledClienttoLoadBalancer:Noimpacthere.NoremoteIPlearntforLBVIP(DSREP).Ingressleafwillusespine-proxy.IfDSREPisinspineCOOPdatabase,proxylookupwillbesuccessful,otherwisewewillgenerategleanforLBandlearnitviacontrolpath.LoadBalancertoserver:Noimpacthere.WesupportL2DSRonly.ItmeanstrafficbetweenLB/ServerisL2.NoIPlearninghappens.ServertoClient:NoRemoteIPforclient.Itwillusespine-proxy.Ifcliententryisdeletedinspine,itshouldbere-learntviaglean.ForclientbehindL3out,noRemoteIPislearntinthiscase.,FeatureInteraction,L4-L7VIPanddisableDataplaneIPlearningexampleClientLB,EPGClient,VRF1(endpointdataplaneIPlearningisdisabled),EPGLB,EPGWeb,1:TrafficfromclientSrcIP:SrcMAC:SDestIP:00(VIP)DestMAC:BDsubnetMAC,Leaf12:GotoSpineproxy,Spine3:GotoLeaf2.,IP:MAC:SDefaultGW:54,BD154,BD254,E1/1,Leaf1,Leaf2,Leaf3,VIP:00MAC:LBDefaultGW:54,RealIP:01Loopback:00(VIP)MAC:DDefaultGW:54,E1/1,E1/1,L4-L7VIPanddisableDataplaneIPlearningexampleLBserver,EPGClient,VRF1(endpointdataplaneIPlearningisdisabled),EPGLB,EPGWeb,4:TrafficfromLBSrcIP:SrcMAC:LBDestIP:00(VIP)DestMAC:D,Leaf25:GotoSpineproxyorGotoLeaf3,Leaf37:Trafficgoestodestination.,Spine,IP:MAC:SDefaultGW:54,BD154,BD254,E1/1,Leaf1,Leaf2,Leaf3,VIP:00MAC:LBDefaultGW:54,RealIP:01Loopback:00(VIP)MAC:DDefaultGW:54,E1/1,E1/1,*RemoteMACisleant,L4-L7VIPanddisableDataplaneIPlearningexampleserverclient,EPGClient,VRF1(endpointdataplaneIPlearningisdisabled),EPGLB,EPGWeb,Leaf39:Trafficgoestospineproxy,Spine10:GotoLeaf1,IP:MAC:SDefaultGW:54,BD154,BD254,E1/1,Leaf1,Leaf2,Leaf3,VIP:00MAC:LBDefaultGW:54,RealIP:01Loopback:00(VIP)MAC:DDefaultGW:54,E1/1,E1/1,8:TrafficfromWebSrcIP:00(VIP)SrcMAC:DDestIP:DestMAC:BDsubnetMAC,Leaf111:GotoClient,*RemoteIPisnotlearnedfromdataplane,*LocalIPisnotlearnedfromdataplane(WithL4-L7VIPunderEPGLB,VIPisnotlearntfromWebEPGevenviacontrolplane.),Northstar/DonnerbasedToRConsiderations,Gen1leafhasconsiderations.WecanpreventremoteIP/MAClearn,butlocalMACislearntviaCPUthroughBroadcom.EvenwithdisabledataplaneIPlearningperVRF,remoteMACaddressesarenotlearned.Thus,HardwareProxymodeonthecorrespondingBDsmustbeconfigured.LocalinnerMACaddressesofVXLANpacketsarenotlearned.,Northstar/DonnerbasedToRconsiderations,Northstar/DonnerbasedToRbehaviorLocalMACislearnt,Broadcom,Northstar/DonnerDataplanelearningdisabled,CPU,Broadcom,Northstar/DonnerDataplanelearningdisabled,CPU,IP:MAC:A,IP:MAC:B,E1/1,E1/1,Leaf1,Assumingthereisnocontrolplanelearningyet.Letsfocusondataplanelearningbehavior.Ifwedisabledataplanelearning,leafdoesntlearnremoteendpoints.(andMACBonLeaf1),Leaf1,Leaf2,Northstar/DonnerbasedToRbehaviorLocalMACislearnt,Broadcom,Northstar/DonnerDataplanelearningdisabled,CPU,Broadcom,Northstar/DonnerDataplanelearningdisabled,CPU,IP:MAC:A,IP:MAC:B,E1/1,E1/1,Leaf1,*BroadcomalwayslearnlocalMAC,whichmakesNorthstarlearnslocalMACviaCPU.,Leaf1,Leaf2,Northstar/DonnerbasedToRbehaviorServer1(standby)sendRST,IP:192.168

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论