LeongHW, SoC, NUS(UIT2201: Networks) Page 1© Leong Hon Wai, 2003-2008
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
LeongHW, SoC, NUS(UIT2201: Networks) Page 2© Leong Hon Wai, 2003-2008
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;
A B C D
My message!! Process it…
Not mine. Discard it…
D message
LeongHW, SoC, NUS(UIT2201: Networks) Page 3© Leong Hon Wai, 2003-2008
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
LeongHW, SoC, NUS(UIT2201: Networks) Page 4© Leong Hon Wai, 2003-2008
LAN
Length of collision delay is randomly generated.
So, different delays for different waiting nodes….
How to Resolve Collisions !!
LeongHW, SoC, NUS(UIT2201: Networks) Page 5© Leong Hon Wai, 2003-2008
LAN (MACP – details from text)
LeongHW, SoC, NUS(UIT2201: Networks) Page 6© Leong Hon Wai, 2003-2008
LAN (MACP – details from text)
LeongHW, SoC, NUS(UIT2201: Networks) Page 7© Leong Hon Wai, 2003-2008
LAN (MACP)
LeongHW, SoC, NUS(UIT2201: Networks) Page 8© Leong Hon Wai, 2003-2008
WAN Network….
Paths from B to F?
What if node C is faulty?
LeongHW, SoC, NUS(UIT2201: Networks) Page 9© Leong Hon Wai, 2003-2008
WAN
LeongHW, SoC, NUS(UIT2201: Networks) Page 10© Leong Hon Wai, 2003-2008
WAN