Confiugre Interface speed ?

Started by henri9813, January 25, 2025, 12:26:33 PM

Previous topic - Next topic
Hello,

My hypervisor has 2 nics:
- 1x 1Gb/s
- 1x 25Gb/s connected to a switch ( which lead to my upstream ).


I use OPNsense 24.7.12_2-amd64 in a XCP-NG virtual machine which has 4c / 8Gb ram / 50Gb nvme with the guest tools installed.

I use virtio driver.
i attached 2x the 25gb/s link ( 1 for wan, 1 for the local VLAN ).


The interface link speed seems to be "manually configured", but to which value ?

xn1: flags=1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 9000
description: LAN (opt9)
options=503<RXCSUM,TXCSUM,TSO4,LRO>
ether 7a:10:c4:65:82:ca
inet6 fe80::7810:c4ff:fe65:82ca%xn1 prefixlen 64 scopeid 0x6
media: Ethernet manual
status: active
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

Of course, i did'nt configure anything.

I want to be sure the link speed is to 25Gb/s.

I run a iperf on 127.0.0.1, it's seems to be the case, but i want to be sure.



Thanks !

Quote from: henri9813 on January 25, 2025, 12:26:33 PMI use virtio driver.
That does not match your ifconfig output. If that were the case the interfaces would be named vtnet0 and vtnet1, respectively. Is this Xen paravirtualisation? You should probably read the manpage of the xnb(4) driver, then, specifically the CAVEATS section.

Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Hello,

Indeed, my virtual machine is currently in Hardware virtualization with paravirtualization drivers enabled (PVHVM).

Crap, i'm wrong i'm using RTL8139. sorry