Networking Forums

Networking Forums > Computer Networking > Windows Networking > sniffing network traffic, only via a hub or does it matter?

Reply
Thread Tools Display Modes

sniffing network traffic, only via a hub or does it matter?

 
 
markm75
Guest
Posts: n/a

 
      04-10-2008, 05:32 PM
I'm trying to trace down some sluggishness in our network and see what ports
are in use and activity etc.. using Ethereal and other tools..

Is it true.. that the best way is to plug a laptop into a hub (vs a switch),
which actually would sit outside the firewall.. in between the router and the
cable modem (internet)?

Thanks for any info..
 
Reply With Quote
 
 
 
 
Dave
Guest
Posts: n/a

 
      04-10-2008, 05:41 PM

"markm75" <(E-Mail Removed)> wrote in message
news:A6ACD23E-5FB5-4BA4-A3F9-(E-Mail Removed)...
> I'm trying to trace down some sluggishness in our network and see what
> ports
> are in use and activity etc.. using Ethereal and other tools..
>
> Is it true.. that the best way is to plug a laptop into a hub (vs a
> switch),
> which actually would sit outside the firewall.. in between the router and
> the
> cable modem (internet)?
>
> Thanks for any info..


well, it depends.... if the external network connection is slow then this is
the likely place to start. if the internal network is slow then this won't
help as you need to watch machine to machine traffic on the lan that won't
show up outside the router.


 
Reply With Quote
 
markm75
Guest
Posts: n/a

 
      04-10-2008, 06:23 PM


"Dave" wrote:

>
> "markm75" <(E-Mail Removed)> wrote in message
> news:A6ACD23E-5FB5-4BA4-A3F9-(E-Mail Removed)...
> > I'm trying to trace down some sluggishness in our network and see what
> > ports
> > are in use and activity etc.. using Ethereal and other tools..
> >
> > Is it true.. that the best way is to plug a laptop into a hub (vs a
> > switch),
> > which actually would sit outside the firewall.. in between the router and
> > the
> > cable modem (internet)?
> >
> > Thanks for any info..

>
> well, it depends.... if the external network connection is slow then this is
> the likely place to start. if the internal network is slow then this won't
> help as you need to watch machine to machine traffic on the lan that won't
> show up outside the router.
>
>
>


But does it matter if its a switch or a hub?

In my case we had one user who was causing our internet connection to slow
down to 300ms in ping times.. i was able to trace the problem to them by
putting the laptop in front of the router.. but by the same token.. i think
the software captures the same data if behind the router and on a switch (not
sure if a hub is needed or if so why)?


 
Reply With Quote
 
Dave
Guest
Posts: n/a

 
      04-10-2008, 07:36 PM

"markm75" <(E-Mail Removed)> wrote in message
news:CE3EF95E-E28A-42FE-9649-(E-Mail Removed)...
>
>
> "Dave" wrote:
>
>>
>> "markm75" <(E-Mail Removed)> wrote in message
>> news:A6ACD23E-5FB5-4BA4-A3F9-(E-Mail Removed)...
>> > I'm trying to trace down some sluggishness in our network and see what
>> > ports
>> > are in use and activity etc.. using Ethereal and other tools..
>> >
>> > Is it true.. that the best way is to plug a laptop into a hub (vs a
>> > switch),
>> > which actually would sit outside the firewall.. in between the router
>> > and
>> > the
>> > cable modem (internet)?
>> >
>> > Thanks for any info..

>>
>> well, it depends.... if the external network connection is slow then this
>> is
>> the likely place to start. if the internal network is slow then this
>> won't
>> help as you need to watch machine to machine traffic on the lan that
>> won't
>> show up outside the router.
>>
>>
>>

>
> But does it matter if its a switch or a hub?
>
> In my case we had one user who was causing our internet connection to slow
> down to 300ms in ping times.. i was able to trace the problem to them by
> putting the laptop in front of the router.. but by the same token.. i
> think
> the software captures the same data if behind the router and on a switch
> (not
> sure if a hub is needed or if so why)?
>
>

a switch only sends a machine packets that are meant for it, or broadcast
packets meant for the whole network. so if the sniffer is on a switch port
it won't see the other machine's traffic. a hub sends everything to every
port that is connected. so putting a hub between the modem and router is
the only way to monitor internet traffic for all the machines.

it won't let you monitor internal lan traffic between machines or servers on
your lan since the router will keep them inside and not send them to the
internet connection.


 
Reply With Quote
 
markm75
Guest
Posts: n/a

 
      04-10-2008, 07:55 PM


"Dave" wrote:

>
> "markm75" <(E-Mail Removed)> wrote in message
> news:CE3EF95E-E28A-42FE-9649-(E-Mail Removed)...
> >
> >
> > "Dave" wrote:
> >
> >>
> >> "markm75" <(E-Mail Removed)> wrote in message
> >> news:A6ACD23E-5FB5-4BA4-A3F9-(E-Mail Removed)...
> >> > I'm trying to trace down some sluggishness in our network and see what
> >> > ports
> >> > are in use and activity etc.. using Ethereal and other tools..
> >> >
> >> > Is it true.. that the best way is to plug a laptop into a hub (vs a
> >> > switch),
> >> > which actually would sit outside the firewall.. in between the router
> >> > and
> >> > the
> >> > cable modem (internet)?
> >> >
> >> > Thanks for any info..
> >>
> >> well, it depends.... if the external network connection is slow then this
> >> is
> >> the likely place to start. if the internal network is slow then this
> >> won't
> >> help as you need to watch machine to machine traffic on the lan that
> >> won't
> >> show up outside the router.
> >>
> >>
> >>

> >
> > But does it matter if its a switch or a hub?
> >
> > In my case we had one user who was causing our internet connection to slow
> > down to 300ms in ping times.. i was able to trace the problem to them by
> > putting the laptop in front of the router.. but by the same token.. i
> > think
> > the software captures the same data if behind the router and on a switch
> > (not
> > sure if a hub is needed or if so why)?
> >
> >

> a switch only sends a machine packets that are meant for it, or broadcast
> packets meant for the whole network. so if the sniffer is on a switch port
> it won't see the other machine's traffic. a hub sends everything to every
> port that is connected. so putting a hub between the modem and router is
> the only way to monitor internet traffic for all the machines.
>
> it won't let you monitor internal lan traffic between machines or servers on
> your lan since the router will keep them inside and not send them to the
> internet connection.
>
>
>


I understand this a bit clearer.. but still confused on how apps like
Ethereal are able to capture traffic when i'm running it say on the main
switch (from my desktop) in our LAN.. i can see multiple machine's traffic
and external ports it is using.. like say if someone is using a bitorrent
tool.. those ports appear.. even on the switch..

Or for that matter.. a program like the network monitor with SMS which can
capture all traffic.. that server is on a switch as well...


 
Reply With Quote
 
Dave
Guest
Posts: n/a

 
      04-11-2008, 01:00 AM

"markm75" <(E-Mail Removed)> wrote in message
news:98C5E28F-25CD-40E9-ABD1-(E-Mail Removed)...
>
>
> "Dave" wrote:
>
>>
>> "markm75" <(E-Mail Removed)> wrote in message
>> news:CE3EF95E-E28A-42FE-9649-(E-Mail Removed)...
>> >
>> >
>> > "Dave" wrote:
>> >
>> >>
>> >> "markm75" <(E-Mail Removed)> wrote in message
>> >> news:A6ACD23E-5FB5-4BA4-A3F9-(E-Mail Removed)...
>> >> > I'm trying to trace down some sluggishness in our network and see
>> >> > what
>> >> > ports
>> >> > are in use and activity etc.. using Ethereal and other tools..
>> >> >
>> >> > Is it true.. that the best way is to plug a laptop into a hub (vs a
>> >> > switch),
>> >> > which actually would sit outside the firewall.. in between the
>> >> > router
>> >> > and
>> >> > the
>> >> > cable modem (internet)?
>> >> >
>> >> > Thanks for any info..
>> >>
>> >> well, it depends.... if the external network connection is slow then
>> >> this
>> >> is
>> >> the likely place to start. if the internal network is slow then this
>> >> won't
>> >> help as you need to watch machine to machine traffic on the lan that
>> >> won't
>> >> show up outside the router.
>> >>
>> >>
>> >>
>> >
>> > But does it matter if its a switch or a hub?
>> >
>> > In my case we had one user who was causing our internet connection to
>> > slow
>> > down to 300ms in ping times.. i was able to trace the problem to them
>> > by
>> > putting the laptop in front of the router.. but by the same token.. i
>> > think
>> > the software captures the same data if behind the router and on a
>> > switch
>> > (not
>> > sure if a hub is needed or if so why)?
>> >
>> >

>> a switch only sends a machine packets that are meant for it, or broadcast
>> packets meant for the whole network. so if the sniffer is on a switch
>> port
>> it won't see the other machine's traffic. a hub sends everything to
>> every
>> port that is connected. so putting a hub between the modem and router is
>> the only way to monitor internet traffic for all the machines.
>>
>> it won't let you monitor internal lan traffic between machines or servers
>> on
>> your lan since the router will keep them inside and not send them to the
>> internet connection.
>>
>>
>>

>
> I understand this a bit clearer.. but still confused on how apps like
> Ethereal are able to capture traffic when i'm running it say on the main
> switch (from my desktop) in our LAN.. i can see multiple machine's traffic
> and external ports it is using.. like say if someone is using a bitorrent
> tool.. those ports appear.. even on the switch..
>
> Or for that matter.. a program like the network monitor with SMS which can
> capture all traffic.. that server is on a switch as well...
>
>


are you sure that its really a switch? not all routers have switches built
in, some have hubs that would let you see all the traffic.


 
Reply With Quote
 
markm75
Guest
Posts: n/a

 
      04-11-2008, 02:05 PM


"Dave" wrote:

>
> "markm75" <(E-Mail Removed)> wrote in message
> news:98C5E28F-25CD-40E9-ABD1-(E-Mail Removed)...
> >
> >
> > "Dave" wrote:
> >
> >>
> >> "markm75" <(E-Mail Removed)> wrote in message
> >> news:CE3EF95E-E28A-42FE-9649-(E-Mail Removed)...
> >> >
> >> >
> >> > "Dave" wrote:
> >> >
> >> >>
> >> >> "markm75" <(E-Mail Removed)> wrote in message
> >> >> news:A6ACD23E-5FB5-4BA4-A3F9-(E-Mail Removed)...
> >> >> > I'm trying to trace down some sluggishness in our network and see
> >> >> > what
> >> >> > ports
> >> >> > are in use and activity etc.. using Ethereal and other tools..
> >> >> >
> >> >> > Is it true.. that the best way is to plug a laptop into a hub (vs a
> >> >> > switch),
> >> >> > which actually would sit outside the firewall.. in between the
> >> >> > router
> >> >> > and
> >> >> > the
> >> >> > cable modem (internet)?
> >> >> >
> >> >> > Thanks for any info..
> >> >>
> >> >> well, it depends.... if the external network connection is slow then
> >> >> this
> >> >> is
> >> >> the likely place to start. if the internal network is slow then this
> >> >> won't
> >> >> help as you need to watch machine to machine traffic on the lan that
> >> >> won't
> >> >> show up outside the router.
> >> >>
> >> >>
> >> >>
> >> >
> >> > But does it matter if its a switch or a hub?
> >> >
> >> > In my case we had one user who was causing our internet connection to
> >> > slow
> >> > down to 300ms in ping times.. i was able to trace the problem to them
> >> > by
> >> > putting the laptop in front of the router.. but by the same token.. i
> >> > think
> >> > the software captures the same data if behind the router and on a
> >> > switch
> >> > (not
> >> > sure if a hub is needed or if so why)?
> >> >
> >> >
> >> a switch only sends a machine packets that are meant for it, or broadcast
> >> packets meant for the whole network. so if the sniffer is on a switch
> >> port
> >> it won't see the other machine's traffic. a hub sends everything to
> >> every
> >> port that is connected. so putting a hub between the modem and router is
> >> the only way to monitor internet traffic for all the machines.
> >>
> >> it won't let you monitor internal lan traffic between machines or servers
> >> on
> >> your lan since the router will keep them inside and not send them to the
> >> internet connection.
> >>
> >>
> >>

> >
> > I understand this a bit clearer.. but still confused on how apps like
> > Ethereal are able to capture traffic when i'm running it say on the main
> > switch (from my desktop) in our LAN.. i can see multiple machine's traffic
> > and external ports it is using.. like say if someone is using a bitorrent
> > tool.. those ports appear.. even on the switch..
> >
> > Or for that matter.. a program like the network monitor with SMS which can
> > capture all traffic.. that server is on a switch as well...
> >
> >

>
> are you sure that its really a switch? not all routers have switches built
> in, some have hubs that would let you see all the traffic.
>
>
>


Yep.. they are Dlink DGS-1248T gigabit switches, 3 of em.. sitting behind
the router..

Or perhaps i'm just catching outbound traffic and not client to client..
when sitting on the switch.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Connect to the Web No matter What I Do. feurio Wireless Networks 2 04-05-2010 12:31 AM
I always see the same wireless network no matter where I am located NoSpam@anywhere.com Wireless Internet 5 10-18-2008 08:45 PM
I always see one praticular wireless network no matter where I am located NoSpam@anywhere.com Wireless Internet 0 10-09-2008 02:45 AM
Does the Network Card matter? Chris Broadband 3 12-23-2005 11:39 AM
A matter of Spam Derrick Fawsitt Broadband 3 12-08-2004 10:17 PM



1 2 3 4 5 6 7 8 9 10 11