
Document ID: 116222
Updated: Jun 20, 2013
Contributed by Md Hasan, Cisco TAC Engineer.
Contents
Introduction
This document describes how to conduct a packet capture of IPhone traffic with Windows Internet Connection Sharing (ICS).
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
The information in this document is based on these software and hardware versions:
- iPhone 4/4S/5
- Windows 7
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Background Information
This process requires that you share a Wired network connection with an iPhone or any other Wi-Fi phone (called iPhone in this document for simplicity). All the iPhone's traffic is diverted through a PC. This process is extremely useful when you need to troubleshoot the iPhone's traffic (Cisco Jabber for iPhone, Android).
How to packet capture iPhone's traffic with Windows ICS
- Open a network connections window. You can open it from the Control Panel, or you can type ncpa.cpl in a Windows command prompt.
- Open the Local Area Connection properties and click the Sharing tab.
- Open a Windows Command prompt (you may need to run the command prompt with Administrative privileges). Then, enter this command:
- Open the Local Area Connection properties and click the Sharing tab. Check the Allow other network to connect through this computer's internet connection check box and then choose the appropriate wireless network connection for the Microsoft Virtual Miniport Adapter. In this example, it was Wireless Network Connection 2.
- Enter this command from the command prompt.
- After you enter the command, the Wireless Network Connection 2 status displays as cisco.com
- Now, open your iPhone and connect to the SSID. In this example, the SSID is test123. If the SSID does not appear, type it.
- Now, open Wireshark on your PC in order to see your iPhone traffic.
- If you want to remove the captures, enter this command:
- Then, open Local Area Connection properties and click the Sharing tab. Uncheck the Allow other network to connect through this computer's internet connection box.
Related Information
Open a Support Case (Requires a Cisco Service Contract.)
Related Cisco Support Community Discussions
The Cisco Support Community is a forum for you to ask and answer questions, share suggestions, and collaborate with your peers.
Refer to Cisco Technical Tips Conventions for information on conventions used in this document.