Ostinato to send forwarding packets

379 views
Skip to first unread message

jigs9...@gmail.com

unread,
Nov 20, 2013, 6:00:48 AM11/20/13
to osti...@googlegroups.com
Srivats,
 
I tried to IPv4 send packets from machine 1 to machine 2 using Ostinato. There are 2/3 hops between machine 1 and machine 2. But I'm not geting the packets at machine 2 which I sent from machine1.  When I started traffic from Machine 1 , it reaches upto hop1 and after that its die. It doesn't even reach up to hop2.
Same thing when I tried with normal ICMP ping it works fine. It reaches from Machine 1 to Machine 2 through hops.
 
My setup is as below:
 
Machine1 ---switch -----Router-----next-hope router -----------Machine2.
 
I ran Ostinato on machine 1 to send packets From Machine 1 to Machine 2. But packet reaches up to Router only. While in case of normal ICMP ping It reaches upto machine2.
I created ICMP packets stream in which I gave Machine1 mac address into source mac address and Machine2 mac address in destination mac address.
 
Can you please suggest where I'm making mistake? What should be proper the Source and Destination mac address while creating stream to send IPv4 packets from Machine1 to Machine2 ?
 
Thanks
Jigar
 
 
 
 

Carlos G Mendioroz

unread,
Nov 20, 2013, 6:12:30 AM11/20/13
to jigs9...@gmail.com, osti...@googlegroups.com
Jigar,
the destination MAC address should be the one of the router...

-Carlos

jigs9...@gmail.com @ 20/11/2013 08:00 -0300 dixit:
> --
> Get Ostinato News and Updates on Twitter - Follow @ostinato
> (http://twitter.com/ostinato)
> ---------
> You received this message because you are subscribed to the Google
> Groups "ostinato" group.
> To post to this group, send email to osti...@googlegroups.com
> To unsubscribe from this group, send email to
> ostinato+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ostinato?hl=en
> ---
> You received this message because you are subscribed to the Google
> Groups "ostinato" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ostinato+u...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

--
Carlos G Mendioroz <tr...@huapi.ba.ar> LW7 EQI Argentina

jigs9...@gmail.com

unread,
Nov 20, 2013, 6:41:17 AM11/20/13
to osti...@googlegroups.com, jigs9...@gmail.com
Hi Mendioroz,
 
I have already tried with mac address of router. But it doesn't work.
When I try with ICMP ping it reaches upto Machine2. And I also captured icmp packets at various hops and I observed that mac address of source and destination changes at diff hops.
Is there any option on Ostinato tool while making stream to send packets through multiple hops?
 
Thanks
Jigar

jigs9...@gmail.com

unread,
Nov 20, 2013, 6:53:37 AM11/20/13
to osti...@googlegroups.com, jigs9...@gmail.com
Hi Carlos,
 
I have already tried with one of the router mac address But it doesn't work. When I send packets with normal ICMP ping it works properly and also I observed that when I captured  icmp packets at diff hops, source and destination mac address changes accordingly hop.
 
Is there any option to set while making stream for sending packets through multiple hops?
 
Thanks
Jigar
On Wednesday, 20 November 2013 16:30:48 UTC+5:30, jigs9...@gmail.com wrote:

Carlos G Mendioroz

unread,
Nov 20, 2013, 8:07:28 AM11/20/13
to jigs9...@gmail.com, osti...@googlegroups.com
If you are capturing the packets, then just compare the packet generated
by ping and the one generated by ostinato.

The destination MAC address has to be your next hop (the router).
The destination IP has to be your final destination.
The checksums have to be ok.

Ostinato does not care about one or more hops...

-Carlos

jigs9...@gmail.com @ 20/11/2013 08:41 -0300 dixit:
> Hi Mendioroz,
>
> I have already tried with mac address of router. But it doesn't work.
> When I try with ICMP ping it reaches upto Machine2. And I also captured
> icmp packets at various hops and I observed that mac address of source
> and destination changes at diff hops.
> Is there any option on Ostinato tool while making stream to send packets
> through multiple hops?
>
> Thanks
> Jigar
>

Reply all
Reply to author
Forward
0 new messages