- When the bridge
receives an
Ethernet frame
on the port P:
/* ==================================
Learn step
================================== */
if ( Source Addr ∉ Forwarding Table(P) )
Enter Source Addr in Forwarding Table(P); // Learn step !!!
/* ==================================
Forwarding step
================================== */
if ( Destination address ∈ Forwarding Table(P) )
{
Discard frame
}
else
{
Forward the frame on the other port
}
|
|