[Bridge] Network seperation and ethernet bridge...

Stephen Hemminger shemminger at osdl.org
Wed Aug 9 10:05:32 PDT 2006


On Wed, 9 Aug 2006 18:02:03 +0800
"He, Zhenjie" <hezhenjie at gmail.com> wrote:

> Thank you for your reply.
> On 8/9/06, Stephen Hemminger <shemminger at osdl.org> wrote:
> >
> > On Tue, 8 Aug 2006 14:05:03 +0800
> > "He, Zhenjie" <hezhenjie at gmail.com> wrote:
> >
> > > Hi, Stephen/all,
> > >
> > > The situation I meet is similar as this.
> > >
> > > I want to capture BPDU packets go through the Linux bridge,
> >
> > Simpler just to use something like AF_PACKET, or tools like pcapture?
> 
> 
> I intend to use a Linux bridge with stp enable in the internal to generate
> BPDU packets, and use ethereal or tcpdump to capture packets in the other
> side.
> Is there other ways to generate BPDU?

You could use LLC to send/receive spanning tree BPDU's.
Or you could use the Ethernet tap driver (tuntap) and attach a pseudo-device
to a bridge.



More information about the Bridge mailing list