Networking Forums

Networking Forums > Computer Networking > Linux Networking > how to distinguish switch or hub per software?

Reply
Thread Tools Display Modes

how to distinguish switch or hub per software?

 
 
0
Guest
Posts: n/a

 
      07-30-2003, 05:15 PM
Hi NG!

Imagine we've got two computers connected to each other by a switch or
hub (per ethernet cable). Are there any means to discover whether,
when sending packets to one machine to the other, these packets are
travelling through a switch or through a hub?
I was just wondering, as switches read one more network layer than
hubs.
Thanks
Bernd
 
Reply With Quote
 
 
 
 
Ian Northeast
Guest
Posts: n/a

 
      07-30-2003, 07:27 PM
0 wrote:
>
> Hi NG!
>
> Imagine we've got two computers connected to each other by a switch or
> hub (per ethernet cable). Are there any means to discover whether,
> when sending packets to one machine to the other, these packets are
> travelling through a switch or through a hub?


I don't think so, not reliably. If you have a third machine handy you
can run a packet sniffer like tcpdump on it and see if it sees non
broadcast traffic between the other two. If it does, it is a hub.

Regards, Ian
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      07-31-2003, 01:38 AM
0 wrote:

> Hi NG!
>
> Imagine we've got two computers connected to each other by a switch or
> hub (per ethernet cable). Are there any means to discover whether,
> when sending packets to one machine to the other, these packets are
> travelling through a switch or through a hub?
> I was just wondering, as switches read one more network layer than
> hubs.
> Thanks
> Bernd


Not really, as both are transparent to users. At best, you might be able to
measure response times from another host, but that's about it. Another
indicator would be lack of traffic on your cable. But again that's iffy.
One sure sign of a switch is a full duplex connection, though it could also
be a cross over cable.


--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
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
software design for Ethernet switch Mark Linux Networking 1 02-25-2010 02:25 PM
Software for Microsoft MN-150 5 Port Ethernet switch =?Utf-8?B?Q2hhcmxpZXJvZw==?= Broadband Hardware 5 06-23-2006 11:49 PM
Looking for software for FORE ES-2810 switch Keith Linux Networking 0 07-14-2005 05:43 AM
Looking for software for FORE ES-2810 switch Keith Windows Networking 0 07-14-2005 05:43 AM
Looking for software for FORE ES-2810 switch Keith Network Routers 0 07-13-2005 06:25 AM



1 2 3 4 5 6 7 8 9 10 11