Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Diseo de Redes de
Corporativas
Tema 3: Diseo de la Red de Acceso:
conmutacin y fiabilidad (II)
Jos M Barcel Ordinas
Lloren Cerd Alabern
Departamento de Arquitectura de Computadores (DAC) de
la Universidad Politcnica de Catalua (UPC)
Diseo jerrquico
Diseo por bloques:
SERVER BLOCK
WAN BLOCK
MAINFRAME
BLOCK
BACKBONE
CORE BLOCK
DISTRIBUTED
LAYER
ACCESS
LAYER
SWITCH BLOCK
SWITCH BLOCK
SWITCH BLOCK
de
switches
uso de VLANs y trunking, tolerancia a fallos en L2 (link
aggregation)
uso de STP
uso de enlaces redundantes
routing tolerante a fallos
SERVER BLOCK
WAN BLOCK
MAINFRAME
BLOCK
BACKBONE
CORE BLOCK
DISTRIBUTED
LAYER
ACCESS
LAYER
SWITCH BLOCK
SWITCH BLOCK
SWITCH BLOCK
Full
Duplex
MAC
AGE
Eth0
01:01:01:ab:fe:f2
10'
Eth0
01:01:01:cb:5e:27
10'
Eth1
01:01:01:bb:a4:31
10'
100BaseT
10BaseT 100BaseT
10BaseT
10BaseT
100BaseT
100BaseT
10BaseT
8
Preamble
@MACdst @MACsrc
Type
Data
4
CRC
CRC
Cut-Through
Fragment Free
Store&Forward
Dominio
Broadcast
Red IP3
DB
Red IP2
DC
Dominio Broadcast Red IP: paquetes con direcciones L2 broadcast (i.e. ARPs) llegan a
todo el dominio broadcast pero no atraviesan el router para llegar a otro dominio broadcast.
Diseo de Redes Corporativas
VLANs
particionar los dominios broadcast en un switch en vez de en un router
(ahorro de puertos de router) va software dedicado
VLANs estticas: cada puerto del switch se asigna a la VLAN deseada
VLAN dinmica: base de datos que asigna MACs a la VLAN
Trunking: enlace que soporta mltiples VLANs mediante la tcnica de "tagging":
802.1Q, CISCO ISL (Inter-switch Link), 3COM VLP (Virtual LAN trunk)
Dominio
Broadcast
VLAN
Puertos
trunk
Red IP3
Red IP3
Red IP3
trunking
Red IP1
Red IP2
Red IP1
Red IP2
trunking
aadir switches
poner un switch con ms puertos
400 Mb/s
Red IP1
Red IP2
SERVER BLOCK
WAN BLOCK
MAINFRAME
BLOCK
BACKBONE
VLANs
CORE BLOCK
DISTRIBUTED
LAYER
ACCESS
LAYER
VLANs
SWITCH BLOCK
SWITCH BLOCK
SWITCH BLOCK
10
eth1
eth2
2,4,...
3,5,...
eth1 SW2
3,5,...
MAC1
(1)
(2)
(3)
(4)
eth0
eth2
3
MAC2
11
Capacidad
Enlace
Coste
10 Gb/s
1 Gb/s
100 Mb/s
19
10 Mb/s
100
12
Spanning
tree
hub
hub
Root Bridge
Root Ports
Designated Ports
Puerto bloqueado
13
14
Spanning
tree
RB
RB
15
Root BID
BID-S2 =
BID-S3 =
BID-S4 =
= BID-S1 = 00:00:00:00:00:11:11:11
80:00:00:00:00:22:22:22
80:00:00:00:00:33:33:33
80:00:00:00:00:44:44:44
S1
BPDU-3 S3
BPDU-1
S2
BPDU-2
BPDU-4
RB
BPDU-5
BPDU-6
S4
Root Ports
RB
16
= BID-S1 = 00:00:00:00:00:11:11:11
80:00:00:00:00:22:22:22
80:00:00:00:00:33:33:33
80:00:00:00:00:44:44:44
BPDU-3 S3
BPDU-1
S2
S1
BPDU-2
BPDU-4
RB
BPDU-5
BPDU-6
S4
Designated Ports
Puerto bloqueado
RB
17
1.
2.
3.
4.
blocking
5
2
4
listening
forwarding
3
4
learning
Inicializacin o no shutdown.
Puerto seleccionado como Root o Designated, o expira el timer Max. Age.
Expira el timer forwarding (15 segundos).
El puerto deja de ser Root o Designated. Inicialmente todos los switches
suponen que son Root Bridge y todos sus puertos Designated Ports.
5. Shutdown
Especficos de CISCO:
6. Port Fast: Pensado para el caso de tener un host conectado directamente al
switch. Si el switch detecta un bucle, vuelve directamente a blocking.
7. UplinkFast: Pensado para edge routers. El switch tiene en cuenta los enlaces
redundantes para sustituir rpidamente un Root Port en caso de fallo.
18
19
fe1
C
D
fe4
Flow
Port
fe1
fe2
fe3
etc
...
20
10
IDF-2
2 1
1
MDF
Internet
3 2
1
3 2
1
Trabajadores en
prcticas
...
192.168.0.0/24
...
Programadores
192.168.1.0/24
...
Direccin
192.168.10.0/24
21
Funcionamiento de MLS:
Cuando el primer datagrama IP de un flujo dirigido al router pasa por el mlsswitch, el switch registra el flujo.
Hay varias posibilidades para identificar el flujo: (i) direccin IP destino, (ii)
direcciones IP fuente y destino, (iii) direcciones IP y los puertos.
Si el switch ve pasar un datagrama IP del flujo en sentido contrario, activa mls
para ese flujo.
Los datagramas IP del flujo que lleguen a continuacin al switch, en vez de
enviarlos al router, los encamina hacia el puerto destino directamente (el switch
hace la funciones del router!):
trunks
IDF-1
2 1
1
MDF
IDF-2
Internet
3 2
1
3 2
1
...
Trabajadores en
prcticas
192.168.0.0/24
...
Programadores
192.168.1.0/24
...
Direccin
192.168.10.0/24
22
11
Gamas de Switches
Switches para
(e.g.CISCO)
Pequea/Media/Gran
empresa
http://www.cisco.com/en/US/products/hw/switches/index.html
23
Gamas de Switches
Switches para
(e.g.CISCO)
Pequea/Media/Gran
empresa
5000, 6000)
Configuracin modular.
Alto rendimiento.
Funcionalidades adicionales:
Servidor VMPS
Multilayer switching (MLS)
ATM: Soporta QoS y forma el core de la
red de muchos operadores
24
12
para
Pequea/Media/Gran
empresa
NORTEL: http://products.nortel.com/
3COM: www.3com.es/products
JUNIPER:
http://www.juniper.net/products_and_services/
...
http://www.cisco.com/en/US/products/hw/switches/index.html
25
13