Hi. Successfully installed Ostinato at the server and client machines. Created a UDP packet. Please refer to the configuration below:
VLAN: Tagged
L2: Ethernet II
L3: IPv4
L4: UDP
L5: None
Payload: Pattern
In the Protocol Data tab, we filled in the Source and Destination Addresses.
All the others are default. And started transmission.
We used tcpdump to capture the packets and Wireshark to see the captured packets. UDP packets were not captured. Got an error message instead:
RPCAP protocols Error: \002\b\000
But we were able to get TCP protocols. How do we get UDP packets to be captured in the dump?
Hoping for your immediate reply. Thanks.
Regards,
Grace
Please provide more details -
- What is the OS you are using?
- How many machines are you using? One client and one server?
- Where are Ostinato and Drone running - on the same or different machines?
- Where is tcpdump running - on which machine?
- Is tcpdump saving packets to a file which you later open using Wireshark?
- Did you give any "capture filter" to tcpdump?
Regards,
Srivats
> --
> 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
>
Hi again. Thanks for your immediate reply. These are the answers to your previous email.
What is the OS you are using?
Answer: Windows XP SP3
How many machines are you using? One client and one server?
Answer: One client, one server and one to capture data from mirrored port on switch
Where are Ostinato and Drone running - on the same or different machines?
Answer: Ostinato and drone are running on different machines
Where is tcpdump running - on which machine?
Answer: tcpdump is running on a machine with ubuntu connected to a mirrored port on the switch. The mirrored port is the port which ostinato is running.
Is tcpdump saving packets to a file which you later open using Wireshark?
Answer: Yes. We are saving the file. We opened the saved filed in Wireshark and tried to check for UDP protocols. Unfortunately, no UDP protocols.
Did you give any "capture filter" to tcpdump?
Answer: we used this command "sudo tcpdump -i eth0 -s 65535 -w ostinatocapture"
Additional Question: Is there any way we can generate a videoconference packet? I am working on a project with Quality of Service together with Arild Eiken Nedreberg. We would appreciate it if you could give him a copy of your reply too. Arild's email addresses are: aned...@gmail.com and arild.n...@hig.no. Thanks a lot!
Regards,
Grace and Arild
Srivats P <psta...@gmail.com> skrev:
>> RPCAP protocols Error: �02b�00
******************* *******************
* * * *
* * ************* * *
* ******* * * *
* Ostinato * 1 * Switch ***** Drone *
* * * * 2 * *
* * * * * *
* * ************* * *
* * * * *
******************* 3 * *******************
*
*
*
*
******************
* *
* *
* tcpdump/ *
* Wireshark *
* *
* *
******************
I think you have mirrored port 1 to port 3.
You need to mirror port 2 to port 3, since it is drone that actually
sends the packets not Ostinato.
Let me know if I misunderstood.
Srivats
On Sat, Apr 9, 2011 at 6:41 PM, Ma Gracia Manahan Mag-Isa
Regarding the video conferencing packet, I'm not sure, but Joep posted
instructions on how to generate a VoIP packet yesterday.
See http://groups.google.com/group/ostinato/browse_thread/thread/1955b62fbce4a994
If you manage to figure out a way to send a video conference packet, I
encourage you to share it with other Ostinato users on the mailing
list by attaching your streams or posting instructions like Joep did.
Regards,
Srivats
On Sat, Apr 9, 2011 at 7:27 PM, Arild Eiken Nedreberg
<aned...@gmail.com> wrote:
> Ostinato and drone are on 2 different switches connected to 2 different
> routers connected with serial connection. The connctivity between ostinato
> and drone is ok.
> But if drone is sending the packets, then we are mirroring the wrong port.
> Thanks.
> Did you have any comments on the additional question? Thanks.
>
> Regards Arild and Grace.
Hello. The diagram is correct. We tried to mirror port 2 to port 3 but UDP packets still were not captured. Now, we are just using 1 switch (Cisco Catalyst 2960) and 3 pc with the following IP configuration:
Ostinato machine: 192.168.10.3 (connected to Port 1-Fa0/1)
Drone machine: 192.168.10.2 (connected to Port 2-Fa0/2)
TCP/Wireshark: (connected to Port 10-Fa0/10)
The commands we used to mirror Port 2 was:
monitor session 1 source interface fa0/2
monitor session 1 destination interface fa0/10
Just to try if there is a problem with the application, we tried sending packets through a hub. It worked with a hub but not with a switch. What do you think is the problem? We need to use a Cisco switch because our project is about QoS recommendation on a switch or a router.
Cheers,
Arild and Grace
Srivats P <psta...@gmail.com> skrev:
>Arild,
>
>Regarding the video conferencing packet, I'm not sure, but Joep posted
>instructions on how to generate a VoIP packet yesterday.
>
>See
>
>
>>>>>> RPCAP protocols Error: ?02b?00
Unrelated to your problem but why do you have Ostinato and drone
running on separate machines? You could run them on the same machine.
Srivats
On Wed, Apr 13, 2011 at 8:58 PM, Ma Gracia Manahan Mag-Isa
Srivats
Hello. Finally, we were able to generate UDP packets. The reason why we weren't able to capture UDP packets before is because we did not key in the MAC addresses of the source and destination PCs. What we want now is to generate 3 streams (1 UDP, 1 TCP and 1 ICMP) and send it to the network at the same time. We tried doing that in Ostinato but it seems that the streams were generated according to how you input the streams in Ostinato. Does it work in that way? Is there a way where we can send the 3 different packets all at the same time in order to test QoS. Thanks.
However, since you need it now, starring is not going to help you -
what I can do is, I can tell you the place in the code where the
streams are generated into one big buffer - you can change the
algorithm to "mix up" the streams there. Let me know if you are
feeling adventurous enough to do that! :-)
Srivats
On Thu, Apr 14, 2011 at 6:41 PM, Ma Gracia Manahan Mag-Isa
Srivats
On Fri, Apr 15, 2011 at 9:51 PM, Arild Eiken Nedreberg