r/networking • u/MyFirstDataCenter • 2d ago
Design Application supposedly does not support “sd-wan networks that duplicate packets on multiple paths?”
Odd one. My business is rolling out a new application. Unfortunately we the network team were not involved in selecting the product or vetting out technical requirements for the app. We were delivered all the technical documents from the vendor after contracts were signed. I cracked open the network requirements document and see this gem in bold and yellow highlighted at the top of the page.
{Application_Name} does not support sd-wan networks where packets are duplicated across multiple paths and deduplicated on the distant end. Customers who have sd-wan networks must turn this feature off.
Well most if not all sd-wan solutions offer this capability, and yes we can selectively turn this off for this app if we really have to. I’m just wondering: why? The technology is designed to be totally transparent to the actual applications running across the wire. An app should not really be able to “tell” this is happening, let alone cause any kind of problem?
But before I decide to die on this hill, is there actually a technical reason this would be a thing?
108
u/nof CCNP 2d ago
Probably some random customer using this app had a problem with it and the application support turned every knob they could find and it mysteriously started working after they disabled packet duplication (or high priority or whatever the sdwan called it)... so they closed the ticket and added this to the documentation.
27
u/SevaraB CCNA 2d ago
My first gut reaction is the app can’t handle reordering packets- “duplicate paths” not the actual problem as much as a race condition when the paths have unequal RTT (which is all the time in the real world).
20
u/Linklights 2d ago
Guaranteed they probably had a forever ticket with a customer for problems with the app, and that customer turned off wan optimization and that “fixed everything.” 🙄
10
u/thesadisticrage Don't touch th... 2d ago
I mean it can happen, but it's not common.
The duplicate arrives after the dedup window closes. Tcp it's fine, udp it likely won't be.
There are other instances, the always joyful duplication adds a shim header which may break pmtud if they set df.
26
u/Ok-Bill3318 2d ago
The network team weren’t consulted so this isn’t your problem.
If it becomes a problem maybe set up a tunnel for it.
5
u/PaoloFence 1d ago
My guess is that they have no clue and tell you to use the least black magic possbile.
4
u/Due_Management3241 2d ago
Which application. The claim of why it doesn't support it here is a fundamental misunderstanding of sd-wan and how it works so probably some company covering their ass from a one off but not likely true.
4
u/MissionCattle 2d ago
Assuming this is happening over an overlay, the application should have absolutely ZERO idea packet duplication is even happening.
Both FEC & Duplication is handled between two appliances over their overlay - it should be transparent to the end-application.
6
u/muztebi16 2d ago
Just offload the app locally and enjoy yourself. Don't be a hero.
4
u/rankinrez 2d ago
Probably has tight latency/jitter requirements, and can’t deal with the buffering or jitter in arrival time resulting from packets arriving from two paths and being re-assembled.
As others have said likely they had some issue with a customer so added it in. Might work fine for you.
I would question what kind of awful network access you have where splitting single flows across multiple WAN paths under everyday circumstances makes sense. But I’ve no idea tbh maybe there is a reason.
-1
u/wjholden 1d ago
Yes, there is a technical reason. I assume that the application is written in UDP or some other stateless protocol with no built-in deduplication.
Remember how TFTP has its chunk numbers? This is an example of a UDP application that provides some form of frame numbering. If a TFTP client or server receives a duplicated chunk, it knows to discard it by chunk number.
Compare this to Syslog. Syslog has dates, but it doesn't exactly have unique message numbering. If your log collector receives two identical messages from duplicated packets then maybe it'll discard the second but maybe not.
-5
u/Far-Strike8539 2d ago
En efecto quiza solo sea un protocolo especial, donde la secuencia es estricta, como los medicos o bancarios, que al recibir secuencias raras piden tooodo de nuevo, vdd?.. no sé, hora de regresar al lab y reescribir esa prueba que iba a fallar para los pacientes criticos que esperaban su resonancia o quiza los tokens digamos de su confirmación bancaria?.. que mas da, sino llega bien, no llega, va de nuevo.. lindo trabajo el tuyo
0
u/[deleted] 2d ago
[deleted] — view deleted comment