Are you running wireshark on the destination host node?  It'd be good to know 
if the packet is arriving.

-- Murphy

On Sep 27, 2013, at 3:08 AM, Adel Zaalouk <[email protected]> wrote:

> yes of course. I am using the "autoSetMAC" option in my mininet script to use 
> clear macs and I am testing on a very small network of two hosts. So I am 
> using IP's such as "10.0.0.1" and Macs such as "00:00:00:00:00:01".
> 
> And I am using wire shark to see the packets, the packets are not malformed. 
> Please find attached a snippet of my packet captures.
> 
> 
> Thanks,
> Adel.
> 
> 
> On 09/27/13, "Adel Zaalouk"  <[email protected]> wrote:
> 
>> yes of course. I am using the "autoSetMAC" option in my mininet script to 
>> use clear macs and I am testing on a very small network of two hosts. So I 
>> am using IP's such as "10.0.0.1" and Macs such as "00:00:00:00:00:01". 
>> 
>> And I am using wire shark to see the packets, the packets are not malformed. 
>> Please find attached a snippet of my packet captures. 
>>  
>> 
>> Thanks, 
>> Adel. 
>> 
>> On 09/27/13, Murphy McCauley  <[email protected]> wrote:
>> 
>>> Are you sending it to a destination IP and MAC that exist? :)
>>> 
>>> Also, have you looked at the packet in wireshark?  It can be useful to make 
>>> sure the packet is well-formed.
>>> 
>>> -- Murphy
>>> 
>>> On Sep 27, 2013, at 2:43 AM, Adel Zaalouk <[email protected]> 
>>> wrote:
>>> 
>>>> Hi, 
>>>> 
>>>> I am trying to to send an ICMP Request from POX and I am sing the packet 
>>>> classes in POX to form the packet. 
>>>> 
>>>> It looks something like this. 
>>>> 
>>>> 
>>>>    # echo 
>>>>    r = pkt.echo(id=3036, seq=41)
>>>>    r.payload=""
>>>> 
>>>>    # Make the ping reply
>>>>    icmp = pkt.icmp()
>>>>    icmp.type = 8
>>>>    icmp.code = 0
>>>>    icmp.payload = r
>>>> 
>>>>    # Make the IP packet around it
>>>>    ipp = pkt.ipv4()
>>>>    ipp.protocol = ipp.ICMP_PROTOCOL
>>>>    ipp.srcip = IPAddr(ipsource)
>>>>    ipp.dstip = IPAddr(ipdestination)
>>>> 
>>>>    # Ethernet around that...
>>>>    e = pkt.ethernet()
>>>>    e.src = EthAddr(macsource)
>>>>    e.dst = EthAddr(macdestination)
>>>>    e.type = e.IP_TYPE
>>>> 
>>>>    # Hook them up...
>>>>    ipp.payload = icmp
>>>>    e.payload = ipp
>>>> 
>>>>    # Send it back to the input port
>>>>    msg = of.ofp_packet_out()
>>>>    msg.actions.append(of.ofp_action_output(port = 2))
>>>>    msg.data = e.pack()
>>>>    msg.in_port = of.OFPP_NONE
>>>> 
>>>> 
>>>> I can see the request being sent, but I can't see any reply. Any 
>>>> recommendations ? 
>>>> 
>>>> Thanks in advance, 
>>>> Adel. 
>>>> 
>>>> 
> <capture.png><capture2.png>

Reply via email to