Linux - NetworkingThis 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.
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.
I'm just setting up Ethereal for the first time to analyze some of the traffic to a couple of servers. I've got Ethereal installed on my personal workstation. When I capture data, I only see packets to or from my own computer, and don't see any traffic sent to the servers.
Here's a diagram of how the network is set up:
Code:
me -------- switch ------- internet
|
|
server a --- hub --- server b
|
|
server c
I am not too familiar with networking, but I have an inkling that the switch is preventing me from seeing the traffic that I want to see. Can someone help me out with this? Do I need to splice in to a different part in the network?
from your perspective, you need to use a hub and not a switch. A switch is a logical star, i.e. it will only place IP packets onto a network segment that contains the destination, or a switched route to it, whilst a hub is a logical bus, i.e. all data goes to everything connected to it. this generally sucks, as it is horribly wasteful of bandwidth, but obviously has some uses. these days you would normally want to either bridge the link to the internet so all traffic physically passed through your analysis box, or use port mirroring to copy all traffic on one port to another (if it was a mirrored switch). I would not expect these to be real options for you though. maybe i'm wrong to assume that, but as you have a hub in the diagram already, just swap them found, and you'll actually make better use of both connection boxes.
Last edited by acid_kewpie; 03-08-2006 at 02:04 PM.
Thanks for the info. I know a little bit about port mirroring. Can you explain what you mean by bridging the link to the internet and an "analysis box"?
basically you turn your own machine into a two port switch, internal one side, external outside. i certainly wouldn't say this was an option for what you're asking about. these would be "ideal" solutions which aren't suitable if it's your own desktop being used.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.