3 ms·
> Using segmentation offloads means the packets will traverse also the remaining path as a single unit. Note that this is not necessarily the right thing to do
by yencabulator 4y ago
> Using segmentation offloads means the packets will traverse also the remaining path as a single unit.
Note that this is not necessarily the right thing to do, for a VPN.
Encryption: Wireguard uses the destination IP of each packet to pick the outgoing tunnel.
Decryption: The destination addresses of the encapsulated packets are arbitrary.
Where the sequence is required to share things like routing lookups, a VPN generally can't just take a sequence of packets from one side and send the same sequence of packets, individually transformed, out the other side.
Batching in general is still a common trick for performance, but the VPN gateway acts as a multiplexer/demultiplexer. It's doing routing after all!
- Matthias247 4y agoSure! Obviously you can only coalesce packets which have the have the same destination