-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detailed packet overhead in Manpage. #12
Comments
Hi, I will add some information on packet overhead to the manpage. Regarding multicast: VpnCloud has no special support for multicast and I did not test any multicast scenarios. So this is all theoretical:
|
@dswd Some routing protocol require multicast to work.
As far as I know,TUN is a point-to-point device.Something like Thanks. |
@dswd BTW,I want to know if the vpncloud can handle the packet oversize or not(for example I intentionally set the mtu to 1500 to make the big packet pass through) In many scenario,you can't set the MTU too low.Some application did not support low MTU,and also,bridge standard ethernet port(MTU 1500) to a non standard MTU port will cause very bad performance.The ethernet frame will drop silently(without ICMP error since it is not a router) if the frame goes over the tap device's mtu size. |
Regarding TUN devices in switched mode: There are two device types TUN and TAP and the only difference between them is that TUN transports IP packets and TAP transports Ethernet frames. VpnCloud supports MTUs up to 65000 bytes. However this results in worse latency and loss rate (see #2) |
I updated the FAQ with those topics. |
@dswd That's great.So in the standard ethernet,the maximum MTU in TUN device without fragment will be 1500 - 20IPv4 - 8UDP- 8protocol - 12crypto -> 1452.Is that correct? I will test routing protocol in TUN device with switched mode recently.Hopefully I can give you some feedback soon. |
Yes that is right. But mind that IPv4 means the external addresses, not the internal VPN addresses. |
Hello,
I think it will be great if you can describe the fully detail about overhead and MTU best practice(TUN & TAP mode) in manpage.
Thanks.
BTW.I want to know how the TUN device handle the multicast.Did you have any information about that?
The text was updated successfully, but these errors were encountered: