MACP and Ethernet Protocols: Medium Access Control and Collision Resolution
100 likes | 149 Vues
Learn about Medium Access Control Protocol (MACP) and Ethernet Protocol, how messages are broadcasted, handled collisions, and resolved. Explore WAN, LAN, Router setups in network communications.
MACP and Ethernet Protocols: Medium Access Control and Collision Resolution
E N D
Presentation Transcript
Ethernet (Medium Access Control Protocol) • A single shared comm. Line • Used by all (each check if “free” or “busy”) • Message is broadcasted to all • Message has • “destination address” and “message-body” A B C D
A B C D D message Not mine. Discard it… Ethernet Protocol (how it works) • Node A wants to send something to node D • Message’s “destination address” = D • Message is broadcasted to all… • Every Machine checks • If not mine, then discard; else process message; My message!! Process it…
Ethernet Protocol (Collision) • What if shared line is busy when node B wants to send? • Eg: If node A is currently sending…. • Node B waits… and send after node A is done. • What if many nodes are waiting… • And simultaneously send when node A is done! A B C D
Length of collision delay is randomly generated. So, different delays for different waiting nodes…. Collision Resolution How to Resolve Collisions !!
Paths from B to F? What if node C is faulty? WAN Network….