Chelsio T520 not working as WAN interface
-
I think you're onto something. This is messed up!!! On igb0 I can send pings as high as 1460 bytes. On cxl0 it craps out somewhere around 100-120.
Using ppoe0 on cxl0 MTU 1492
[2.4.4-RELEASE][admin@pfSense.localdomain]/root: ping -c 1 -D -s 1500 4.2.2.1 PING 4.2.2.1 (4.2.2.1): 1500 data bytes 36 bytes from localhost (127.0.0.1): frag needed and DF set (MTU 1492) Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 05f8 0000 0 0000 40 01 2f03 64.229.252.100 4.2.2.1 ^C --- 4.2.2.1 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss [2.4.4-RELEASE][admin@pfSense.localdomain]/root: ping -c 1 -D -s 1460 4.2.2.1 PING 4.2.2.1 (4.2.2.1): 1460 data bytes ^C --- 4.2.2.1 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss [2.4.4-RELEASE][admin@pfSense.localdomain]/root: ping -c 1 -D -s 100 4.2.2.1 PING 4.2.2.1 (4.2.2.1): 100 data bytes 108 bytes from 4.2.2.1: icmp_seq=0 ttl=57 time=15.933 ms --- 4.2.2.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 15.933/15.933/15.933/0.000 ms [2.4.4-RELEASE][admin@pfSense.localdomain]/root: ping -c 1 -D -s 120 4.2.2.1 PING 4.2.2.1 (4.2.2.1): 120 data bytes ^C --- 4.2.2.1 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss
Using pppoe0 on igb0 MTU 1492
[2.4.4-RELEASE][admin@pfSense.localdomain]/root: ping -c 1 -D -s 1500 4.2.2.1 PING 4.2.2.1 (4.2.2.1): 1500 data bytes 36 bytes from localhost (127.0.0.1): frag needed and DF set (MTU 1492) Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 05f8 0000 0 0000 40 01 2f03 142.113.146.2 4.2.2.1 ^C --- 4.2.2.1 ping statistics --- 1 packets transmitted, 0 packets received, 100.0% packet loss [2.4.4-RELEASE][admin@pfSense.localdomain]/root: ping -c 1 -D -s 1460 4.2.2.1 PING 4.2.2.1 (4.2.2.1): 1460 data bytes 1468 bytes from 4.2.2.1: icmp_seq=0 ttl=51 time=17.066 ms --- 4.2.2.1 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 17.066/17.066/17.066/0.000 ms
-
Ok, well that's good and bad I guess.
Check the
ifconfig -a
output. What's the MTU on the cxl interface?Steve
-
MTU on the cxl interface is 1500 and the PPPoE interface is 1492. Did a bit more testing. The specific point where it drops out is 117(145) bytes of data. ping -s 116 works but no higher.
-
Just tried pfsense 2.4.3 which has a slightly older cxgbe driver and firmware. No change :( Also tried forcing PCIe Gen3 link in the BIOS which fixed a vaguely similar issue for someone else, no luck. I did confirm the card was already linking at PCIe 3.0 x8 to begin with.
-
Popped in a Myricom 10G card and it works fine. Seems clear that there is a problem with the FreeBSD Chelsio drivers when used with PPPoE. Chelsio card works fine in Ubuntu, Myricom card works fine in FreeBSD.
Any thoughts on next steps?
-
@mikenemat said in Chelsio T520 not working as WAN interface:
Any thoughts on next steps?
Contact the FreeBSD developers.
-
@grimson said in Chelsio T520 not working as WAN interface:
@mikenemat said in Chelsio T520 not working as WAN interface:
Any thoughts on next steps?
Contact the FreeBSD developers.
Hoping to find some obscure explanation and workaround for the problem. Really struggling to accept that this is a driver bug, despite all signs pointing to it. I can't find anyone else who's run into this problem. This is the Netgate recommended 10GB NIC for Pfsense so you'd think if it is a problem with the driver, it would be widespread. PPPoE is common with many FTTH providers.
-
@mikenemat said in Chelsio T520 not working as WAN interface:
PPPoE is common with many FTTH providers.
Maybe in your area, but not on a global scale. And certainly not with 10GB.
-
Replaced the T520 with an Intel X520-DA2. Worked perfectly the first time. Chelsio = garbage.
-
It's certainly very unusual to be using a 10G card of any type for PPPoE. Do you really have a >1Gbps connection using that?
You could well be the only person using it in which case any bugs that might exist for that combination simply may not have been discovered, until now.
The next step here would be to test it with FreeBSD 11.2 and if it fails there report it upstream.
Steve
-
Yep. I really am :) Bell Canada's new 1.5gbps FTTH service works over PPPoE. Apparently this is very common in Japan as well. Their supplied equipment links a SFP GPON module at 2.5gbps. However, their supplied equipment is junk and aside from many other issues, the only way to reach 1.5gbps is to use the wired 1gbps LAN interface and the wireless interface simultaneously, since it is not a 10G appliance. This is not ideal.
So in order to move past this, I'm using a ubiquiti ES-16-XG to link the SFP GPON module. The ES-16-XG is one of the rare pieces of hardware to support linking a SFP module at 2.5gbps. I've configured it to strip the VLAN tag (35), and pass it to pfsense over a proper 10G link. At that point, I'm able to establish a PPPoE session and utilize the full 1.5gbps over a 10G LAN interface.
Forgive my frustration - this issue has been a nightmare to troubleshoot and my appetite for taking down my internet connection for hours at a time (which I use for business as well) is dwindling. I'm going to resell the Chelsio card to someone who hopefully has a more conventional use case. The Intel X520-DA2 has been working flawlessly for over 24 hours now. I think I prefer the Intel card anyways, much less firmware-driven magic going on.
-
I understand. Interesting use case.
Steve
-
We are seeing a similar issue but not related with pppoe.
Hardware:
supermicro h2sdi-4c-ln4f
chelsio T520-SO-CFWAN on the chelsio seems to work ok in our case via DAC on 10G.
If we dial in via ipsec the ipsec connection is established but partly blocked.
So we can ping the pfsense lan interface and other devices on the LAN but not reach the webinterfaces etc.Switching the WAN from the chelsio to the onboard intel RJ45 solves the problem.
pfsense 2.4.4p2
Same issue on two identical hardware setups.
After pfctl -d access was possible but ipsec allow any rule was present.
-
Hmm, if you're coming over IPSec then it's not a TCP off-loading issue. Perhaps an MTU issue though. Try setting enabling mss clamping on IPSec.
Steve
-
@stephenw10 said in Chelsio T520 not working as WAN interface:
Perhaps an MTU issue though. Try setting enabling mss clamping on IPSec.
SteveWe are not onsite today but I will check MTU settings.
The strange thing is, that disabling pf resolved the issue with blocking access. This shouldn't change MTU settings?
Are you guessing it is MTU related because ping works and probably bigger packets are blocked/dropped?edit: MTU on cxl (chelsio 10G) and ix (intel 1G) are on 1500 but enc0 is on 1536.
-
Yes large packets would be my first thought. Disabling pf wouldn't affect that though.
However it does disable pf-scrub. Perhaps you have packet fragments that are not being assembled correctly. Maybe the Chelsio card is doing something with them, it has all sorts of offloading hardware that we don't use.You can disable pfscrub separately in System > Advanced > Firewall & NAT.
Steve
-
Hello I am having a very similar issue! I have a chelsio t404-bt and I am using Centurylink. Which WAN tags vlan201 and pppoe. This setup worked fine with 2 intel nics. Now with the chelsio card I get an WAN IP and I can traceroute from pfsense out but I have no internet on my devices.
Any solution to this?
-
Do you have other connectivity from pfSense itself? Can it check for updates or install packages for example?
If so it's a different issue. Probably no NAT.
Steve
-
@stephenw10 no I cannot get a list of packages either on pfsense
-
Ok so you can ping out though?
Try pinging out with large packets:
ping -s 1000 -c 3 1.1.1.1
Try different sized packets to see if you really are seeing an MTU issue.
Steve
-