LeongHW, SoC, NUS (UIT2201: Networks) Page 1© Leong Hon Wai, (MACP) Medium Access Control Protocol
LeongHW, SoC, NUS (UIT2201: Networks) Page 2© Leong Hon Wai, (MACP) Medium Access Control Protocol
LeongHW, SoC, NUS (UIT2201: Networks) Page 3© Leong Hon Wai, 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” ABCD
LeongHW, SoC, NUS (UIT2201: Networks) Page 4© Leong Hon Wai, 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; ABCD My message!! Process it… Not mine. Discard it… Dmessage
LeongHW, SoC, NUS (UIT2201: Networks) Page 5© Leong Hon Wai, 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! ABCD
LeongHW, SoC, NUS (UIT2201: Networks) Page 6© Leong Hon Wai, Collision Resolution Length of collision delay is randomly generated. So, different delays for different waiting nodes…. How to Resolve Collisions !!
LeongHW, SoC, NUS (UIT2201: Networks) Page 7© Leong Hon Wai, [SG] Notes
LeongHW, SoC, NUS (UIT2201: Networks) Page 8© Leong Hon Wai, WAN Network…. Paths from B to F? What if node C is faulty?
LeongHW, SoC, NUS (UIT2201: Networks) Page 9© Leong Hon Wai, WAN, LAN, Router combination (1)
LeongHW, SoC, NUS (UIT2201: Networks) Page 10© Leong Hon Wai, WAN, LAN, Router combination (2)