News: This forum is now permanently frozen.
Pages: [1]
Topic: Slow IPSec - can it be problem with NIC  (Read 3067 times)
« on: January 03, 2012, 10:38:43 »
bernikm *
Posts: 7

Hi

We're dealing with a problem of slow throughput between two dislocated units both running m0n0wall on Intel CPU P4 1.6 Ghz 256 RAM with 50/50 internet connection.
The problem is, that under IPSec the maximum throughput is 1.5 - 3 Mb/s. Bypassing m0n0wall throughput is normal.
The only thing I can think of is NIC. Both servers have 1 onboard 10/100 NIC (used for LAN) and 1 PCI NIC used for WAN. Since IPSec is dealing with traffic on PCI NIC I'm wondering if this could be a problem with throughput ? Can PCI NIC card (oridinary 10$ NIC for home computer) be pain in the ass :-)?
Looking for performance charts on both m0n0wall server there is no high CPU or memory during VPN connection.
Regards,
Miha

« Reply #1 on: January 03, 2012, 18:30:20 »
iridris ***
Posts: 145

Under 'Advanced' settings page, perhaps try changing the 'Use device polling' and/or 'Allow fragmented IPsec packets'.

I'm assuming you don't have any throughput issues on normal, non-IPsec connections?
« Reply #2 on: January 04, 2012, 08:24:37 »
bernikm *
Posts: 7

Thanks. We'll give it a try.
Yes' you're right, we don't have any throughput issues on non-IPsec connections. I'm 100% sure it's an IPsec problem

Regards,
Miha
« Reply #3 on: January 04, 2012, 17:56:46 »
iridris ***
Posts: 145

You may also want to try playing with various IPsec settings - such as the encryption method and main/aggressive mode.
« Reply #4 on: January 06, 2012, 14:10:05 »
bernikm *
Posts: 7

Hi iridris !

Allow fragmented IPsec packets are already enabled.
Settings like encryption method and main/aggressive mode have also been set to minimum.
But when enabling use device pooling system stops responding. After a while, we figured it out that WAN NIC doesn't support device pooling.
Do you think this could be the problem? Maybe replacing NICs for ones that support device polling will solve IPsec throughput problem?

« Reply #5 on: January 09, 2012, 18:11:35 »
iridris ***
Posts: 145

You could try replacing that NIC. You might also want to try swapping the LAN/WAN NICs and see if that helps any as well.

What NICs are they anyway?
« Reply #6 on: January 10, 2012, 12:01:32 »
bernikm *
Posts: 7

Thanks for answer.
WAN NICs are Realtek RTL8100C
LAN NICs are onboard from an old HP desktop.
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines