realganfan / r8125-esxi

Realtek RTL8125 driver for ESXi 6.7
GNU General Public License v3.0
203 stars 67 forks source link

VLAN not working, untagged traffic works #7

Open spaceman83 opened 3 years ago

spaceman83 commented 3 years ago

Hardware: GB-BRR7-4800 (https://www.gigabyte.com/Mini-PcBarebone/GB-BRR7-4800-rev-10#kf) I've installed esxi6.7 with your vib driver and can get link up to 2.5Gbps untagged traffic works, tagged traffic is not seen by the network adapter

[root@localhost:~] esxcli network nic list Name PCI Device Driver Admin Status Link Status Speed Duplex MAC Address MTU Description


vmnic0 0000:02:00.0 r8125 Up Up 1000 Full 18:c0:4d:8c:7f:34 1500 Realtek Semiconductor Co., Ltd. Ethernet controller vusb0 Pseudo uether Up Down 0 Half 00:e0:4c:68:00:84 1500 Realtek USB 101001G2.5G LAN

using pktcap-uw --uplink vusb0 --vlan 300 shows I'm getting packets when cable is attached to vusb0 nic, but no incoming packets are seen on vmnic0

I've some suggestions to say that vlan egress is working (since vmware host's nic shows up in arp table when attached to builtin nic) but haven't looked into it further

Can anyone else replicate or mitigate?

spaceman83 commented 3 years ago

Further troubleshooting now when I have two of them. Vlan traffic seems to arrive on ingress, but tags are stripped. Comparing the same traffic on two different nics:

image

Is this a hardware limitation on the 8125 or something in the driver?

lengfwong commented 3 years ago

same too.

Joppefin commented 2 years ago

still the situation with 9.007.01-1 and Asus PN51

Joppefin commented 2 years ago

I've some suggestions to say that vlan egress is working (since vmware host's nic shows up in arp table when attached to builtin nic) but haven't looked into it further

Can anyone else replicate or mitigate?

I can confirm that. I see recurring ARP-requests coming from VM to my router and router correctly answering them, but responses never reaches VM.

guidabrito commented 2 years ago

Yes I also have the GB-BRR7-4800 with the same problem :(

IdefixRC commented 2 years ago

Any chance to get the VLANs working? Thanks !

Plutoniumn commented 2 years ago

Hopefully... I'm also waiting for it.

mcr-ksh commented 1 year ago

+1

evant89 commented 1 year ago

Some update? Plans for fixing it?

mcr-ksh commented 1 year ago

I can confirm I got VLANs running by now. I will clone and upload a feature release as I rewrote the driver to a big extend. However, I'm still fighting with networks drop from issue #13

mcr-ksh commented 1 year ago

https://github.com/mcr-ksh/r8125-esxi/releases/tag/net-r8125-9.011.00