How I used Linux network tools to solve real problems
Computerworld - Previously, I explained how to use a computer that others have cast off as being unusable as a powerful network analysis tool.
By combining the Linux distribution Fedora Core with the open-source packages libpcap, tcpdump, iptraf and Multi Router Traffic Grapher (MRTG), I demonstrated how useful statistics on network usage and trends can be obtained.
In this final installment of the series, I present examples based on actual cases I've encountered where these tools were utilized to solve the problem.
Slow connection
In the first example, a small network with a 384Kbit/sec. ISDN connection to the Internet was slow at best and unusable at worst. The LAN performance was fine; only Internet traffic was affected.
In all network troubleshooting situations, an understanding of the network topology is paramount to place the sniffer at the appropriate location. This wasn't a network I was familiar with, so I performed a walk-through with the network administrator. The network was simple: one private subnet NATed to a single public IP address, distributed by two hubs and a switch with a couple of local servers off the switch, and a connection from the switch to the ISDN Internet router, as shown in Figure 1.
Figure 1: First example network diagram
![]() (Click image to see larger view) |
As port mirroring wasn't an option on the 100Mbit/sec. switch, I took out a minihub from my network tool bag (everyone carries one, right?) and placed it inline between the 100Mbit/sec. switch and the ISDN router as shown in Figure 2. True, this changed the original network topology, but since port mirroring (whereby all traffic seen on one port is copied to another) was not available, the hub placement was the best alternative. There are advantages to this method, as port mirroring will not show physical layer errors, but generally I prefer port mirroring.
- 10 Hot Big Data Startups to Watch
- 11 Unique Uses for Google Glass, Demonstrated by Celebs
- How to Export Your Google Reader Account
- How to Better Engage Millennials (and Why They Aren't Really so Different)
- Telltale signs of ATM skimming
- 20 security and privacy apps for Androids and iPhones
- Big screen con artists: 7 great movies about social engineering
- IT Certification Study Tips
- Register for this Computerworld Insider Study Tip guide and gain access to hundreds of premium content articles, cheat sheets, product reviews and more.
- Enabling Ubiquitous Visibility in Virtualized Environments Enterprises are rapidly adopting virtualization for dynamic service delivery and service management agility. IT challenges already exist in virtual environments and will only...
- The Importance of Performance Management in Software-defined Networking Riverbed Technology and VMware have joined forces to help address these problems and make it easy to deploy and manage VXLAN overlay networks...
- Network Monitoring and Troubleshooting for Dummies The Network Monitoring and Troubleshooting for Dummies Book introduces you to common network performance management (NPM) issues and give you a new way...
- Firewall and IPS Deployment Guide Discover how to quickly deploy a full-service business network that is next-generation threat-ready. This comprehensive guide is based on best-practice design principles that...
- Live Webcast
Bring Mobile Innovation to your Enterprise. - With the mobility revolution well underway, CIO's and Line of Business owners are faced with the struggle to develop a winning mobile strategy.
- Bring Mobile Innovation to your Enterprise. With the mobility revolution well underway, CIO's and Line of Business owners are faced with the struggle to develop a winning mobile strategy.
- Dell Software This overview of Dell SonicWALL next-generation firewalls showcases how you can increase network security by scanning every packet without any compromises in network... All Networking White Papers | Webcasts
Rising salaries boost IT optimism, though not everyone is feeling upbeat. Our survey of 4,000+ IT workers shows who's riding the wave and why. Use our interactive tool and compare your own paycheck. Read more...
