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.



- Excel 2010 Cheat Sheet
- Register for this Computerworld Insider Cheat Sheet and gain access to hundreds of premium content articles, guides, product reviews and more.
- Digital Transformation: Creating New Business Models Where Digital Meets Physical
- Individuals and businesses alike are embracing the digital revolution. Social networks and digital devices are being used to engage government, businesses and civil...
- Make the Connection: Better Network Connectivity Drives Transformation
- Network connectivity is more than just plumbing. Leading organizations today see high-performance network connectivity as a critical enabler of competitive advantage, and not...
- Virtualizing Government Infrastructure
- All server virtualization solutions are not created equal. The more-with-less agenda for government agencies is tailor-made for server virtualization, which is evolving into...
- Moving Service Management to SaaS
- Today, organizations can enjoy similarly substantial benefi ts by migrating their IT service management functions to a software-as-a-service model. This paper shows how...
- Achieving 360 Degree Network Visibility with Nimsoft
- 360° network visibility is critical for ensuring continuous availability of networks, servers, and applications-anything less could
have costly bottom-line implications.
All Networking White Papers
- Optimizing Networks for the Cloud
- Join guest speaker, Rohit Mehra, IDC Director of Enterprise Communications Infrastructure, to explore current trends, discuss best practices for optimizing Data Center and...
- Unified Communications 101
- What's the best way to implement a unified communications solution for your organization?
- Try the OptiView® XG on your network - FREE
- The OptiView® XG is the first dedicated tablet with automated network and application analysis -- fastest way to root cause. XG raises the...
- Apps QuickStart Series Part 2: Designing and Deploying SQL Server on VMware vSphere
- Download this webcast to learn about the design considerations for virtualizing SQL workloads, performance and scalability information and high-availability options, as well as...
- Apps QuickStart Series Part 1: Designing and Deploying Exchange 2010 on VMware vSphere
- Download this webcast to learn the virtual hardware design considerations for Exchange 2010, deployment using the building block approach, options for high-availability and... All Networking Webcasts
