Sunteți pe pagina 1din 12

Retele de calculatoare

Ethernet : bazele

1
Ethernet - idea

Robert M. Metcalfe, 1976

2
Coliziuni

Statie A

COLIZIUNE

Statie B

3
Detectarea Coliziunilor

4
Conditii de detectare a coliziunilor

Ttr > 2Tpr


Ttr = L/R
Tpr = Lcablu/Vprop

Lmin = 2Tpr*R

Exemplu : R=10Mbps, 2Tpr= 51.2 µs


Lmin = ?

5
CSMA/CD – principu de functionare

6
Ethernet : dimensionare

• Cel mai lung drum dintre statii


• 2 segmente e legatura
• 3 segmente cu statii
• 4 repetoare
• 2.5 km (coaxial)
• Tempul total de propagare in doua sensuri:
• RTD < 512 timpi de bit (51.2 µs) (Round Trip Delay)

Repetor Repetor Repetor Repetor

Segment Coaxial Segment Legatura Segment Coaxial Segment legatura Segment Coaxial

7
Ethernet : regula 5-4-3-2

Dimensionare
• Rergula 5-4-3-2 :
• 5 segmente
• 4 repetoare
• 3 segmente cu statii
• 2 segmente fara de statii
• Pentru coaxial (10Base5 et 10Base2)

8
Drumul cel mai lung

Transceiver

Legatura Drop

25.6

Legatura
25.6

9
Codare

• Banda de baza cu cod Manchester


• 1 binar codat cu un front montant
• 0 binar caodat ucu un front descendent

0 1
+ 0,7v + 0,7v

- 0,7v - 0,7v
50 ns
100 ns

12
Formatul unui cadru IEEE 802.3

Campuri in octeti
7 1 6 6 2 46 - 1500 4
Preambula SFD @ DEST @ SRC Lg DATA DATA FCS

• Debit de emisie : 10 Mbps


• 10 biti pe µs
• Longimea cadrelor (cu preambula si FCS) :
• 18 octeti rezervati pentru protocol (fara de preambula)
• Longimea minima : 64 octeti ( = 6+6+2+46+4)
• Longimea maxima : 1518 octeti (=6+6+2+1500+4)

13
Demultiplexarea Ethernet:
campul Type

• Campul type (2 octeti)


• identifica protocolul de la
nivelul 3
• Valori fixate de RFC
"Assigned Number"
• 0800 IP
• 0806 ARP
• 8035 RARP
• 814C SNMP

16

S-ar putea să vă placă și