Presentation is loading. Please wait.

Presentation is loading. Please wait.

Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © 2002 - The McGraw-Hill Companies srl Capitolo 10 Multi-layer switch: commutazione hardware a vari.

Similar presentations


Presentation on theme: "Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © 2002 - The McGraw-Hill Companies srl Capitolo 10 Multi-layer switch: commutazione hardware a vari."— Presentation transcript:

1 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Capitolo 10 Multi-layer switch: commutazione hardware a vari livelli

2 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Rete geografica (Internet, intranet, extranet) Router Bridge Switch

3 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Layer 3 switch Switch A B

4 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Layer 3 switch VLAN 10 VLAN 21 VLAN 18 VLAN 7 VLAN 15 VLAN 5 VLAN 33 VLAN 11

5 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Switch Router A B

6 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl

7 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Internet

8 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Internet Layer 7 switch Application layer switch Content aware router Server load balancer

9 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl SYN SYN/ACK ACK GET URL SYN SYN/ACK ACK GET URL Dati ClientLayer 7 SwitchServer

10 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Content delivery network

11 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Rete geografica S1-P Bridge-Prio S1-S Bridge-Prio S S S Root Bridge S S S VLAN2 VLAN3 VLAN4 Router VLAN3 VLAN2 VLAN4 VLAN2 VLAN4 VLAN3 VLAN2 VLAN4 VLAN3 VLAN4 VLAN3 VLAN2 VLAN3 VLAN2 VLAN4 c Legenda Porta root Porta designated Porta Blocking

12 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Rete geografica Routing dinamico S1-P Bridge-Prio S1-S Bridge-Prio S S S Root Bridge S S S VLAN2 VLAN3 VLAN4 Router VLAN3 VLAN2 VLAN4 VLAN2 VLAN4 VLAN3 VLAN2 VLAN4 VLAN3 VLAN4 VLAN3 VLAN2 VLAN3 VLAN2 VLAN4 VLAN2 VLAN3 VLAN4 Router HSRP, VRRP c Legenda Porta root Porta designated Porta Blocking

13 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl 5 0 Piano Edificio di 6 piani Sala server ubicata al piano terreno 105 m 60 m

14 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl SW-1 Router Rete geografica Server 15 6 Switch e router connessi a porte access SW Layer 2 Switch Multi-layer Switch LEGENDA

15 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Sw#vlan database Sw(vlan)#vlan 2 name Ammin VLAN 2 added: Name: Ammin Sw(vlan)#vlan 3 name Vendite VLAN 3 added: Name: Vendite Sw(vlan)#vlan 4 name Gruppo-1 VLAN 4 added: Name: Gruppo-1 Sw(vlan)#vlan 5 name Gruppo-2 VLAN 5 added: Name: Gruppo-2 Sw(vlan)#vlan 6 name Gruppo-3 VLAN 6 added: Name: Gruppo-3 Sw(vlan)#vlan 7 name Gruppo-4 VLAN 7 added: Name: Gruppo-4 Sw(vlan)#exit APPLY completed. Exiting.... Sw# Sw(config)#int GigabitEthernet 0/1 Sw(config-if)#switchport access vlan 2 Sw(config-if)#exit …….. Sw(config)#int GigabitEthernet 0/2 Sw(config-if)#switchport access vlan 3 Sw(config-if)#exit …….. Sw(config)#int GigabitEthernet 0/3 Sw(config-if)#switchport access vlan 4 Sw(config-if)#exit ……. Sw(config)#int GigabitEthernet 0/4 Sw(config-if)#switchport access vlan 5 Sw(config-if)#exit …….. Sw(config)#int GigabitEthernet 0/5 Sw(config-if)#switchport access vlan 6 Sw(config-if)#exit …….. Sw(config)#int GigabitEthernet 0/6 Sw(config-if)#switchport access vlan 7 Sw(config-if)#exit Fase 1: Creazione VLANFase 2: Definizione porte Access

16 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Sw(config)#interface vlan 2 Sw(config-if)#ip address Sw(config-if)#no shutdown Sw(config-if)#exit Sw(config)#interface vlan 3 Sw(config-if)#ip address Sw(config-if)#no shutdown Sw(config-if)#exit Sw(config)#interface vlan 4 Sw(config-if)#ip address Sw(config-if)#no shutdown Sw(config-if)#exit Sw(config)#interface vlan 5 Sw(config-if)#ip address Sw(config-if)#no shutdown Sw(config-if)#exit Sw(config)#interface vlan 6 Sw(config-if)#ip address Sw(config-if)#no shutdown Sw(config-if)#exit Sw(config)#interface vlan 7 Sw(config-if)#ip address Sw(config-if)#no shutdown Sw(config-if)#exit Fase 3: Assegnazione indirizzi IP alle interfacce virtuali (VLAN)

17 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl SW-1 Router Rete geografica Server VLAN3 VLAN2 VLAN4 VLAN5 VLAN4 VLAN2 VLAN5 VLAN6 VLAN3 VLAN2 VLAN7 VLAN3 VLAN2 VLAN5 VLAN6 VLAN4 VLAN2 VLAN5 VLAN7 VLAN4 VLAN5 VLAN VLAN VLAN VLAN VLAN VLAN VLAN - Subnet IP Switch connessi a porte trunk e router a porta access 15 6

18 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Sw(config)#interface GigabitEthernet 0/1 Sw(config-if)#switchport mode trunk Sw(config-if)#switchport trunk allowed vlan add 1,4,5 Sw(config-if)#exit Sw(config)#interface GigabitEthernet 0/2 Sw(config-if)#switchport mode trunk Sw(config-if)#switchport trunk allowed vlan add 1,2,4,5,7 Sw(config-if)#exit Sw(config)#interface GigabitEthernet 0/3 Sw(config-if)#switchport mode trunk Sw(config-if)#switchport trunk allowed vlan add 1,2,3,5,6 Sw(config-if)#exit Sw(config)#interface GigabitEthernet 0/4 Sw(config-if)#switchport mode trunk Sw(config-if)#switchport trunk allowed vlan add 1,2,3,7 Sw(config-if)#exit Sw(config)#interface GigabitEthernet 0/5 Sw(config-if)#switchport mode trunk Sw(config-if)#switchport trunk allowed vlan add 1,2,4,5,6 Sw(config-if)#exit Sw(config)#interface GigabitEthernet 0/6 Sw(config-if)#switchport mode trunk Sw(config-if)#switchport trunk allowed vlan add 1,2,3,4,5 Fase 2: Definizione porte Trunk

19 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Router Rete geografica ( ) ( ) ( ) HSRP/VRRP SW-1SW-2 SW Layer 2 Switch Multi-layer Switch LEGENDA SW-1 porta 1Access (VLAN 4) SW-1 porta 2Access (VLAN 3) SW-1 porta 3Access (VLAN 2) SW-1 porta 4Access (VLAN 5) SW-1 porta 8Access (VLAN 7) SW-2 porta 1Access (VLAN 4) SW-2 porta 2Access (VLAN 3) SW-2 porta 3Access (VLAN 2) SW-2 porta 4Access (VLAN 5) SW-2 porta 5Access (VLAN 6) A B C Routing OSPF Non cè bisogno del protocollo Spanning Tree!

20 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Router Router Rete geografica ( ) ( ) ( ) HSRP/VRRP A B C Routing OSPF

21 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl SW-1(config)#interface vlan 2 SW-1(config-if)#ip address SW-1(config-if)#standby 8 preempt SW-1(config-if)#standby 8 priority 105 SW-1(config-if)#standby 8 ip SW-1(config-if)#no shutdown SW-1(config-if)#exit SW-1(config)#interface vlan 3 SW-1(config-if)#ip address SW-1(config-if)#standby 9 preempt SW-1(config-if)#standby 9 ip SW-1(config-if)#no shutdown SW-1(config-if)#exit SW-1(config)#interface vlan 4 SW-1(config-if)#ip address SW-1(config-if)#standby 10 preempt SW-1(config-if)#standby 10 priority 105 SW-1(config-if)#standby 10 ip SW-1(config-if)#no shutdown SW-1(config-if)#exit SW-1(config)#interface vlan 5 SW-1(config-if)#ip address SW-1(config-if)#no shutdown SW-1(config-if)#exit SW-1(config)#interface vlan 7 SW-1(config-if)#ip address SW-1: Assegnazione indirizzi IP e configurazione HSRP Candidato Active Candidato Standby

22 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl SW-2(config)#interface vlan 2 SW-2(config-if)#ip address SW-2(config-if)#standby 8 preempt SW-2(config-if)#standby 8 ip SW-2(config-if)#no shutdown SW-2(config-if)#exit SW-2(config)#interface vlan 3 SW-2(config-if)#ip address SW-2(config-if)#standby 9 preempt SW-2(config-if)#standby 9 ip SW-2(config-if)#standby 9 priority 105 SW-2(config-if)#no shutdown SW-2(config-if)#exit SW-2(config)#interface vlan 4 SW-2(config-if)#ip address SW-2(config-if)#standby 10 preempt SW-2(config-if)#standby 10 ip SW-2(config-if)#no shutdown SW-2(config-if)#exit SW-2(config)#interface vlan 5 SW-2(config-if)#ip address SW-2(config-if)#no shutdown SW-2(config-if)#exit SW-2(config)#interface vlan 6 SW-2(config-if)#ip address SW-2: Assegnazione indirizzi IP e configurazione HSRP Candidato Active Candidato Standby

23 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl SW-1: configurazione di routing OSPF SW-2(config)#interface vlan 5 SW-2(config-if)#ip ospf cost 8 SW-2(config)#exit SW-2(config)#router ospf 1 SW-2(config-router)#network area 40 SW-2(config-router)#network area 40 SW-2(config-router)#network area 40 SW-2(config-router)#network area 40 SW-2(config-router)#network area 40 SW-2: configurazione di routing OSPF Router(config)#router ospf 1 Router(config-router)#network area 40 ………. Router: configurazione di routing OSPF SW-1(config)#interface vlan 5 SW-1(config-if)#ip ospf cost 8 SW-1(config)#exit SW-1(config)#router ospf 1 SW-1(config)#redistribute connected SW-1(config-router)#network area 40 SW-1(config-router)#network area 40 SW-1(config-router)#network area 40 SW-1(config-router)#network area 40

24 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Router Rete geografica Protocollo spanning tree HSRP/ VRRP SW-1SW-2 Layer 2 Switch Multi-layer Switch LEGENDA SW-1 porte 1,2,3,4Trunk SW-1 porta 8Access (VLAN7) SW-2 porte 1,2,3,4Trunk SW-2 porta 5Access (VLAN6) SW-1 VLAN 2IP addr SW-1 VLAN 3IP addr SW-1 VLAN 4IP addr SW-1 VLAN 7IP addr SW-2 VLAN 2IP addr SW-2 VLAN 3IP addr SW-2 VLAN 4IP addr SW-2 VLAN 6IP addr A B C B.P B.P Routing OSPF SW 6 6 Trunk c Porta root Porta designated Porta Blocking

25 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Router Rete geografica Protocollo spanning tree HSRP/ VRRP A B C Routing OSPF Router Router Trunk c Legenda Porta root Porta designated Porta Blocking

26 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Router Rete geografica Router (SW-1) Router (SW-2) VLAN 3 VLAN 4 VLAN

27 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl SW-1(config)#interface vlan 2 SW-1(config-if)#ip address SW-1(config-if)#standby 8 preempt SW-1(config-if)#standby 8 priority 105 SW-1(config-if)#standby 8 ip SW-1(config-if)#no shutdown SW-1(config-if)#exit SW-1(config)#interface vlan 3 SW-1(config-if)#ip address SW-1(config-if)#standby 9 preempt SW-1(config-if)#standby 9 priority 105 SW-1(config-if)#standby 9 ip SW-1(config-if)#no shutdown SW-1(config-if)#exit SW-1(config)#interface vlan 4 SW-1(config-if)#ip address SW-1(config-if)#standby 10 preempt SW-1(config-if)#standby 10 priority 105 SW-1(config-if)#standby 10 ip SW-1(config-if)#no shutdown SW-1(config-if)#exit SW-1(config)#interface vlan 7 SW-1(config-if)#ip address SW-1(config-if)#no shutdown SW-1(config-if)#exit Candidato Active SW-1: Assegnazione indirizzi IP e configurazione HSRP

28 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl SW-2(config)#interface vlan 2 SW-2(config-if)#ip address SW-2(config-if)#standby 8 preempt SW-2(config-if)#standby 8 ip SW-2(config-if)#no shutdown SW-2(config-if)#exit SW-2(config)#interface vlan 3 SW-2(config-if)#ip address SW-2(config-if)#standby 9 preempt SW-2(config-if)#standby 9 ip SW-2(config-if)#no shutdown SW-2(config-if)#exit SW-2(config)#interface vlan 4 SW-2(config-if)#ip address SW-2(config-if)#standby 10 preempt SW-2(config-if)#standby 10 ip SW-2(config-if)#no shutdown SW-2(config-if)#exit SW-2(config)#interface vlan 6 SW-2(config-if)#ip address SW-2(config-if)#no shutdown SW-2(config-if)#exit SW-2: Assegnazione indirizzi IP e configurazione HSRP Candidato Standby

29 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl SW-1: configurazione di routing OSPF SW-2(config)#router ospf 1 SW-2(config-router)#network area 40 SW-2(config-router)#network area 40 SW-2(config-router)#network area 40 SW-2(config-router)#network area 40 SW-2: configurazione di routing OSPF Router(config)#router ospf 1 Router(config-router)#network area 40 ………. Router: configurazione di routing OSPF SW-1(config)#router ospf 1 SW-1(config)#redistribute connected SW-1(config-router)#network area 40 SW-1(config-router)#network area 40 SW-1(config-router)#network area 40

30 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Router Rete geografica ( ) ( ) (ind. IP virtuale ) HSRP/ VRRP SW-1SW A B C Routing OSPF D E F Spanning tree #1 Spanning tree #2 Spanning tree #3 c Legenda Porta root Porta designated Porta Blocking

31 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Router Rete geografica Protocollo Spanning tree HSRP/ VRRP SW-1SW A B C Routing OSPF D E F B. Priority B. Priority Trunk 6 6 c Legenda Porta root Porta designated Porta Blocking

32 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Router HSRP/ VRRP A B C Routing OSPF D E F SW VLAN 3 VLAN 4 VLAN 5 VLAN 6 VLAN 7 SW Dominio Spanning Tree B. Priority B. Priority VLAN 3 VLAN 4 VLAN 5 VLAN 6 VLAN 7 XY Trunk

33 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Edificio B SW-1SW-2 SW-3 SW-9SW-8SW-7SW-6 SW-11 SW-10 SW-4 SW-5 Comprensorio Routing OSPF Edificio A Edificio E SW-9SW-8 Edificio D Edificio F Edificio C

34 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl Router HSRP/ VRRP A B C Routing OSPF D E F SW SW Dominio Spanning Tree B. Priority B. Priority XY Trunk VLAN 3, 4, 5, 6, 7

35 Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © The McGraw-Hill Companies srl


Download ppt "Switched LAN - Mario Baldi, Pietro Nicoletti Copyright © 2002 - The McGraw-Hill Companies srl Capitolo 10 Multi-layer switch: commutazione hardware a vari."

Similar presentations


Ads by Google