Does wireshark support decoding of BGP Next Hop Dependent Characteristics Attribute (NHC) and Next-next Hop Nodes (NNHN) characteristic inside NHC attribute?

asked Apr 30 '26

Does wireshark support decoding of BGP Next Hop Dependent Characteristics Attribute (NHC) and Next-next Hop Nodes (NNHN) characteristic inside NHC attribute?

Comments

The ietf draft (BGP Next-next Hop Nodes) has expired. Do you have more information on the proposal?
Can you provide a sample capture with these new attributes?

User 2763 ( Apr 30 '26 )

This is a sample packet that has the NHC attribute:

0000  00 18 23 23 14 04 00 18 23 6E 5E BC 86 DD 6C 09 
0010  DD 09 00 8C 06 01 FE 80 00 00 00 00 00 00 02 18 
0020  23 FF FE 6E 5E BC FE 80 00 00 00 00 00 00 02 18 
0030  23 FF FE 23 14 04 00 B3 CC CA A6 08 12 65 BD 58 
0040  8A 88 50 18 00 20 9B A7 00 00 FF FF FF FF FF FF 
0050  FF FF FF FF FF FF FF FF FF FF 00 78 02 00 00 00 
0060  61 40 01 01 02 40 02 0A 02 02 00 01 86 A2 00 01 
0070  86 A3 C0 27 20 00 02 01 10 FE 80 00 00 00 00 00 
0080  00 02 18 23 FF FE 6E 5E BC 00 02 00 08 02 02 02 
0090  02 03 03 03 03 90 0E 00 29 00 01 01 20 FE 80 00 
00a0  00 00 00 00 00 02 18 23 FF FE 6E 5E BC FE 80 00 
00b0  00 00 00 00 00 02 18 23 FF FE 6E 5E BC 00 18 53 
00c0  53 53

(Save packet as ask37949.txt, then run text2pcap -F pcap ask37949.txt ask37949.pcap)

The NHC attribute is:

c0 27 20 00 02 01 10 fe 80 00 00 00 00 00 00 02 18 23 ff fe 6e 5e bc 00 02 00 08 02 02 02 02 03 03 03 03

Decoding looks like this:

Path Attribute - BGP Next Hop Dependent Capabilities
Flags: 0xc0, Optional, Transitive, Complete
Type Code: BGP Next Hop Dependent Capabilities (39)
Length: 32
Unknown Path attributes

But the NNHN characteristic is not decoded here. It says 'Unknown Path attributes'

User 7119 ( May 14 '26 )

Thank you for the capture. Do you have any information on the RFC/standard to decode the field?

User 2763 ( May 14 '26 )

Ok. Those are expired drafts but maybe good enough to extend the dissector to handle them.
Please open an enhancement request in the Wireshark work items on Gitlab.

User 2763 ( May 15 '26 )