All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [LARTC] how can I monitor a (dumb) switch ?
@ 2005-06-03  8:18 cristian_dimache
  2005-06-03  8:24 ` Radu CUGUT
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: cristian_dimache @ 2005-06-03  8:18 UTC (permalink / raw)
  To: lartc

Hi, Radu

You simply cannot monitor a switch that is uncapable of monitoring.
It is as easy as that.
Nevertheless, you can fake the monitoring part by arping to the users
connected directly to that switch.
Arping, because is a layer2 app, goes beyond (or better yet, beneath) any
firewall. If a firewall blocks broadcast arp requests, then it will render
the machine network-less, so no firewall does that.

So, grab your linux box, and start arping!

P.S. Read the thread on mac and IP changing, I feel like we are in rather
the same position...

> Hello there,
>
> Can anyone help me with a problem i have....
>
> I have an ethernet LAN, made over dumb fast-ethernet switches
> (10/100mbit) without management, so there is no IP for the switches.
>
> What I want, if possible, is to find out if a switch is down or not.
>
> It's like with routers... if you want to find out if a router is OK,
> either you send ICMP directly to the router, or to a host "behind" the
> router.
>
> Is there any device, or ANY OTHER possibility that I can find out if a
> switch is unplugged or broken.  Users on my LAN aren't reliable (they
> have firewalls, closed computers, etc.), so pinging users that are
> linked to a switch to find out is out of the question.
>
> I have got an ideea that if I take an ehernet card, and somehow manage
> to put power in it, than I would have a device with MAC addres to
> arping ... is this correct ?
>
> MANY thanks in advance, and SORRY for being a bit out of topic.
>
>
> Best regards,
> Radu.
>
> --
>
>
> Radu Cugut
>
> mobile: +40 742 045686
> web:    http://rcugut.has.it
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [LARTC] how can I monitor a (dumb) switch ?
  2005-06-03  8:18 [LARTC] how can I monitor a (dumb) switch ? cristian_dimache
@ 2005-06-03  8:24 ` Radu CUGUT
  2005-06-03 13:15 ` Daniel Lopes
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Radu CUGUT @ 2005-06-03  8:24 UTC (permalink / raw)
  To: lartc

Hello there,

Can anyone help me with a problem i have....

I have an ethernet LAN, made over dumb fast-ethernet switches
(10/100mbit) without management, so there is no IP for the switches.

What I want, if possible, is to find out if a switch is down or not.

It's like with routers... if you want to find out if a router is OK,
either you send ICMP directly to the router, or to a host "behind" the
router.

Is there any device, or ANY OTHER possibility that I can find out if a
switch is unplugged or broken.  Users on my LAN aren't reliable (they
have firewalls, closed computers, etc.), so pinging users that are
linked to a switch to find out is out of the question.

I have got an ideea that if I take an ehernet card, and somehow manage
to put power in it, than I would have a device with MAC addres to
arping ... is this correct ?

MANY thanks in advance, and SORRY for being a bit out of topic.


Best regards,
Radu.

-- 


Radu Cugut

mobile: +40 742 045686
web:    http://rcugut.has.it
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] how can I monitor a (dumb) switch ?
  2005-06-03  8:18 [LARTC] how can I monitor a (dumb) switch ? cristian_dimache
  2005-06-03  8:24 ` Radu CUGUT
@ 2005-06-03 13:15 ` Daniel Lopes
  2005-06-03 15:34 ` Dmytro O. Redchuk
  2005-06-03 17:03 ` Jay Vosburgh
  3 siblings, 0 replies; 5+ messages in thread
From: Daniel Lopes @ 2005-06-03 13:15 UTC (permalink / raw)
  To: lartc

Radu CUGUT schrieb:
> Hello there,
> 
> Can anyone help me with a problem i have....
> 
> I have an ethernet LAN, made over dumb fast-ethernet switches
> (10/100mbit) without management, so there is no IP for the switches.
> 
> What I want, if possible, is to find out if a switch is down or not.
> 
> It's like with routers... if you want to find out if a router is OK,
> either you send ICMP directly to the router, or to a host "behind" the
> router.
> 
> Is there any device, or ANY OTHER possibility that I can find out if a
> switch is unplugged or broken.  Users on my LAN aren't reliable (they
> have firewalls, closed computers, etc.), so pinging users that are
> linked to a switch to find out is out of the question.
> 
> I have got an ideea that if I take an ehernet card, and somehow manage
> to put power in it, than I would have a device with MAC addres to
> arping ... is this correct ?
> 
> MANY thanks in advance, and SORRY for being a bit out of topic.
> 
> 
> Best regards,
> Radu.
> 
Ping a client you surely know should be connected to the switch. ARP 
will take the part to find out the hardware address so the packet can be 
delivered. If the switch is on it should find a hardware address and ARP 
should put it in your ARP cache. It´s independet from ICMP blocks and 
similar. So after trying to ping you should have an entry in your ARP 
table which you can control with "arp" command.

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] how can I monitor a (dumb) switch ?
  2005-06-03  8:18 [LARTC] how can I monitor a (dumb) switch ? cristian_dimache
  2005-06-03  8:24 ` Radu CUGUT
  2005-06-03 13:15 ` Daniel Lopes
@ 2005-06-03 15:34 ` Dmytro O. Redchuk
  2005-06-03 17:03 ` Jay Vosburgh
  3 siblings, 0 replies; 5+ messages in thread
From: Dmytro O. Redchuk @ 2005-06-03 15:34 UTC (permalink / raw)
  To: lartc

On Fri, Jun 03, 2005 at 11:24:13AM +0300, Radu CUGUT wrote:
> Hello there,
> 
> Can anyone help me with a problem i have....
> 
> I have an ethernet LAN, made over dumb fast-ethernet switches
> (10/100mbit) without management, so there is no IP for the switches.
> 
> What I want, if possible, is to find out if a switch is down or not.
:-)
((never tried, didnt think even a little, but...))

Plug two more cards into you linux box, connect them both to the switch,
make them an interfaces of one bridge inside you linux box and bring up
STP over there. I guess bridge should detect a loop quickly and block one
port. Then you'll be able to monitor bridge's state.

Uh?


Sorry if I'm wrong!-) It's possible quite now...

> 
> Best regards,
> Radu.
> 
> -- 

-- 
  _,-=._              /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
     `._ _,-.   )      _,.-'
        `    G.m-"^m`m'        Dmytro O. Redchuk

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] how can I monitor a (dumb) switch ?
  2005-06-03  8:18 [LARTC] how can I monitor a (dumb) switch ? cristian_dimache
                   ` (2 preceding siblings ...)
  2005-06-03 15:34 ` Dmytro O. Redchuk
@ 2005-06-03 17:03 ` Jay Vosburgh
  3 siblings, 0 replies; 5+ messages in thread
From: Jay Vosburgh @ 2005-06-03 17:03 UTC (permalink / raw)
  To: lartc

Dmytro O. Redchuk <dor@ldc.net> wrote:

>On Fri, Jun 03, 2005 at 11:24:13AM +0300, Radu CUGUT wrote:
>> I have an ethernet LAN, made over dumb fast-ethernet switches
>> (10/100mbit) without management, so there is no IP for the switches.
>> 
>> What I want, if possible, is to find out if a switch is down or not.
[...]
>Plug two more cards into you linux box, connect them both to the switch,
>make them an interfaces of one bridge inside you linux box and bring up
>STP over there. I guess bridge should detect a loop quickly and block one
>port. Then you'll be able to monitor bridge's state.

	I suspect that the bonding driver would also do what you're
looking for.  Docs can be found at:

	http://sourceforge.net/projects/bonding

	It can either monitor the link state, or issue ARP probes (as
somebody else suggested) to check connectivity to a peer on the local
network.  Judging from my experience with managed switches, I suspect
that the bonding driver (in active-backup mode, for example) would
detect link failure faster than STP.

	-J

---
	-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-06-03 17:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-03  8:18 [LARTC] how can I monitor a (dumb) switch ? cristian_dimache
2005-06-03  8:24 ` Radu CUGUT
2005-06-03 13:15 ` Daniel Lopes
2005-06-03 15:34 ` Dmytro O. Redchuk
2005-06-03 17:03 ` Jay Vosburgh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.