|
jcooper
5 posts
|
i'm wondering how other network engineers use packet capture utilities in the real world. i'm still relatively new to this field and i'm on a LAN team supporting a large campus for a big company. i sometimes hear general requests like "can you put a sniffer on the network and see why its running slow?" follow up questions usually isolate the problem to one particular application or server....on some ocassions i'll dig around and find a bad uplink port or duplex mismatch or something, but i've never yielded any useful information from simply putting a sniffer on the network. I can see how an application developer might find packet traces useful in debugging and i do find them useful in learning how various protocols work, from an educational perspective....but I don't necessarily see how they are used to solve/isolate general 'network is slow' problems. how do you guys use packet captures for troubleshooting?? |
|
JeffArey
1 post
|
Off of the top of my head: 1) I located rogue DHCP services on our network, which kept people from getting onto the coporate network. Kick off Wireshark, perfomed a ipcofig /release then /renew. See what answered my dhcp request, grab the mac addr, then searched arp/cam tables on my switches, found someone had brought in there Linksys wireless router from home. Also folks would load dhcp services on their new Windoze servers, just because they could, etc. 2) Had an instance where our dhcp services were broken on a Windoze box, but the server admin swore up and down that the service was up on the box. With Wireshark, I was able to prove that "no one" was answering my dhcp request. I was able to do the same thing for a broken local DNS server as well. 3) On the dreaded slow network, I would often look for duplicate acks, retransmissions, other errors, etc. 4) Had a customer who stood up a new border router, but couldn't get hold of his ISP when he was configuring EIGRP- he needed the ASN. I placed my laptop on a good sniffing spot, waited for a few mins as I collected EIGRP (multicasts), peeked inside the packets, and behold, there was the ASN in one of the packets. I looked like a genius that day but trust me, I am a rank intermediate type when it comes to packet analysis. 4) Consider Laura Chappelle's Wireshark University, which has DVD courses that cover just about anything you can imagine for Wireshark. |
|
stretch
269 posts
![]() |
The benefit realized when using a sniffer to troubleshoot is directly proportional to the engineer's understanding of the protocol(s) in question. For example, if one doesn't grasp the fundamentals of TCP, all the packet captures in the world aren't going to help him troubleshoot a TCP issue. I've found sniffers most useful when troubleshooting software or machines to which I have limited access. Sometimes it's just easier (and always more reliable) to look at the wire itself rather than navigating through an unfamiliar configuration to see what traffic is really being sent. Hope that makes sense. |
|
bperry
3 posts
|
I too am getting started with wireshark. I think it is not only a knowledge of the protocols (which I am learning), so no I don't full grasp them, but also a learning curve of using wireshark itself. I try to use it as much as possible and when I find something I don't know about (often) I google it. The problem I am having is the amount of captures to sift through. I think once I learn how to use WS better this will be a amazing diagnostic tool. |
|
gabrooks
5 posts
|
Several years ago, I had the opportunity to attend a SANS course called Intrusion Detection In Depth. It was two days of nothing but looking for the evil bit in packet captures and how to detect intrusions. I had some knowledge of sniffing before the class, but my expertise was quick accelerated. I have used Wireshark, actually being a Linux CLI type, tcpdump, to find all types of things. Nothing really stands out in my mind at the moment, but the training I got in the class has been extremely helpful to quickly resolve issues. As Stretch has said, knowing how the protocol works is the most important thing. |
|
networkjedi
2 posts
|
I work for a telephone company, we do all FTTP and calls on our network are either SIP or MGCP. We utilize packet captures all the time to help isolate network issues. Customer calls in complaining of call quality issues, by doing a packet capture at certain points in the network we can determine if the issue is on or off network. If it is off network then we open a ticket with the upstream carrier, if it's on network then the packet capture can give us a relatively good idea of where in the network packet loss or jitter are occuring. If we are able to re-create the issue wireshark also gives us the ability to reassemble the audio stream and actually hear the problem. Customers will many times complain of static on the line when in all actuality it is packet loss. I would agree however, your ability to utilize packet captures is directly proportional to your understanding of the underlying protocol. Almost everyone in my NOC can take a packet capture and listen to the audio stream, only one or two people can take that packet capture and tell you what number was being called specifically and know when a call was put on hold, transferred or some other call service was applied. |
|
nishantvshah
1 post
|
Hey guyz, im very new to the field of networking and packet captures. i really am interested in getting more exposure in packet captures and reading em. can you guys tell me how do you manage to capture packets if its not an issue on the machine? do you use a span port to capture packets? how do you guys determine which perticular device (specifically switches) has an issue? |
|
killabee
2 posts
|
In all cases I had understanding of the respective protocols and was able to compare how it's supposed to work to what I was observing....from there I isolated and reached a solution. @nishantvshah, You can still observe the protocol in action even if there is no issue on the machine. You would just be watching the protocol working "as designed." I'd recommend starting off with basic, everyday protocols such as DHCP, DNS, and HTTP. First you have to understand how the protocol works (so read up a little on each) and then install Wireshark or other sniffer on a workstation to just observe. After you observe it, read more about it so you know exactly why it's working the way it's working. |
|
welshydragon
4 posts
|
I have used Wireshark and previously Ethereal in a third line while debugging various network issues in the IP Telephony environment. In most cases the network would have configured by a customer and would be blaming the manufactures kit. Wireshark was invaluable in these situations for a number of reasons -
The only downside is that the learning curve is steep and you need to understand what you trying capture and how you expect the protocol to work. For example DHCP is broadcast based for the initial messages (DORA) so you just need connect to any port within the correct VLAN, whereas renewal at T1 will be unicast. In these situation SPAN/RSPAN configuration can come in very useful. In the world of SIP trunks the VOIP analysis of SIP calls is excellent as Wireshark is able to provide a graphical view of the dialog. My view is that it is a tool that you have to stick with and don't give up on, but at least now there is decent documentation and a wiki to get you started. |
Viewing 1 - 9 of 9
- 1

