48
Ethernet

E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Ethernet

Page 2: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

2

Contents

Typical SetupPhysical LayerNames10Base5 CSMA/CD FrameFast Ethernet; Gigabit EthernetPerspective

Page 3: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

3

Ethernet - Typical Setup

Page 4: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

4

Ethernet Physical Layer

UTPUnshielded twisted pairUp to 110m

Fiber100Mbps: 2000mGbps: 220m, 500m, 5000m

Wireless2.4Ghz DSSS: 1Mbps, 2Mbps, 5.5Mbps, and 11Mbps25m – 200m

Page 5: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

5

Ethernet Hub - Physical Layer

Hub: Single Collision Domain

Relay collision!

hub hub

MAC Protocol:CSMA/CD

Wait until silent (carrier sense)TransmitIf collision, wait random time and repeat

Page 6: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

6

Switched Ethernet - Physical Layer

Switch: No Collisions

Multiple transmissions are possible without collisionSwitch stores packets that wait for same output

Switch

Page 7: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

7

Ethernet

Standardizes as IEEE 802.31-persistent CSMA/CD with exponential backoff on

wired LAN Once the channel is sensed idle by a station, tx takes place with probability 1

“Classical” Ethernet is 10Mb/s over 50-ohm Coax wiring

Newer standards cover UTP wiring, 100Mb/s operation, etc

Page 8: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

8

Names for Ethernet

Names of form[rate][modulation][media or distance]

Examples:10base2 (10Mb/s, baseband, thin coax, 200m): Thinnet10base5 (10Mb/s, baseband, thick coax, 500m): Thicknet 10base-T (10Mb/s, baseband, twisted pair): star from hub 100base-TX (100Mb/s, baseband, 2 pair): star from hub/switch 100base-FX (100Mb/s, baseband, 2 fibers): star from hub/switch

Page 9: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

9

Link Layer Networks

Achieve station-to-station connectivityMay be point-to-point or multi-access

Point-to-point may not require addressesMulti-access requires addresses and sharing

Error detectionAddressing

Page 10: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

10

Sharing

How to share a broadcast media (e.g. wire, air)?What to do with two simultaneous speakersApproaches: centralized and distributed

Centralized (polling)Decentralized (speaking when media idle)

Page 11: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

11

Comparing Approaches

Centralized ApproachPolling requires speaker to await moderator, even if

others idleProblems if moderator’s connection fails

Decentralized ApproachNo moderator wait, but subject to collisionsCollisions could continue forever

The Multiple-Access Problem

Page 12: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

12

CSMA Type Networks

CSMA – Carrier Sense Multiple AccessDetect when medium is idle/busyPersistent: Once the channel is sensed idle by a station, tx

takes place with probability 1Non-persistent (send some time soon)

Approach to collisionsp-Persistence: tx takes place with probability p or tx is

deferred one unit of time with probability 1-p: Wireless LAN

Detection and backoff: Ethernet

Page 13: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

13

p-Persistent CSMA

p = Prob(send|idle)E(# stations tx after idle) = np [n: # total stations

ready to send]If np > 1, likely secondary collision, so want p < 1/nn increases with system load, so want smaller p with

high loadSmaller p affects message delayEthernet is 1-persistent

Page 14: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

14

Ethernet Properties - 10base5 (Thicknet)

“Classical” Ethernet Single segment up to 500m; with up to 4 repeaters

gives 2500m max lengthBaseband signals broadcast, Manchester encoding,

32-bit CRC for error detectionMax 1024 stations/Ethernet

Page 15: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

15

Collision Detection and Backoff

Determine if frame transmitted successfully, if not, wait

Collision detectionWait using exponential backoff

Wait random on interval [0, 2(max prop. delay)]Double on each successive collision

Page 16: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

16

Collision Detection

CD circuit operates by looking for voltage exceeding a transmitted voltage

Want to ensure that a station dose not complete transmission prior to CD

Time to CD takes up to 2(max prop. delay)

A B

time

CD

Page 17: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

17

Minimum frame size

Speed of light is about 3x108m/s in vacuum andabout 2x108m/s in copper

So, with 4 repeaters (2500m 10base5) max Ethernet signal prop time is about 12.5μsec, or 25μsec RTT

With repeaters, etc. 802.3 requires 51.2μsec, corresponding to 512 bit-times

Thus, minimum frame size is 512 bits (64 bytes); also called slot time

Page 18: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

18

Collision undetected: A frame tx time < Round-trip propagation time (slot time)

Collision detection:tx time of minimum frame length > slot time

Slot time and minimum frame size

Page 19: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

19

Max frame size

1500 byte limitation on maximum frame transmission size (MTU)

Limits maximum buffers at receiverAllows for other stations to send

Also requires 96 bit Inter-Packet-Gap (IPG)

Page 20: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

20

Transmitter

When ready and line idle, await IPG (96 bit times) and send while listening (CD)

If CD true, the adapter (NIC) generates max 48-bit jamming sequence and do exponential backoff

Jamming sequence used to inform all stations that a collision has occurred

Page 21: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

21

Exponential Backoff

For retransmission n (1 n 10)Choose k at random on U(0, 2n-1)Wait k* (51.2μsec) to retransmitSend on idle; repeat on another collisionFor (11n 15), use U(0, 1023)If n = 16, drop frame

Longer wait implies lower priority (strategy is not “fair”)

Page 22: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

22

1. If no carrier, then it tx its information2. If a carrier is present, it waits until carrier clears, waits an

additional time designated as the Inter-Packet Gap (or IPG: inserted after every successful tx) which is 9.6 S long, and then tx

CSMA/CD (IEEE 802.3 specification)

Page 23: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

23

3. If more than one station tx at the same time, the collision will be detected before any of the stations complete their tx

The minimum frame length of 64 bytes insures that simultaneous tx will be detected before completion, even in the worst case scenario of two stations at the limits of the segments colliding

When a collision is detected, the transmitting station ceases tx of information and tx a 48-bit jam signal to indicate to other stations on the network that a collision has occurred

CSMA/CD (IEEE 802.3 specification)

Page 24: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

24

4. After collision, the transmitting station executes the backoff algorithm

The backoff algorithm basically consists of the transmitting station waiting a random interval before re-transmitting

The transmitting station selects a random number from a limited range of random numbers specified by the equation:

Max Range = 2n – 1where n is the number of collisions that the transmitting station has experienced

CSMA/CD (IEEE 802.3 specification)

Page 25: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

25

The random number selected from the specified range is then multiplied by a constant referred to as a time slot, which is derived from the bit length of the medium (512 bits at 10 Mbps or 51.2 S)

The number n is incremented each time a collision occurs, until its value is 10, corresponding to a possible maximum waiting interval of 51.2 S 1023

This range of numbers is used for the next 5 collisions, after 15 collisions the algorithm will report an error to the higher level application

CSMA/CD (IEEE 802.3 specification)

Page 26: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

26

Capture Effect

Given two stations A and B, unfair strategy can cause A to continue to “win”

Assume A and B always ready to send:If busy, both wait, then send and collideSuppose A wins, B backs offNext time, B’s chances of winning are halvedTo winner every collision is the 1st one

Page 27: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

27

CSMA/CD

Typical Sequence of Events:Average time until success = 5TT = max prop. time

between 2 nodesAverage = L/R secondsL = average frame length

Wait RandomTime Successful Transmission

Start Transmitting

Collision

Efficiency = = 1/(1 + 5a)

a = T/(L/R) = RT/L

L/RL/R + 5T

Page 28: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

28

Efficiency of CSMA/CD

a impacts what happens during simultaneous transmisstion:a small: early collision detection, efficienta large: late detection, inefficient

Example 1: 10Mbps, 1000m=> T = (1km)(4μs/km) = 4μs; RT = 40 bits

L = 4000 bits5a = 200/4000 = 0.05 => efficiency 95%

Example 2: 1Gbps, 200m=> T = (0.2km)(4μs/km) = 0.8μs; RT = 800bits

L = 4000 bits5a = 4000/4000 = 1 => efficiency = 50%

a = RT/Leff = 1/(1 + 5a)

Page 29: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

29

Efficiency of CSMA/CD – Analysis

Model:

P(success) = P(exactly 1 out of N transmits) = Np(1-p)N-1

Indeed: N possibilities of station that transmitsP(one given station transmits, others do not) = p(1-p)N-1

Slot = 2T

N stations compete each by transmitting with probability p during the slot, independently

If success => transmit L bitsIf failure (idle or collision), try next slot

Page 30: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

30

Efficiency of CSMA/CD – Analysis

P(success) = Np(1-p)N-1

Maximum when p = 1/N=> P(success) = 1/e = 0.36

Average time until success:A = 0.36(0) + 0.64(2T + A)

=> A = 1.28T/0.36 = 3.5TIn practice, backoff not quite optimal => 5T

Slot = 2TAverage = A

success

Page 31: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

31

Network Interface Card (NIC)

Each node has a NICNIC is responsible for tx and rx data framesEach NIC has a different address: MAC address

Page 32: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

32

Ethernet Frame

PRE SFD DA SA LEN DSAP SSAPCONT Data PAD CRC

7 1 26 6 1 1 1 or 2 4bytes

64 to 1,518 bytes (512 to 12,144 bits)

LLC frame

Page 33: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

33

Frame Structure

7 byte preamble: alternating 0/1 combination producing 10Mhz square wave for 5.6 μsec, used for receiver sync

1byte SFD (start of frame delimiter) 10101011 6 byte destination address, 6 byte source address, 2 byte

type/length overloaded fieldVariable sized data portion followed by 4-byte CRC-32Sends low-order bit first for 802.3

Page 34: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

34

Ethernet Frame

Length/Type field:Type (Ethernet V2)

Indicates type of data contained in payloadIssue: what is the length?

Length field (IEEE 802.3)Type info follows frame header

So, is it the type or length?“Ethernet”: types have values above 2048 (RFC894 for IP)802.3: length value below 05DC (RFC1042 for IP)

IF length, next headers are LLC and SNAP (for IP)LLC (3 bytes): DSAP, SSAP, CTLSNAP (5 bytes): org code, type (above)

Page 35: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Most commonly used

Page 36: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

36

Page 37: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

37

Ethernet Addressing

48 bit Ethernet/MAC/Hardware Addresses in NIC00:60:8C:01:02:03Prefix assigned per-vendor by IEEEUnique per-adapter, burned into ROM

Page 38: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

38

Ethernet Address 00:60:8C:01:02:03

Page 39: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

39

Multicast Addressing

Multicast (least significant bit of 1st byte = 1) and Broadcast (all 1’s) addresses (used for ARP)

Many adapters support promiscuous mode, i.e., delivers all received frames to the host

Each vendor assignment supports 224 individual and group (multicast) addresses

Each adapter supports multiple group “subscriptions”Usually implemented as hash tableThus, software may have to filter at higher layer

Page 40: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

40

IEEE 802.3u 100 Mb/s

“Fast Ethernet” (1995) adds:10x speed increase100m max cable length retains min 64 byte frames

between hub and stationsReplace Manchester with 4B/5BFull-duplex operation using switches:

non-shared linkCSMA/CD disabled

Speed and duplex auto-negotiation

Page 41: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

41

Hubbing with Ethernet

Page 42: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

42

Switch

Ethernet Switch

Page 43: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

43

LAN Hub and Switch

Page 44: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

44

IEEE 802.3{z,ab} 1000 Mb/s

“Gigabit Ethernet” (1998, 9) adds:100x speed increaseCarrier extension (invisible padding…)

>=4096 bit-times, up from the minimum 512 bit-timesFrame bursting

multiple short frames tx consecutively without CSMA/CD between frames

Page 45: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

45

풍동실험실

PP동

원자력양자

항공우주

기계(서관)

기계(동관)

학사기숙사

행정동

자연과학동

전산학동

산업경영학동

응용공학동

동측기숙사

Kreonet

EPN

Hanaro

CHiPS LG Hall

교육지원동

동문창업관

행정분관

APAN Cisco Catalyst 6509

Cisco GSR 12012

인공위성

교수회관

모터풀공작실

반도체동

영상동

교직원회관

PP동

대강당

체육관

생명화공

무기재료공학

재료공학

산업공학

산업경영수학

물리

생물과학

화학

기혼자기숙사

독신료

건설환경

서측기숙사

서측기계실

의과학연구센터

과학도서관

서측학생회관

PP동

학사기계실

태울관

에너지환경연구센터

여학생

나동

가동

다동라동

마동

바동

교양도서관

6동5동

4동

2동

3동

1동

4동

2동5동

3동

1동

전기전자공학동

3동

7동

5동

6동4동

1동

2동

영빈관

1호관

3호관

2호관

Cisco Catalyst 4006

Cisco Catalyst 4003

Cisco Catalyst 3500XL

Single Mode Fiber

Multi Mode Fiber

Single Mode Fiber(Core Link)

Single Mode Fiber

Multi Mode Fiber

기계공학동

인문사회과학관

정문술빌딩

네트워크강의동

신기술창업관

별동

Cisco Catalyst 4506

KAIST Gigabit Ethernet

Page 46: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

46

Other LAN Technologies

Ring networks generally more complexIBM 4/16 Mb/s token ringFDDI

Connection-orientedATM, HIPPI

Page 47: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

47

Perspective

Ethernet is wildly successful, partly due to low cost; Compare with FDDI or Token Ring

Some issues:Nondeterministic serviceNo prioritiesMin frame size may be large

Page 48: E1.Ethernet [호환 모드] - KAISTheuristic.kaist.ac.kr/.../2015_classnotes/E1.Ethernet.pdf · 2015-05-12 · Telecom Systems Chae Y. Lee 17 Minimum frame size Speed of light is

Telecom Systems Chae Y. Lee

48

Summary

Ethernet: Physical/Link layer protocol1-persistent CSMA/CD with exponential backoff on

wired LANMinimum frame size is 512 bits (64 bytes) to detect

collisionEthernet Frame tr/rx by NIC48 bit Ethernet/MAC/Hardware Addresses in NICFast/Gigabit Ethernet using hubs and switches