Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

0

Switch Resets from ODL Controller (OpenFlow 1.3 Debug)

asked 2015-05-19 09:20:14 -0800

runamuck gravatar image

Can someone please help me debug the following OpenFlow 1.3 error?

I connected my Arista switch to an ODL (Helium SR3) controller but it disconnects. I did a wireshark analysis and I see the TCP handshake and a bunch of Openflow 1.3 messages but then the switch sends an RST.

The Controller sends the following message and then my Switch sends a hard TCP RST.

No.     Time        Source             Destination           Protocol Length Info
     19 1.093756    10.0.0.7              10.0.0.119            OpenFlow 195    Type: OFPT_PACKET_OUT

Frame 19: 195 bytes on wire (1560 bits), 195 bytes captured (1560 bits) Ethernet II, Src: Ravello_57:6c:91 (2c:c2:60:57:6c:91), Dst: Ravello_17:1a:24 (2c:c2:60:17:1a:24) Internet Protocol Version 4, Src:
10.0.0.7 (10.0.0.7), Dst: 10.0.0.119 (10.0.0.119) Transmission Control Protocol, Src Port: 6633 (6633), Dst Port: 36534 (36534), Seq: 628, Ack: 601, Len: 129
    Source Port: 6633 (6633)
    Destination Port: 36534 (36534)
    [Stream index: 0]
    [TCP Segment Len: 129]
    Sequence number: 628    (relative sequence number)
    [Next sequence number: 757    (relative sequence number)]
    Acknowledgment number: 601    (relative ack number)
    Header Length: 32 bytes
    .... 0000 0001 1000 = Flags: 0x018 (PSH, ACK)
        000. .... .... = Reserved: Not set
        ...0 .... .... = Nonce: Not set
        .... 0... .... = Congestion Window Reduced (CWR): Not set
        .... .0.. .... = ECN-Echo: Not set
        .... ..0. .... = Urgent: Not set
        .... ...1 .... = Acknowledgment: Set
        .... .... 1... = Push: Set
        .... .... .0.. = Reset: Not set
        .... .... ..0. = Syn: Not set
        .... .... ...0 = Fin: Not set
    Window size value: 243
    [Calculated window size: 31104]
    [Window size scaling factor: 128]
    Checksum: 0x1525 [validation disabled]
    Urgent pointer: 0
    Options: (12 bytes), No-Operation (NOP), No-Operation (NOP), Timestamps
    [SEQ/ACK analysis] OpenFlow 1.3
    Version: 1.3 (0x04)
    Type: OFPT_PACKET_OUT (13)
    Length: 129
    Transaction ID: 10
    Buffer ID: OFP_NO_BUFFER (0xffffffff)
    In port: OFPP_CONTROLLER (0xfffffffd)
    Actions length: 16
    Pad: 000000000000
    Action
        Type: OFPAT_OUTPUT (0)
        Length: 16
        Port: 3
        Max length: OFPCML_NO_BUFFER (0xffff)
        Pad: 000000000000
    Data
        Ethernet II, Src: Ravello_6b:cc:c1 (2c:c2:60:6b:cc:c1), Dst: CayeeCom_00:00:01 (01:23:00:00:00:01)
        Link Layer Discovery Protocol
            Chassis Subtype = MAC address, Id: 2c:c2:60:89:12:5b
            Port Subtype = Locally assigned, Id: 3
            Time To Live = 4919 sec
            System Name = openflow:49213354873435
            Stanford - Unknown (0)
            End of LLDPDU

I have the following Arista switch:

Aboot-veos-2.1.0.iso

vEOS-lab-4.15.0F.vmdk

Configured with:

openflow

controller tcp:10.0.0.7:6633

bind mode interface

bind interface et1

bind interface et2

bind interface et3

bind interface et4

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-19 09:38:34 -0800

jamoluhrsen gravatar image

That looks like the LLDP packet-out the controller is asking your switch to send out of port 0. Could your switch be misbehaving (or behaving I guess if it's on purpose) and forcefully closing the connection because it does not like that kind of packet out?

This is how opendaylight learns links. The LLDP will be sent out one switch's port and if it's received on another openflow enabled port, that LLDP will be punted to the controller and it can learn that link.

Anyway, maybe your switch has log messages that can help?

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-05-19 09:20:14 -0800

Seen: 483 times

Last updated: May 19 '15