[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Compression and MTU information and questions


  • Subject: [Openvpn-users] Compression and MTU information and questions
  • From: "John A. Sullivan III" <jsullivan@xxxxxxxxxxxxxxxxxxx>
  • Date: Sat, 04 Feb 2006 01:47:48 -0500

We've successfully launched our first OpenVPN + openswan solution into
production tonight.  We've seen some interesting behavior on the wire
tonight that I thought I would share with the list.

We anticipated that we would have some difficulty with fragmentation.
The OpenVPN fragment setting is 1400 and the openswan overridemtu
setting was also 1400.  We started to see lots of requests for
fragmentation so I set to work trying to find optimal MTU settings.
Unfortunately, the testers have gone home so I don't have final
information but what I learned was interesting.

It appears that OpenVPN likes an MTU 10 bytes smaller than openswan
(using 3DES and SHA1 - a gather other algorithms would change this
number).  We are currently set to 1400 and 1410 respectively.

It was far more challenging trying to match up the physical interfaces.
I set my OpenVPN client to its maximal do not fragment ping (1382 bytes)
and kept trying to lower the MTU on the VPN gateway physical interface.
I assumed that when the MTU dropped below the OpenVPN MTU, I see
failures but that did not occur.  In fact, I only saw very small packets
- typically under 400 bytes.  It made me wonder if OpenVPN didn't have a
horrible fragmentation problem and fragmented everything but the timing
wasn't right.  I'd send a 1410 byte packet every second but I'd see a
399 byte packet go out ever second.

I am wondering if this is compression at work.  If so, that's quite an
impressive reduction.  Of course, the ping packet is probably simply
text but that's still impressive -- better than I thought it would be.

Alas, it prevented me from finding the optimal match between physical
interface and OpenVPN.  My testers have gone home and I'm too tire to
start doing large transfers of images to test further.  If anyone has
any better information or comments, please share them - John
-- 
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
jsullivan@xxxxxxxxxxxxxxxxxxx

Financially sustainable open source development
http://www.opensourcedevel.com


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-02/msg00056.html on line 215

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-02/msg00056.html on line 215