I chose L2TP/IPSec for the following reasons:
- The routers out in the field easily connect back to our hubs which have static IPs and there are no NAT involved
- By setting up IPSec in transport mode, I'm provided interfaces that can be used by OSPF to dynamically establish routes
- It allows me to run IPv6 on our network and connect sites over the same L2TP IPv4 based links
The drawback is that our MTU setting is 1290 to handle the IPv6 traffic, but it has worked well for us since the link speeds have been in the 100M/b range. A speedtest between a CCR1009-8G-1S-1S+ and a RB4011 on a 1G link measuring 16ms latency produce these bandwidth Test results (10s Average, IPv4, ROS 6.48.1):
- WAN to WAN using UDP: 970 Mbps
- WAN to WAN using TCP: 900 Mbps
- L2TP/IPsec (transport mode, HW accelleration) using UDP: 675 Mbps
- L2TP/IPsec (transport mode, HW accelleration) using TCP: 375 Mbps
The tunnel is set up with AES-256-CBC + SHA256 using IKE2 and both routers have the H flag displayed on the "Intsalled SA" tab, so it appears that our IPSec setting is correct in utilizing hardware accelleration.
My questions are:
- There is no published IPSec data for the CCR1009-8G-1S-1S+. The RB4011s performance table is not specific to our configuration, but for a single tunnel it appears that it should handle the link. Am I correct, or do we need better hardware to be able to saturate the 1G link?
- There is a large difference between UDP and TCP using L2TP/IPSec. Why is that? The link is relative quick (latency 16ms) and there are no detected errors. According to the referenced threads, posters suggest contacting Mikrotik support. Is this speed difference a limitation of V6 that will be addressed in V7?
- Is there any tuning that can be done besides making sure that HW accelleration is active?
Hopefully my test data can help someone with comparison throughput.