LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-24-2013, 12:15 PM   #1
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Tools for checking unstable lan?


In short: I need to monitor a local network to find out why the staff sometimes have problems.
This is in a small office. Although most of the time everything works fine, a bit too often problems occur. The problems reported are:
* Network is suddenly extremely slow. Mainly internet, but sometimes also over LAN. Could last for a minute or it could last most of the day.
* VPN-connections (pptp & l2tp/ipsec) are suddenly dropped, or other network-based services like remote desktop suddenly fails.

--- Edit:
And these problems do not happen to everybody at the same time!
They happen randomly, sometimes affecting just one, sometimes affecting 5 - but never affecting the whole office.
Also, these 2 problems seems not to be related - vpn with related connections might work fine but internet access slow or the other way around...


Unfortunately, I can't sit in the office until problems occur, it would of course be the best but it just can't be done.
So what I want to do is to install some good monitor-apps in a laptop, and place it in their office for a month gathering lots and lots of information.
Problem is, I don't know what tools to use? I did use MRTG some 5 years ago, but I don't think that one will do it here.
Another question (well, actually the really important one) is what to monitor! All I have to work on is what I'm told - and I guess you all know how reliable that kind of information can be...
I have, of course, checked logs on both clients & firewall, nothing interesting there.

What we have is:
* 100Mbit internet (up+down) via cable.
* Watchguard XTM firewall, HP rack-switch
* 2 wireless access-points directly connected to HP-switch
* One small server (Win7) not used much, one device for network storage (both these on static ip).
* Some 20 laps running Windows XP, Windows 7, Mac OsX (and my Linux when I'm there).
* Also connected: a whole bunch of cell phones, pads of various kinds etc. (probably watches, shoes et al also have WLAN these days! )

BUT! All in all, there has never been more than 29 devices connected via dhcp at the same time.
No video or any really heavy stuff is done over the network - or actually, at all. (Or so they say - I tend to believe that though.)

So, what tools should I investigate?

Last edited by pingu; 02-24-2013 at 12:34 PM. Reason: Adding info
 
Old 02-27-2013, 06:47 PM   #2
ShadowCat8
Member
 
Registered: Nov 2004
Location: San Bernardino, CA
Distribution: Gentoo, Arch, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 261

Rep: Reputation: 52
Greetings,

Well, to start off with, I will make the assumption that the "HP rack-switch" is a managed switch.
(Yes, I know you shouldn't make an 'assumption' or you might make an @ss out of 'u' and 'mption'! hehe)

If this is the case, I would first start there and see if you have any monitoring and/or logging built into the switch. You might be able to save yourself a lot of time and trouble by just checking what the switch sees as being passed and how much. If you're lucky, it might even have some management tools available for you, like graphs for network traffic, etc. to help you isolate the issue.

But, if that's not a viable option, you can try wireshark... Now, keep in mind that if you try to sniff everything, and leave it running for an extended period of time, you better have a *lot* of space on the system doing the sniffing. Wireshark caches the captured packets, and for a busy network, that could be a LOT of data. And, since it is likely that you are new to wireshark, you might benefit from watching this tutorial video.

And, you can tell the folks at your office that they aren't agents working for CONTROL (unless, of course, they are! ;-p hehe) so they can turn off the shoe-phones and two-way wrist communicators while in the office!

HTH. Let us know.

(P.S. As a "shot-in-the-dark", is anyone in your office using Carbonite? Our office recently had a similar situation when the boss installed Carbonite on his system without telling the IT guys.)

Last edited by ShadowCat8; 02-27-2013 at 06:52 PM. Reason: Added a "shot-in-the-dark"
 
1 members found this post helpful.
Old 02-28-2013, 03:33 AM   #3
jnihil
Member
 
Registered: Dec 2012
Location: inside the matrix
Distribution: Debian, Xubuntu, Gentoo, Antergos
Posts: 90

Rep: Reputation: 27
Too many unknown variables. Like the former post, I would also suggest packet capture, but ON the devices experiencing the slowness, unless you have port-mirroring on your HP switch.

IF your switch has port-mirroring, then very cool. Capture everything to a file. The file will get big, so you wanna use the 'use multiple files', 'next file every x megabytes' and 'ring buffer with x files' option so that you only capture a certain amout of data (maybe one day's worth), and the files are small enough to be manageable (ever tried loading a 10GB packet capture file?).

Wireshark has many tools/stats that will help you with your analysis. Good luck.

Last edited by jnihil; 02-28-2013 at 03:34 AM.
 
Old 02-28-2013, 04:02 AM   #4
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Original Poster
Rep: Reputation: 127Reputation: 127
Quote:
Originally Posted by ShadowCat8 View Post
Well, to start off with, I will make the assumption that the "HP rack-switch" is a managed switch.
(Yes, I know you shouldn't make an 'assumption' or you might make an @ss out of 'u' and 'mption'! hehe)
Ah, sorry should of course have mentioned that the HP-switch is not under my control. It belongs to our Internet provider, we are not allowed any access to the management interface.
Wireshark I have used a little, but that's some years ago.
But that will only capture traffic to/from the computer it runs on, I need to somehow capture traffic in the whole LAN?
Quote:
Originally Posted by ShadowCat8 View Post
(P.S. As a "shot-in-the-dark", is anyone in your office using Carbonite? Our office recently had a similar situation when the boss installed Carbonite on his system without telling the IT guys.)
That is something worth investigating!
People are not allowed to use any kind of online-backups, but it could still be of course.
Quote:
Originally Posted by ShadowCat8
Too many unknown variables. Like the former post, I would also suggest packet capture, but ON the devices experiencing the slowness,
Yep, you are so right, far too little known!
Unfortunately it happens to various devices pretty randomly.
For now, I'm not going to install wireshark (or anything) on every computer, that's too much hassle.
What I can work with is the Watchguard where I can't install anything, and a separate laptop I can do whatever I want with.
The WG has a few tools for network bandwidth, load monitoring and such, I've checked that several times it is never overloaded (that is bandwidth, cpu & memory).
 
Old 02-28-2013, 10:24 AM   #5
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Original Poster
Rep: Reputation: 127Reputation: 127
I decided to start "the easy way" just checking the Watchguard.
An ipsec tunnel between my office & clients office, and then Cacti on one of my servers to pull network, cpu & memory load from WG.
Hopefully it will shed some light!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tools for checking flash drives for problems? Cinnamint Linux - Software 2 12-01-2012 02:31 PM
Need DVD-R recovory tools or disk checking. nec207 General 10 08-15-2012 06:21 PM
slow and unstable LAN ZaphyR Linux - Networking 4 08-16-2004 05:40 AM
What are some names of tools for checking disk space aaronruss Linux - Newbie 2 06-08-2004 10:55 PM
Samba Errors from Log -- LAN unstable soren625 Linux - Networking 0 05-21-2004 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration