Troubleshooting A Gateway Server
Background:
For some time now, we have been having internet connectivity problems in our small office. We are a part of a Complex that hosts small businesses, and they provide us with internet connectivity as a part of the package. The net based work is at the core of our business, as it is with a second company in the Complex. We always have internet connection problems, as does the other company. But the Complex management doesnt believe there is a problem with the net connection because no one else complains. But the rest of the companies use the net for email, and thats about it. So they wont have any problems to the extent that we do. We spend our day using ssh, webdav, bittorrent, wgetting stuff, doing sftp uploads and playing the occasional game of WoW :D. The rest of companies use the net to check their Hotmail and Yahoo account, and have never heard of Gmail. Problem: This place is one big Windows shop. When we complain, they blame the problem on Linux of course. We have frequent, but intermittent issues with slow connections, down connections and the like, to the point where we wish we had dial-up instead. They provide us with 3 ports and 4 static IP addresses on our own subnet (standard for each company in the Complex). We have one Linux box that we use as a router and feed all the other machines net connectivity from it over a switch. Configs at the end of this post. We have always started with troubleshooting that box. We have ran Debian on it, tried Smoothwall, switched out the network cards and even switched out the box and OS entirely. Its now a PowerPC box (Mac Performa 6400) running Ubuntu Warty. In all cases, the problems have persisted so we have abandoned the hardware/config theory. But we are still willing to concider it as we now want to be thorough. What we want to do now: We have two goals right now: 1. Double check to make sure our configs are correct and not the source of our woes 2. Provide solid proof that their is a problem with the net connection here by providing logs from a thorough analysis. Goal 1: To accomplish goal one, I have posted the relevant configs on our gateway/router box below. Please peruse this and let me know if you see any possible confilicts that may have been overlooked. Goal 2: For our second goal, I need suggestions on a network analysis/testing utility that we can setup to run tests and produce a report on netowork performance. Preferably one that provides a summary or trace of network performance over a few days. Machine role Router, gateway between internal and external network DHCP Server Serves between 8 - 10 machines daily Hardware Macintosh Performa 6400 56MB RAM 200MHz PowerPC 603e 2 PCI Network Cards Relevant Software Ubuntu Warty, server install with no GUI Kernel version 2.6.8.1-3-powerpc DHCP Server 2.0pl5 DHCP Config Code:
subnet 192.168.0.0 netmask 255.255.255.0{ Code:
# This file describes the network interfaces available on your system Code:
Kernel IP routing table powermac@powermac:~ $ cat /etc/network/options ip_forward=yes spoofprotect=yes syncookies=no iptables config Code:
Chain INPUT (policy ACCEPT) Code:
#!/bin/sh Code:
eth0 Link encap:Ethernet HWaddr 00:C0:95:F8:7E:7A |
It is doubtful your configs are the problem.
Being that you use it as much as you do, if you had configuration problems - it's doubtful that it would work at all. I would just run a ping - and pipe it to a file. Let it run for 3 or so days..... Once finished, you can check the stats on that to prove that, out of the box, straight into your complex connection, you are dropping packets. If this is part of the rental agreement, and they are not fulfilling their obligations, then you have legal recourse, if you have to play hardball...... |
Its a bit more than just dropping packets, so ping results alone wouldnt do. Sometimes stuff goes through, but painfully slow. We want to track bandwidth fluctuations in addition to dead connections. What could we use to do bandwith measurements?
|
Quote:
|
All times are GMT -5. The time now is 11:35 PM. |