Bridges and CSMA/CD Networks
Suppose two LAN segments A and B connected to each other by a bridge. In the steady state (when bridge has learned the locations of the computers on both segments) the bridge will forward the frames from one segment to another segment if necessary. There is concept of parallelism, it means after bridge learns the locations of all the computers the two segments can be used simultaneously.
Suppose on segment A there is a communication going on among segment A’s computers and segment A is not idle, at the same time a computer on segment B senses the medium and found that the medium is idle and sends a frame to another computer which is on segment A. Now what happens? Bridge will receive the frame and now if bridge forwards this frame on segment A then obviously this results collision, Question arises is, Does bridge will store this frame in its memory and senses the segment A to become idle so that the frame can be transmitted?.
Second question, suppose a computer comp1 on segment A sends data to another computer comp2 on segment B, Comp1 senses the medium and finds that the medium is idle and sends data but at the same time comp2 senses the medium and finds that the medium is idle and sends data to comp1. Frame of comp1 and frame of comp2 both reaches the bridge at the same time, what the bridge will do? Is both the frames collide inside the bridge? Or bridge will store both the frames, which frame will be stored first? and if it stores which frame will be forwarded first ?
