Yes, I think that is the problem. But since I'm working in a throughput test I can't change priorities ...
What OS are you using? In Linux, a simple priority queue on your upstream interface should solve the problem - expand the queue size sufficiently, then set up a priority queue (pfifo - the default queue type) with a classifier that sets the priority of L2TP control packets to a more important level than other traffic.
See the PRIO qdisc description at http://lartc.org/howto/lartc.qdisc.classful.html#AEN903
The main problem is that pppd times out, I need to find a way to increase that timeout to something like 350s (since my tests are all 300s).
Is it PPP or L2TP that's timing out?
I tried to make some changes in l2tpd code, in order to stop sending Hello events and waiting for answears, but it still dident work.
Both ends would need to know about the extended HELLO interval. Otherwise the end that doesn't know about the extended interval will disconnect the tunnel.
Anyone have any other ideas ? I guess I just need a way to increase pppd timeout. The IPSec tunnel wont fail, the only problem is pppd.
for PPPD: lcp-echo-interval 200 lcp-echo-failure 3
This will cause PPP to disconnect if traffic is extremely congested for 600s.
