bhyve VM not getting as much upload bandwidth as the host

From: Odhiambo Washington <odhiambo_at_gmail.com>
Date: Sun, 13 Aug 2023 16:04:09 UTC
Hello all,

I am still new to virtualization (using bhyve) and wanted to see if I can
get some help towards making headway with certain aspects.

I am running a Debian12 VM under bhyve and I am wondering why it doesn't
get as much upload bandwidth as the main host when I run speedtest:

From inside the VM:

wash@debian12$ speedtest-cli
Retrieving speedtest.net configuration...
Testing from XXXXXX (x.x.x.x)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Zuku (Nairobi) [0.16 km]: 6.798 ms
Testing download
speed................................................................................
Download: 48.31 Mbit/s
Testing upload
speed......................................................................................................
Upload: 0.42 Mbit/s

From the Host:
[16:03 ~ ]$ speedtest-cli
Retrieving speedtest.net configuration...
Testing from XXXXXXXX (x.x.x.x)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Zuku (Nairobi) [0.16 km]: 2.493 ms
Testing download
speed................................................................................
Download: 47.91 Mbit/s
Testing upload
speed......................................................................................................
Upload: 48.38 Mbit/s


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]