For app-instance packet capture, there are two options to collect tcpdump:
# capture network traffic on one instance group
bosh -e vbox -d cf pcap router -o capture.pcap
# capture network traffic on a single instance
bosh -e vbox -d cf pcap router/<GUID> -o capture.pcap
# capture network traffic with filter for a specific source host
bosh -e vbox -d cf pcap router -f "src host 192.168.#.##" -o capture.pcap
# capture network traffic with snap length 64 to save the first 64 bytes of each packet and filter for specific hosts
bosh -e vbox -d cf pcap router -f "host 192.168.#.#1 or host 192.168.#.#2" -s 64 -o capture.pcap