I noticed in WireShark analyzer that RB133 with RouterOS 3.23 sends CDP packets with incorrect checksum. Is it by design or just a bug? Could be a bug in WireShark 1.0.7. parser too…
I think it is easy to replicate this situation; I noticed checksum problem when I was looking for something else.
Packet detail, notice line with “Checksum: 0x4333 [incorrect, should be 0xadc8]”.
No. Time Source Destination Protocol Info
58 43.927069 Routerbo_22:d3:2a CDP/VTP/DTP/PAgP/UDLD CDP Device
ID: MikroTik
Frame 58 (83 bytes on wire, 83 bytes captured)
Arrival Time: Apr 27, 2009 22:31:53.682448000
[Time delta from previous captured frame: 0.000311000 seconds]
[Time delta from previous displayed frame: 0.000311000 seconds]
[Time since reference or first frame: 43.927069000 seconds]
Frame Number: 58
Frame Length: 83 bytes
Capture Length: 83 bytes
[Frame is marked: False]
[Protocols in frame: eth:llc:cdp:data]
[Coloring Rule Name: Checksum Errors]
[Coloring Rule String: cdp.checksum_bad==1 || edp.checksum_bad==1 || ip.chec
ksum_bad==1 || tcp.checksum_bad==1 || udp.checksum_bad==1]
IEEE 802.3 Ethernet
Destination: CDP/VTP/DTP/PAgP/UDLD (01:00:0c:cc:cc:cc)
Address: CDP/VTP/DTP/PAgP/UDLD (01:00:0c:cc:cc:cc)
… …1 … … … … = IG bit: Group address (multicast/broadca
st)
… ..0. … … … … = LG bit: Globally unique address (factory
default)
Source: Routerbo_22:d3:2a (00:0c:42:22:d3:2a)
Address: Routerbo_22:d3:2a (00:0c:42:22:d3:2a)
… …0 … … … … = IG bit: Individual address (unicast)
… ..0. … … … … = LG bit: Globally unique address (factory
default)
Length: 69
Logical-Link Control
DSAP: SNAP (0xaa)
IG Bit: Individual
SSAP: SNAP (0xaa)
CR Bit: Command
Control field: U, func=UI (0x03)
000. 00.. = Command: Unnumbered Information (0x00)
… ..11 = Frame type: Unnumbered frame (0x03)
Organization Code: Cisco (0x00000c)
PID: CDP (0x2000)
Cisco Discovery Protocol
Version: 1
TTL: 120 seconds
Checksum: 0x4333 [incorrect, should be 0xadc8]
[Good: False]
[Bad : True]
Device ID: MikroTik
Type: Device ID (0x0001)
Length: 12
Device ID: MikroTik
Addresses
Type: Addresses (0x0002)
Length: 17
Number of addresses: 1
IP address: 192.168.222.134
Protocol type: NLPID
Protocol length: 1
Protocol: IP
Address length: 4
IP address: 192.168.222.134
Capabilities
Type: Capabilities (0x0004)
Length: 8
Capabilities: 0x00000001
… … … … … … … …1 = Is a Router
… … … … … … … ..0. = Not a Transparent Bridge
… … … … … … … .0.. = Not a Source Route Bridge
… … … … … … … 0… = Not a Switch
… … … … … … …0 … = Not a Host
… … … … … … ..0. … = Not IGMP capable
… … … … … … .0.. … = Not a Repeater
Software Version
Type: Software version (0x0005)
Length: 8
Software Version: 3.23
Platform: MikroTik
Type: Platform (0x0006)
Length: 12
Platform: MikroTik