ethernet (medium access control protocol)

10
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

Upload: reece

Post on 16-Jan-2016

42 views

Category:

Documents


0 download

DESCRIPTION

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…. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Ethernet (Medium Access Control Protocol)

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

Page 2: Ethernet (Medium Access Control Protocol)

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

Page 3: Ethernet (Medium Access Control Protocol)

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

Page 4: Ethernet (Medium Access Control Protocol)

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 !!

Page 5: Ethernet (Medium Access Control Protocol)

LeongHW, SoC, NUS(UIT2201: Networks) Page 5© Leong Hon Wai, 2003-2008

LAN (MACP – details from text)

Page 6: Ethernet (Medium Access Control Protocol)

LeongHW, SoC, NUS(UIT2201: Networks) Page 6© Leong Hon Wai, 2003-2008

LAN (MACP – details from text)

Page 7: Ethernet (Medium Access Control Protocol)

LeongHW, SoC, NUS(UIT2201: Networks) Page 7© Leong Hon Wai, 2003-2008

LAN (MACP)

Page 8: Ethernet (Medium Access Control Protocol)

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?

Page 9: Ethernet (Medium Access Control Protocol)

LeongHW, SoC, NUS(UIT2201: Networks) Page 9© Leong Hon Wai, 2003-2008

WAN

Page 10: Ethernet (Medium Access Control Protocol)

LeongHW, SoC, NUS(UIT2201: Networks) Page 10© Leong Hon Wai, 2003-2008

WAN