Date: Fri, 12 May 2023 06:22:46 +0200 From: Mark Tinka <mark@tinka.africa> To: freebsd-questions@freebsd.org Subject: BPF Issue Preventing IS-IS Adjacencies in FRR from Forming Message-ID: <d78516d6-567f-cb3e-def7-359d068421e1@tinka.africa>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------RcXpzuh0s1uDBj0Qv3CTTVkh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi all. I have "frr8-8.5.1_1" installed on 13.2-RELEASE. I'm trying to get IS-IS to start and talk to a Cisco router on the side. However, it complains about the BPF buffer length only being 4,096 bytes long, since I am running Jumbo frames on all interfaces: 2023/03/31 07:12:01 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP 2023/03/31 07:12:01 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP 2023/03/31 07:12:01 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP 2023/03/31 07:12:01 ISIS: [YDRGH-0DJ94] Opened BPF device /dev/bpf0 2023/03/31 07:12:01 ISIS: [QJWNQ-3FFKM] BPF buffer len = 4096 2023/03/31 07:12:01 ISIS: [V3AHD-XE2Z5] failed to set BPF buffer len (4096 to 9000) 2023/03/31 07:12:01 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/03/31 07:12:01 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/03/31 07:12:04 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/03/31 07:12:04 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/03/31 07:12:07 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/03/31 07:12:07 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed I updated "/etc/sysctl.conf" to bump it to 9,000 bytes, and the complaint goes away. However, the system still complains of I/O issues for IS-IS: 2023/05/11 16:58:24 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/05/11 16:58:24 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/05/11 16:58:24 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP 2023/05/11 16:58:24 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP 2023/05/11 16:58:24 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP 2023/05/11 16:58:24 ISIS: [YDRGH-0DJ94] Opened BPF device /dev/bpf0 2023/05/11 16:58:24 ISIS: [QJWNQ-3FFKM] BPF buffer len = 9000 2023/05/11 16:58:24 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/05/11 16:58:24 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/05/11 16:58:27 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/05/11 16:58:27 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/05/11 16:58:30 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/05/11 16:58:30 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/05/11 16:58:33 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/05/11 16:58:33 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed 2023/05/11 16:58:36 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error 2023/05/11 16:58:36 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed I've been working with the FRR and NANOG lists and developers on this since 2020, as per below: https://seclists.org/nanog/2020/Apr/226 The FRR team indicate that this issue does not exist on Linux; only on FreeBSD. Grateful if anyone can point me in the right direction on how to deal with this, as it appears to be unique to FreeBSD. Thanks. Mark. --------------RcXpzuh0s1uDBj0Qv3CTTVkh Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <font face="Tahoma">Hi all.<br> <br> I have "frr8-8.5.1_1" installed on 13.2-RELEASE. I'm trying to get IS-IS to start and talk to a Cisco router on the side. However, it complains about the BPF buffer length only being 4,096 bytes long, since I am running Jumbo frames on all interfaces:<br> </font><br> <font face="Tahoma"><font face="Tahoma">2023/03/31 07:12:01 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP<br> 2023/03/31 07:12:01 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP<br> 2023/03/31 07:12:01 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP<br> 2023/03/31 07:12:01 ISIS: [YDRGH-0DJ94] Opened BPF device /dev/bpf0<br> 2023/03/31 07:12:01 ISIS: [QJWNQ-3FFKM] BPF buffer len = 4096<br> 2023/03/31 07:12:01 ISIS: [V3AHD-XE2Z5] failed to set BPF buffer len (4096 to 9000)<br> 2023/03/31 07:12:01 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error<br> 2023/03/31 07:12:01 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed<br> 2023/03/31 07:12:04 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error<br> 2023/03/31 07:12:04 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed<br> 2023/03/31 07:12:07 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error<br> 2023/03/31 07:12:07 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed<br> <br> </font>I updated "/etc/sysctl.conf" to bump it to 9,000 bytes, and the complaint goes away. However, the system still complains of I/O issues for IS-IS:<br> <br> 2023/05/11 16:58:24 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error<br> 2023/05/11 16:58:24 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed<br> 2023/05/11 16:58:24 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP<br> 2023/05/11 16:58:24 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP<br> 2023/05/11 16:58:24 ISIS: [WDVAD-TY6HY] ISIS-LFA: failed to unregister RLFA with LDP<br> 2023/05/11 16:58:24 ISIS: [YDRGH-0DJ94] Opened BPF device /dev/bpf0<br> 2023/05/11 16:58:24 ISIS: [QJWNQ-3FFKM] BPF buffer len = 9000<br> 2023/05/11 16:58:24 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error<br> 2023/05/11 16:58:24 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed<br> 2023/05/11 16:58:27 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error<br> 2023/05/11 16:58:27 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed<br> 2023/05/11 16:58:30 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error<br> 2023/05/11 16:58:30 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed<br> 2023/05/11 16:58:33 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error<br> 2023/05/11 16:58:33 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed<br> 2023/05/11 16:58:36 ISIS: [W02G1-H56T1] IS-IS bpf: could not transmit packet on em0: Input/output error<br> 2023/05/11 16:58:36 ISIS: [G7ZA5-AT06A][EC 67108865] ISIS-Adj (1): Send L2 IIH on em0 failed<br> <br> I've been working with the FRR and NANOG lists and developers on this since 2020, as per below:<br> <br> <a class="moz-txt-link-freetext" href="https://seclists.org/nanog/2020/Apr/226">https://seclists.org/nanog/2020/Apr/226</a><br> <br> The FRR team indicate that this issue does not exist on Linux; only on FreeBSD.<br> <br> Grateful if anyone can point me in the right direction on how to deal with this, as it appears to be unique to FreeBSD. Thanks.<br> <br> Mark.<br> </font> </body> </html> --------------RcXpzuh0s1uDBj0Qv3CTTVkh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d78516d6-567f-cb3e-def7-359d068421e1>