[186399] in North American Network Operators' Group
Re: reliably detecting the presence of a bridge?
daemon@ATHENA.MIT.EDU (Anoop Ghanwani)
Wed Dec 16 10:33:14 2015
X-Original-To: nanog@nanog.org
In-Reply-To: <05dc01d13807$643e3520$2cba9f60$@gmail.com>
Date: Wed, 16 Dec 2015 07:33:04 -0800
From: Anoop Ghanwani <anoop@alumni.duke.edu>
To: Chuck Church <chuckchurch@gmail.com>
Cc: NANOG <nanog@nanog.org>
Errors-To: nanog-bounces@nanog.org
If LLDP (link layer discovery protocol) is enabled, you could try using
that. There is a system capabilities TLV in the LLDPDU sent by a system,
but I'm not sure how reliably it is filled in, especially if a device is
capable of both switching and routing. The way LLDP is supposed to work is
a device will receive LLDPDUs from other devices immediately adjacent to
it. It can then read the LLDP database of those devices (via management)
and figure out what those devices are connected to, and so on.
Otherwise, bridges are supposed to be "transparent," so there is no way to
know they are present by using user data frames.
Anoop