This is our old Q&A Site. Please post any new questions and answers at

I have multiple android devices (simulated with Genymotion on top off virtualBox) on my host computer. What is the best network setting for devices? and which interface I should capture to have both incoming and outgoing traffic of android devices? in all android devices I run same application and I want to be able to differentiate between their traffic in my .pcap file.

I have try following but I only have outgoing traffic of devices:

In Genymotion:

Network mode: Bridge

In virtualBox:

Adaptor 1: attach to : Host-only Adaptor

Adaptor 2: attach to : Bridged Adaptor

and listen on Local area connection (since I connected to internet via LAN)

I also try following:

C:\Program Files\Oracle\VirtualBox>VBoxManage modifyvm "HTC_Mine" --nictrace1 on --nictracefile1 file.pcap VBoxManage.exe: error: The machine 'HTC_Mine' is already locked for a session (o r being unlocked) VBoxManage.exe: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), c omponent MachineWrap, interface IMachine, callee IUnknown VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at lin e 507 of file VBoxManageModifyVM.cpp

asked 10 Mar '17, 10:02

Zahra's gravatar image

accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 10 Mar '17, 10:02

question was seen: 1,869 times

last updated: 10 Mar '17, 10:02

p​o​w​e​r​e​d by O​S​Q​A