问题原文
原帖链接 · Dark Knight · CC BY-SA 4.0
This is what I want,LAN---- (UDP packets flow)----->Router [Mirror UDP packets & send these packets to the same destination port/IP in order]--------> Internet. Any idea?
Side note: I want to try if this work to reduce UDP packets loss by sending multiple packets to the destination server via it's IP or port.
Either method by port mirroring or Tee with syntax.
已采纳解答
原帖链接 · John Mahowald · CC BY-SA 4.0
Don't.
UDP is unreliable. The transport does not correct for lost or out of order.
Mirroring and sending to the same destination will make congestion worse. The application also would need to deal with duplicate data, which it may not. Even if it did work, in the best case mirroring halves goodput.
Instead, switch to a reliable in order protocol, either a transport or have the application do it. Many choices of transport protocol exist, QUIC is a popular UDP based one. TCP is also popular...
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
