Duplex mismatch with vmx3 pfsense 2.2.2 esxi 6 build 2615704
-
So playing around with enabling cdp and lldp on esxi and devices, I got cdp enabled on esxi host, and found the package for pfsense LADVD in the package list.
But seems running into a bit of an issue with the vmx nic in pfsense showing duplex mismatch, it shows half
26-Apr-2015 05:12:30 %CDP-W-DUPLEX_MISMATCH: Duplex mismatch detected on interface gi3.
26-Apr-2015 05:16:30 %CDP-W-DUPLEX_MISMATCH: Duplex mismatch detected on interface gi2.
26-Apr-2015 05:17:30 %CDP-W-DUPLEX_MISMATCH: Duplex mismatch detected on interface gi3.
26-Apr-2015 05:21:30 %CDP-W-DUPLEX_MISMATCH: Duplex mismatch detected on interface gi2.Not sure if this is valid or if just an issue with the native driver in pfsense for vmx3 not really showing the speed and duplex of the vnic..
vmx1: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
options=60009b <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum,rxcsum_ipv6,txcsum_ipv6>ether 00:50:56:00:00:02
inet6 fe80::250:56ff:fe00:2%vmx1 prefixlen 64 scopeid 0x2
inet 192.168.1.253 netmask 0xffffff00 broadcast 192.168.1.255
inet6 2001:470:1f11:9c4::1 prefixlen 64
nd6 options=21 <performnud,auto_linklocal>media: Ethernet autoselect
status: activesho cdp neighbors detail
–-------------------------------------------
Device-ID: pfSense.local.lan
Advertisement version: 2
Platform: FreeBSD 10.1-RELEASE-p9 amd64
Capabilities: Router
Interface: gi2, Port ID (outgoing port): vmx1
Holdtime: 160
Version: FreeBSD 10.1-RELEASE-p9 #0 57b23e7(releng/10.1)-dirty: Mon Apr 13 20:30:25 CDT 2015 root@pfs22-amd64-builder:/usr/obj.amd64/usr/pfSensesrc/src/sys/pfSense_S
Duplex: half
MTU: 1500
SysName: pfSense.local.lan
SysObjectID: 0.0
Addresses:
IP 192.168.1.253But checking the physical nics they show fine at 1000 full.. I think it just might be issue with not being able to see actual speed which should be 10g using this native driver for vmx3 that is built in now.
edit:
So I brought up another vm and installed the native vmtools, to get network working with native you have to ifconfig -rxcsum -txcsum which is fine for this test.. So now in the gui shows 10Gbase-T, and from ifconfig shows
vmx3f0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
options=38 <vlan_mtu,vlan_hwtagging,jumbo_mtu>ether 00:0c:29:3b:8c:d9
inet6 fe80::20c:29ff:fe3b:8cd9%vmx3f0 prefixlen 64 scopeid 0x1
inet 192.168.3.107 netmask 0xffffff00 broadcast 192.168.3.255
nd6 options=23 <performnud,accept_rtadv,auto_linklocal>media: Ethernet 10Gbase-T
status: activeBut cdp still showing half duplex for the vnic.. I don't know if this is bug in the package or not able to via the actual duplex so it says half?
–-------------------------------------------
Device-ID: pfSense.localdomain
Advertisement version: 2
Platform: FreeBSD 10.1-RELEASE-p9 amd64
Capabilities: Router
Interface: gi2, Port ID (outgoing port): vmx3f1
Holdtime: 158
Version: FreeBSD 10.1-RELEASE-p9 #0 57b23e7(releng/10.1)-dirty: Mon Apr 13 20:30:25 CDT 2015 root@pfs22-amd64-builder:/usr/obj.amd64/usr/pfSensesrc/src/sys/pfSense_S
Duplex: half
MTU: 1500
SysName: pfSense.localdomain
SysObjectID: 0.0
Physical Location: native tools
Addresses:
IP 192.168.1.1Now on linux with ethtool shows full duplex at 10g
ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 1000baseT/Full
10000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
** Speed: 10000Mb/s
Duplex: Full**
Port: Twisted PairI install ladvd on linux and shows full duplex
Device-ID: ubuntu.local.lan
Advertisement version: 2
Platform: Ubuntu 14.04.2 LTS Linux i686
Capabilities: Host
Interface: gi2, Port ID (outgoing port): eth0
Holdtime: 167
Version: Ubuntu 14.04.2 LTS Linux 3.13.0-49-generic #83-Ubuntu SMP Fri Apr 10 20:14:51 UTC 2015 i686
Duplex: full
MTU: 1500
SysName: ubuntu.local.lan
SysObjectID: 0.0
Addresses:
IP 192.168.1.7</performnud,accept_rtadv,auto_linklocal></vlan_mtu,vlan_hwtagging,jumbo_mtu></up,broadcast,running,simplex,multicast></performnud,auto_linklocal></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum,rxcsum_ipv6,txcsum_ipv6></up,broadcast,running,simplex,multicast>