Maybe this needs to be done via pcie pass-though, but idk how to use that and my board does not seem to support iommu as far as i can tell in the bios, but the NIC i need is connected to my pcie x16 slot that goes to the CPU, so may it can be done? but i am not sure if i even need to do that
i am using iperf to check network performance
Host OS: ubuntu server 22.04 64bit (yes i know this is the dev release right now)
Host is running with a A6-3500 cpu and a GA-A55M-DS2 rev 1.1 motherboard, along with 8GB DDR3 1333 9-9-9-24
Guest OS: pfsense 2.6 64bit
My host has 4 NICs available
enp2s0
onboard Realtek RTL8111/8168/8411
enp1s0f0 (VB NIC1)
PCIe card (WAN; Right/top side)
Intel 82571EB/82571GB
enp1s0f1 (VB NIC2)
PCIe card (LAN; Left/bottom side)
Intel 82571EB/82571GB
enp3s6
PCI card, Intel 82541PI
$ lspci
...
01:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06)
01:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller D0/D1 (copper applications) (rev 06)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
03:06.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05)
here is the VB’s config
$ VBoxManage showvminfo pfsense
Name: pfsense
Groups: /
Guest OS: FreeBSD (64-bit)
UUID: f17b3967-d9c5-462e-b0d3-d11a663d48c2
Config file: /home/chad/VirtualBox VMs/pfsense/pfsense.vbox
Snapshot folder: /home/chad/VirtualBox VMs/pfsense/Snapshots
Log folder: /home/chad/VirtualBox VMs/pfsense/Logs
Hardware UUID: f17b3967-d9c5-462e-b0d3-d11a663d48c2
Memory size: 4096MB
Page Fusion: disabled
VRAM size: 8MB
CPU exec cap: 100%
HPET: disabled
CPUProfile: host
Chipset: piix3
Firmware: BIOS
Number of CPUs: 2
PAE: enabled
Long Mode: enabled
Triple Fault Reset: disabled
APIC: enabled
X2APIC: disabled
Nested VT-x/AMD-V: enabled
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode: message and menu
Boot Device 1: DVD
Boot Device 2: DVD
Boot Device 3: HardDisk
Boot Device 4: Not Assigned
ACPI: enabled
IOAPIC: enabled
BIOS APIC mode: APIC
Time offset: 0ms
RTC: UTC
Hardware Virtualization: enabled
Nested Paging: enabled
Large Pages: disabled
VT-x VPID: enabled
VT-x Unrestricted Exec.: enabled
Paravirt. Provider: KVM
Effective Paravirt. Prov.: KVM
State: running (since 2022-03-12T23:01:38.866000000)
Graphics Controller: VBoxVGA
Monitor count: 1
3D Acceleration: disabled
2D Video Acceleration: disabled
Teleporter Enabled: disabled
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: disabled
Allow Tracing to Access VM: disabled
Tracing Configuration:
Autostart Enabled: disabled
Autostart Delay: 0
Default Frontend:
VM process priority: default
Storage Controller Name (0): SATA Controller
Storage Controller Type (0): IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 30
Storage Controller Port Count (0): 30
Storage Controller Bootable (0): on
SATA Controller (0, 0): /home/chad/VirtualBox VMs/pfsense/pfsense.vdi (UUID: 7fea4722-e33b-4d7f-ad59-1c55c41466ae)
NIC 1: MAC: 08002720924C, Attachment: Bridged Interface 'enp1s0f0', Cable connected: on, Trace: off (file: none), Type: virtio, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 2: MAC: 0800274F933B, Attachment: Bridged Interface 'enp1s0f1', Cable connected: on, Trace: off (file: none), Type: virtio, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
UART 3: disabled
UART 4: disabled
LPT 1: disabled
LPT 2: disabled
Audio: disabled
Audio playback: disabled
Audio capture: disabled
Clipboard Mode: disabled
Drag and drop Mode: disabled
Session name: headless
Video mode: 720x400x0 at 0,0 enabled
VRDE: enabled (Address 0.0.0.0, Ports 3389, MultiConn: off, ReuseSingleConn: off, Authentication type: null)
VRDE port: 3389
Video redirection: disabled
VRDE property : TCP/Ports = "3389"
VRDE property : TCP/Address = <not set>
VRDE property : VideoChannel/Enabled = <not set>
VRDE property : VideoChannel/Quality = <not set>
VRDE property : VideoChannel/DownscaleProtection = <not set>
VRDE property : Client/DisableDisplay = <not set>
VRDE property : Client/DisableInput = <not set>
VRDE property : Client/DisableAudio = <not set>
VRDE property : Client/DisableUSB = <not set>
VRDE property : Client/DisableClipboard = <not set>
VRDE property : Client/DisableUpstreamAudio = <not set>
VRDE property : Client/DisableRDPDR = <not set>
VRDE property : H3DRedirect/Enabled = <not set>
VRDE property : Security/Method = <not set>
VRDE property : Security/ServerCertificate = <not set>
VRDE property : Security/ServerPrivateKey = <not set>
VRDE property : Security/CACertificate = <not set>
VRDE property : Audio/RateCorrectionMode = <not set>
VRDE property : Audio/LogPath = <not set>
OHCI USB: disabled
EHCI USB: disabled
xHCI USB: disabled
USB Device Filters:
<none>
Available remote USB devices:
<none>
Currently Attached USB Devices:
<none>
Bandwidth groups: <none>
Shared folders:<none>
VRDE Connection: not active
Clients so far: 2
Last started: 2022/03/12 23:02:41 UTC
Last ended: 2022/03/12 23:17:32 UTC
Sent: 0Bytes
Average speed: 0B/s
Sent total: 0Bytes
Received: 0Bytes
Speed: 0B/s
Received total: 0Bytes
Capturing: not active
Capture audio: not active
Capture screens: 0
Capture file: /home/chad/VirtualBox VMs/pfsense/pfsense.webm
Capture dimensions: 1024x768
Capture rate: 512kbps
Capture FPS: 25kbps
Capture options:
Guest:
Configured memory balloon size: 0MB
OS type: FreeBSD_64
Additions run level: 0
Guest Facilities:
No active facilities.
I have installed virtualbox-dkms, virtualbox, and virtualbox-ext-pack on the host
Note that the pfsense wan port is not really WAN, that will not happen till everything is configured