Hi, See this file: https://github.com/noxrepo/pox/blob/master/pox/samples/pong.py
Regards, Zoltan. ________________________________________ From: [email protected] [[email protected]] On Behalf Of Weiyun [[email protected]] Sent: Tuesday, July 10, 2012 9:24 PM To: [email protected] Subject: [nox-dev] How to generate ICMP packet? Hi, “The router should be pingable, and should generate an ICMP echo reply in response to an ICMP echo request.” —— OpenFlow Tutorial – Create Router Could you give me an example how to generate a ICMP reply message? I suppose that first create packet_base instance, then add ipv4 header, and then icmp header? Is there a way to copy necessary information from ICMP request to reply message, and then modify some attributes? How about ICMP unreachable message? Thanks, Weiyun
