Hi, I want to change the destination address. So I use these actions. And add output action.
OFPAT_SET_DL_DST, /* Ethernet destination address. */ OFPAT_SET_NW_DST, /* IP destination address. */ Finally destination node could receive the changed packet. But there is a problem. I snoop the packets using wireshark. After 3-handshaking (SYN, SYN+ACK), the sender node send "RST" packet. I think it is occured by reason of "I didn't update the IP checksum." Openflow-spec describe below. Action : Set IPv4 destination address Description : Replace the existing IP destination address with and update the IP checksum (and TCP/UDP/SCTP checksum if applicable). This action is only applied to IPv4 packets. But How can I update the IP checksum? I use C/C++ languge. I try to find updating IP checksum problem in nox-mailing list. But I couldn't find it. Is it a possible using "send_openflow_command()" fuction or "send_openflow_packet()" fuction? send_openflow_command() function = change original packet in switch using flow action. however, send_openflow_packet() = send new packet instructed by controller. Could you give some advice or reference source? Thank you. - Hyogi
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev