The pfSense Store

Author Topic: Virtualized pfsense unable to utilize full speed of internet connection?  (Read 2344 times)

0 Members and 1 Guest are viewing this topic.

Offline ddavis

  • Newbie
  • *
  • Posts: 7
    • View Profile
I've been running pfSense 1.2 under vmware server 2.0 for quite some time with no issues. I recently upgraded my internet connection to 30/5. I also upgraded to pfSense 2.0. For a while I couldn't get past 10 mb download, but I finally realized that had to do with the network card I had configured for WAN. Once that was replaced with a 10/100 card, my speed increased. BUT, I can't seem to get past 20 mb. Utilizing the same hardware under Windows (turning off the vm and having windows directly connect to the cable modem) I can get 30 mb down. I don't have any issues maxing out my upload. I do not have traffic shaping enabled. Processor utilization according to pfSense is usually under 10% and memory usage around 15%. Does anyone have any other ideas?

ravnos_kun

  • Guest
Re: Virtualized pfsense unable to utilize full speed of internet connection?
« Reply #1 on: November 24, 2011, 08:03:26 am »
I did not make any network benchmark in VMs but I guess bridged interfaces should bring best results in this matter, have you tried playing with different interface modes ? Another thing, did you try downloading from inside de VM or from a machine behind the VM ?

Offline ddavis

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Virtualized pfsense unable to utilize full speed of internet connection?
« Reply #2 on: November 25, 2011, 08:34:55 am »
Both interfaces are bridged. The LAN interface is bridged with the network interface of the windows machine. The WAN interface is disabled in Windows and configured solely for use in pfSense. I've run speedtest on a laptop behind the firewall and not gotten the full speed of my connection. When I connect that same laptop directly to my cable modem and run the same speed test, I get the full speed. So it has something to do with my internal network, I'm guessing the firewall.

What other interface modes do you suggest?

ravnos_kun

  • Guest
Re: Virtualized pfsense unable to utilize full speed of internet connection?
« Reply #3 on: November 29, 2011, 07:37:28 am »
Bridged should be fine, you may try doing the same download from inside the VM, so you can narrow down the problem

Offline ddavis

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Virtualized pfsense unable to utilize full speed of internet connection?
« Reply #4 on: November 29, 2011, 08:14:02 am »
Inside of pfSense? I just browse to speedtest.net and run that from a browser on my Windows laptop. Can I run some sort of similar test from pfSense?

ravnos_kun

  • Guest
Re: Virtualized pfsense unable to utilize full speed of internet connection?
« Reply #5 on: November 30, 2011, 04:42:54 pm »
I would try downloading a large file from a good known link, you can use wget to do so, but you must install it first from a shell, here I did this:

Code: [Select]
pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest/wget.tbz

ravnos_kun

  • Guest
Re: Virtualized pfsense unable to utilize full speed of internet connection?
« Reply #6 on: December 01, 2011, 08:09:58 am »
Another thing you can try, you may change the LAN bridged interface to use a loopback adapter instead a network card, if I understood your problem well, It should be something like the one described here:
http://timita.org/wordpress/2011/07/29/protect-your-windows-laptop-with-pfsense-and-virtualbox-part-1-preamble/

take a look at page 5  ;)