OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • [SOLVED]Internet Bandwidth Issues with WAN traffic (Opnsense and VirtualBox)
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED]Internet Bandwidth Issues with WAN traffic (Opnsense and VirtualBox)  (Read 4238 times)

kshetye

  • Newbie
  • *
  • Posts: 2
  • Karma: 1
    • View Profile
[SOLVED]Internet Bandwidth Issues with WAN traffic (Opnsense and VirtualBox)
« on: September 28, 2017, 10:32:04 am »
Hello people!

I recently setup an opnsense system (using an old Dell Optiplex 755 with HP NC364T Quadport NIC).

Here's the Setup:

ISP Router (Assigns DHCP 192.168.x.x to PF Sense WAN)
|
|
|-------DELL Optiplex (runs Ubuntu Server 17.04 with 4GB RAM, VirtualBox headless)
      |
      |
      |-------> VM1 - Opnsense (Opnsense 17.x, 1GB Memory)
      |      |
      |      |
      |      |---> Adapter 1 uses NIC#1 (Opnsense WAN) - Bridged Adapter (Intel PRO/1000 T Server 82543GC)
      |      |---> Adapter 2 uses NIC#2 (Opnsense LAN) - Bridged Adapter (Intel PRO/1000 T Server 82543GC)
      |         |
      |         |
      |         |---> Wifi Access Point 1
      |         |---> Wifi Access Point 2
      |
      |
      |-------> VM2 - Apps (Ubunt Server 17.04, 1.5GB Memory and has virtualbox guest addons installed)
            |
            |
            |---> Adapter 2 uses NIC#2 (Opnsense LAN) - Bridged Adapter (Intel PRO/1000 T Server 82543GC)

The problem that I'm facing is that (although the network adapters are all Gigabit) my internet speeds seem to be limited on VM2.

I get between 40-50% of my internet bandwidth on VM2 but if I change the network adapter on VM2 to NAT (skipping opnsense and hooking onto the Dell Optiplex directly), I get 100% of my internet bandwidth (I tested the bandwidth by using wget to download a big iso file).

So the problem seems to be with some sort of throttling with the data going through opnsense.

Note: I don't have traffic shaping enabled on opnsense.
« Last Edit: October 03, 2017, 08:21:04 am by kshetye »
Logged

kshetye

  • Newbie
  • *
  • Posts: 2
  • Karma: 1
    • View Profile
Re: Internet Bandwidth Issues with WAN traffic (Opnsense and VirtualBox)
« Reply #1 on: October 03, 2017, 08:20:51 am »
UPDATE:
I upgraded to the latest opnsense which is based off FreeBSD 11.1 but the issue, remains.

The solution for my problem was to disable nested paging under VM -> System -> Acceleration, after which the I could use 100% of my bandwidth.
 
Logged

jschellevis

  • Administrator
  • Full Member
  • *****
  • Posts: 155
  • Karma: 37
    • View Profile
Re: [SOLVED]Internet Bandwidth Issues with WAN traffic (Opnsense and VirtualBox)
« Reply #2 on: October 03, 2017, 08:41:16 am »
Thanks for reporting back!
Sure someone else will find this post with similar issues and may get it fixed too.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • [SOLVED]Internet Bandwidth Issues with WAN traffic (Opnsense and VirtualBox)
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2