How to capture Genymotion network traffic with VBoxManage
Posted: 8. Sep 2017, 09:46
I have multiple Genymotion emulator, which I want to capture their traffic on the host system they are running.
Here is the system setting:
- The host is assigned a valid static IP.
- Genymotions network mode is set to NAT. (Since by the static IP assigned to machine It's not possible to have Bridge mode. So All the genymotion get same IP address as the host machine while in Wireshark. Also all have the same inner IP assigned.)
So I came up with following VBoxManage command:
But when I run Genymotion machine it stop capturing traffic, So How can I capture Genymotion network traffic in this scenario?
Here is the system setting:
- The host is assigned a valid static IP.
- Genymotions network mode is set to NAT. (Since by the static IP assigned to machine It's not possible to have Bridge mode. So All the genymotion get same IP address as the host machine while in Wireshark. Also all have the same inner IP assigned.)
So I came up with following VBoxManage command:
Code: Select all
# VBoxManage modifyvm "genymotion" --nictrace1 on --nictracefile1 genymotion.pcap