Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-16-2005, 05:16 PM
|
#1
|
LQ Newbie
Registered: Sep 2005
Distribution: Fedora & Linspire
Posts: 3
Rep:
|
Monitoring LAN Traffic
I have set up a 10+ user network and I'm now trying to find a good way to monitor the performance of these users (uptime, etc.). My Fedora3 computer is on the LAN, but is not the router. How do I do this? I can install a different dist. if necessary. Also, pretend that I know very little about Linux, then pretend that you are not pretending.
|
|
|
09-16-2005, 05:58 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109
Rep:
|
Hi.
If the network is switched (it probably is), then you won't be able to monitor traffic from each machine. You could set up a script to ping each machine every few seconds to see if it's up, but that's about it. It is possible to find out a machine's uptime using TCP timestamps, using tcpdump, but you have to know what operating system is running on each machine in order to convert the timestamp to a wall-time uptime.
Have a look here:
http://www.0xdecafbad.com/TCP-Timest...-Remotely.html
and here
http://uptime.netcraft.com/up/accuracy.html
Dave
|
|
|
09-16-2005, 06:09 PM
|
#3
|
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109
Rep:
|
It's possible to get Windows machines (I'm assuming the network consists of Windows machines...) to report events to the syslog demon which will be running on your Linux machine too.
You'll have to buy some software to do it though.
http://www.adiscon.com/Common/en/Art...-From-Unix.php
If the machines on the network are Linux machines, then they can already do this and would just have to be configured to send logs to your machine.
Dave
|
|
|
09-16-2005, 06:13 PM
|
#4
|
LQ Newbie
Registered: Sep 2005
Distribution: Fedora & Linspire
Posts: 3
Original Poster
Rep:
|
Perhaps I used the wrong words. I want to be able to see when each computer's network connection is lost, not computer uptime. They are all running XP. I don't know if this will actually change my possible options. Right now, I am running an XP program called Look@LAN, which pings each address in an IP range every 10 minutes to see what is connected. It can also make reports showing when each connection was on and off during a week (for example). However, it crashes more than you can imagine, and is pretty annoying, so I would like to find something similar, but without crashing.
Jason
|
|
|
09-16-2005, 06:53 PM
|
#5
|
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109
Rep:
|
You can use 'nmap' to do this.
If you do 'nmap -sP 192.168.0.0/24' it will scan 192.168.0.1 to 192.168.0.254, and tell you what IPs respond. This could be scripted to run every few minutes, and a log file created.
Dave
|
|
|
09-19-2005, 04:53 PM
|
#6
|
LQ Newbie
Registered: Sep 2005
Distribution: Fedora & Linspire
Posts: 3
Original Poster
Rep:
|
Thanks, that's perfect.
Jason
|
|
|
All times are GMT -5. The time now is 01:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|