On Apr 6, 2005 5:58 PM, Russell Fulton <[EMAIL PROTECTED]> wrote:

> BTW I have also spent some time looking for docs that describe exact
> order of processing of packets but could not find anything useful.

#man bridge 4

     The algorithm works as follows by default, but can be modified via
     ioctl(2) or the utility brconfig(8).  When a frame comes in, the origin
     segment and the source address are recorded.  If the bridge has no knowl-
     edge about where the destination is to be found, the bridge will forward
     the frame to all attached segments.  If the destination is known to be on
     a different segment from its origin, the bridge will forward the packet
     only to the destination segment.  If the destination is on the same seg-
     ment as the origin segment, the bridge will drop the packet because the
     receiver has already had a chance to see the frame.  Before forwarding a
     frame, the bridge will check to see if the packet contains an ip(4) or
     ip6(4) datagram; if so, the datagram is run through the pf(4) interface
     so that it can be filtered.

Hopefully that helps, it seems to describe exactly what you were asking.

-- 
Jon Simola
Systems Administrator
ABC Communications

Reply via email to