You are on page 1of 11

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

STP
Area de Ingeniera Telemtica http://www.tlm.unavarra.es Redes de Banda Ancha 5 Ingeniera de Telecomunicacin

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Caminos redundantes
El host A enva una trama al host B

Switch1
If MAC

A
If

Switch2
MAC

E0 E1

E0 E1

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Caminos redundantes
Switch1 y Switch2 aprenden la localizacin del host A
A
If

Switch1
If E0 MAC A

Switch2
MAC A

E0 E1

E0

E0 E1

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Caminos redundantes
Los conmutadores no conocen al destino Reenvan por todos los puertos menos por donde recibieron Switch1 A
If

Switch2
MAC A

If E0

MAC A

E0 E1

E0

E0 E1

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Caminos redundantes
Host B recibe la trama Switch2 recibe la trama que envi Switch1 Switch1 recibe la trama que envi Switch2 Switch1 A
If

Switch2
MAC A

If E0

MAC A

E0 E1

E0

E0 E1

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Caminos redundantes
Aprenden una nueva ubicacin del host A

Switch1
If E1 MAC A

A
If

Switch2
MAC A

E0 E1

E1

E0 E1

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Caminos redundantes
Aprenden una nueva ubicacin del host A Y reenvan por todos los puertos menos por donde recibieron la trama Switch1 A
If

Switch2
MAC A

If E1

MAC A

E0 E1

E1

E0 E1

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Caminos redundantes
Y se repite No hay TTL en la trama Ethernet Adems todos los hosts la deberan procesar Switch1 A
If

Switch2
MAC A

If E1

MAC A

E0 E1

E1

E0 E1

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Ejercicio
PC enva trama de broadcast

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Spanning-Tree Protocol (STP)


Calcula una topologa libre de ciclos A partir del grafo de la topologa crea un rbol Desactiva los enlaces sobrantes IEEE 802.1D

Puente 2

Puente 1

Puente 4

Puente 3 Puente 1 Puente 4 Radia Perlman (1983) Puente 2 Puente 3

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Spanning-Tree Protocol (STP)


BPDUs
Bridge Protocol Data Units Enviadas peridicamente por los puentes Destino 01:80:C2:00:00:00 (Bridge Group Address) No son reenviadas Prio. MAC BID = Bridge ID Informacin importante: 2 Bytes 6 Bytes
Root BID Root Path Cost Sender BID Port ID

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Spanning-Tree Protocol (STP)


Seleccin de un Root Bridge (Root War !!!)
Raz para el rbol A partir de un valor de prioridad y una MAC del puente
Vienen en las BPDU Puente de prioridad ms baja (def. 0x8000) MAC ms baja en caso de empate

Puente 2

Puente 1 Puente 3

Puente 4

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Spanning-Tree Protocol (STP)


Path Cost
Asociado a cada LAN Segn la velocidad Originalmente 1000 / Velocidad(Mbps) 802.1D-2004 :

Se va agregando en un camino creando el Root Path Cost

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Spanning-Tree Protocol (STP)


BPDUs
Se pueden comparar entre si Se puede decidir si un BPDU recibida por un puerto es mejor que otra Mejor en el sentido de mejor camino a la raz Relacionado con el coste hasta la raz Incluye dependencia con la velocidad de los tramos

Puente 2

Puente 1

Puente 4

Puente 3

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Spanning-Tree Protocol (STP)


Root Port
Puerto con menor Root Path Cost Puente raz es el nico sin un puerto raz

Puente 2

Puente 1 R Puente 3 R

R Puente 4

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Spanning-Tree Protocol (STP)


Designated Port
Del puente conectado a una LAN con mejor camino hasta la raz Uno por segmento

Puente 2

D D Puente 1 R Puente 3 R

R Puente 4 D

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Spanning-Tree Protocol (STP)


Blocked Port
No se aprenden MACs No se reenvan tramas Se aceptan BPDUs Es un puerto alternativo o de backup
Puente 2

Puente 1 Puente 4 Puente 3

Puente 2

D D Puente 1 R Puente 3 R

R Puente 4 D

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Spanning-Tree Protocol (STP)


Cambios en la topologa
Ante un fallo Recalcular rbol Tiempo de convergencia: 30-60 segs
Puente 2

Puente 1 Puente 4 Puente 3

Puente 2

D D Puente 1 R Puente 3 R

R Puente 4 D

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Spanning-Tree Protocol (STP)


Seleccin del puente raz
Por defecto todos la misma prioridad Gana el de direccin MAC ms baja Primeros 3 bytes de la MAC son el OUI Luego el ganador depende del fabricante ! Cuidado pues puede ser el conmutador ms lento Seleccin manual con el campo de prioridad
Prio. Puente 1 Puente 3 2 Bytes MAC 6 Bytes

Puente 2

Puente 4

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

RSTP
Rapid Spanning-Tree Protocol
IEEE 802.1w STP obsoleto RSTP en 802.1D-2004 Tiempos de convergencia de 2-3 segs

Puente 1 Puente 2 Puente 1 Puente 4 Puente 2 Puente 4 Puente 3

Puente 3

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Otros temas sobre Ethernet

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Frame Priority
IEEE 802.1p Classes of Service (CoS) PCP = Priority Code Point Permite aplicar tcnicas de planificacin Si VID=0 solo se indica la prioridad 0x8100 16 bits 802.1Q
Dest Addr Src Addr

PCP 3 bits

VID 12 bits

VLAN Tag

EtherType

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Link Aggregation
IEEE 802.3ad

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Link Aggregation
Tipos de agregacin:
Switch-to-switch

CRC

Datos

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Link Aggregation
Tipos de agregacin:
Switch-to-station

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Link Aggregation
Tipos de agregacin:
Station-to-station

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Link Aggregation
Los enlaces se agregan en Grupos El agregado: como un solo interfaz Conversacin: tramas de la misma MACMAC Mantiene el orden de las tramas de la misma conversacin Cmo? Mandndolas siempre por el mismo enlace del grupo

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Mayor granularidad

Mayor disponibilidad

Mayor ancho de banda

1Gbps

Link Aggregation

Link Aggregation

Link Aggregation

N x 1Gbps N x 1000Mbps

10Gbps

10

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Link Aggregation
Configuracin automtica
Link Aggregation Control Protocol (LACP) Rpida reconfiguracin (<1seg)

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Link Aggregation
Limitaciones:
No ms de 2 extremos Solo 802.3 (ej. no FDDI) No soporta enlaces half-duplex No puede agregar enlaces de diferentes velocidades

REDES DE BANDA ANCHA rea de Ingeniera Telemtica

Power over Ethernet (PoE)


IEEE 802.3af Adems de datos corriente sobre cable Cat.3 5 15.4 W

11

You might also like