1. Version Information
2. Document Purpose & History
This document is intended to provide the reader with ability to run wireshark on a laptop running Windows 7.
Using a laptop to get Wireshark Trace in front of a phones
This KB is only for Windows 7
Often a packet capture is very helpful in diagnosing SIP registration/connectivity problems or voice quality problems. For many on-premises cases, the trace can be generated on the UCP.
The challenge comes when the 3rd party SIP device or IP phone is connected to the cloud platform. Often in smaller installations, there is no managed switch with port mirroring capabilities. It is possible to use an engineer’s laptop with Wireshark to collect the packet trace.
Pre-Requisites
The following pre-requisites are required.
- A built in Ethernet port on the laptop.
- One of
- A customer has a wifi network (this should not be used to investigate voice quality issues).
- A 2nd USB Ethernet Adapter AND a phone PSU to power the phone if it is PoE powered.
- Wireshark is installed on the eingineer’s computer.
The IP phone being captured will be connected to the built-in Ethernet port of the laptop. The laptop will be connected to the customer’s network using wireless or the 2nd USB Ethernet port. Using either setup packets to, and from, the phone will be seen by the laptop.
Setting up the Bridge Interface
- Open “Network and Sharing Centre”, and choose “Change Adapter Settings”
- Select the Built in Ethernet port.
- Use Ctrl+Left mouse click to select the 2nd interface
- a. Wifi adapter.
- 2nd Ethernet Adapter.
- Right click on one of the Selected Adapters and choose Bridge Connections.
- And additional Adapter Interface, a Bridge interface will appear.
Capturing with Wireshark
It is important to ensure that data and topology information is not leaked from the phone environment by this capture method.
To limit the capture to the phone information use the following process.
- From the Capture menu, choose the options menu item.
- Select the built in Ethernet adapter.
- Ensure Promiscuous Mode is ticked
- In the “Capture filter for selected interfaces” type “host <ip address>. Replace <ip address> with the phone’s IP address.
- Press Start
- Perform Test
- Press Stop (red square on toolbar)
Removing the Bridge Interface
To remove the bridge interface:
- Use the method in steps 1-3 of “Setting up the Bridge Interface” to select the interfaces that have been bridged.
- Right click on an interface and choose “Remove From Bridge”.
“
Leave A Comment