CWWK Intel-N100 MiniPC (Intel i226-v): wrong speed on ETH1-Port

XXXBold

New Member
May 29, 2024
1
0
1
Hi

I have e issues with the network config on the ETH1-Port (The Device has 4 ports, 0..3). This is my device: https://cwwk.net/products/12th-gen-...-4800mhz-4xi226-v-2-5g?variant=44614005555432

I haven't setup anything unusual afaik, here's my proxmox network config:
Bildschirmfoto vom 2024-05-29 11-12-38.png

I've tried different cables (the same that work on 2.5G on other ports), so that's not an issue.

Here's the output of ethtool:

Code:
ethtool enp2s0 (ETH0 port, This is a LAN port (management of proxmox), which is configured to fullspeed (connected to 2.5G USB-Adapter))
Settings for enp2s0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 2500Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        MDI-X: off (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
        
ethtool enp3s0 (ETH1 port, This is a LAN port, which is configured to 100M (connected to 2.5G USB-Adapter))
Settings for enp3s0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        MDI-X: off (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
        
ethtool enp4s0 (ETH2 port, This is a LAN port, which is configured to fullspeed (connected to 2.5G USB-Adapter))
Settings for enp4s0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 2500Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        MDI-X: off (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
        
ETH3 is passed through to a opnSense VM (WAN-Port) on a 1G connection which seems to work.

How can I get ETH1 to work at fullspeed/1G too? I've tried https://www.shellhacks.com/change-speed-duplex-ethernet-card-linux/ but it doesn't have an effect.

Thanks & Regards,
XXXBold
 
Did you find a solution? I have very similar CWWK hardware and see port #3 negotiating 1gbps on boot and then over time falling back to 10mbps. The cable is 25cm long, so I am not suspecting any interferences. The issue doesn't seem to happen with other ports (passed through to a pfsense VM). It only happens on the bridged port.

Code:
[39713.374795] igc 0000:05:00.0 enp5s0: NIC Link is Down
[39713.376819] vmbr1: port 1(enp5s0.62) entered disabled state
[39713.376959] vmbr0: port 1(enp5s0.63) entered disabled state
[39719.659812] igc 0000:05:00.0 enp5s0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[39719.763699] vmbr1: port 1(enp5s0.62) entered blocking state
[39719.763704] vmbr1: port 1(enp5s0.62) entered forwarding state
[39719.763738] vmbr0: port 1(enp5s0.63) entered blocking state
[39719.763740] vmbr0: port 1(enp5s0.63) entered forwarding state
[39726.971202] igc 0000:05:00.0 enp5s0: NIC Link is Down
[39726.971340] vmbr1: port 1(enp5s0.62) entered disabled state
[39726.971403] vmbr0: port 1(enp5s0.63) entered disabled state
[39738.832148] igc 0000:05:00.0 enp5s0: NIC Link is Up 10 Mbps Half Duplex, Flow Control: None
[39738.832405] vmbr1: port 1(enp5s0.62) entered blocking state
[39738.832408] vmbr1: port 1(enp5s0.62) entered forwarding state
[39738.832444] vmbr0: port 1(enp5s0.63) entered blocking state
[39738.832446] vmbr0: port 1(enp5s0.63) entered forwarding state

Tried replacing the cable, didn't help. Plugged into a different switch port, also didn't help. Now my only variables are proxmox and the actual hardware.
 
i226-v NICs are buggy. I spent quite a lot of time trying to get one to work with a unifi pro max 2.5Gbps port and couldn't find a solution. I ended up replacing it with a Realtek 2.5Gbps that required a little fiddling but it just works now.
 
Funny, I spent months trying to get realtek nics working (eg with pfsense), then went to intel i226v’s and they were super reliable so far. I read issues were with v1-v3 nics only (i225’s)…
Anyway, I now set auto nego off and all probelms went away. I did test it extensively today with massive transfers, no throughput issues either, so can’t explain the nego failures. Strange.