Professional Documents
Culture Documents
CCNA 3
(LAYER 3)
Tenemos un Switch L3 con las VLAN 10 y 20 utilizando los bloques IP 192.168.10.0/24 y 192.168.20.0/24 respectivamente. Adems, hemos dejado el puerto FastEthernet 0/24 (podra haber sido GigabitEthernet si el Router superior tuviese una interfaz del mismo tipo) para conectar con el Router. Entre el Switch L3 y el Router se hablar OSPF. La configuracin de las VLANs no tiene nada de diferente de un Switch de capa 2: L3(config)# interface range FastEthernet 0/1 FastEthernet 0/9 L3(config-if-range)# switchport mode access L3(config-if-range)# switchport access vlan 10 % Access VLAN does not exist. Creating vlan 10 L3(config-if-range)# exit L3(config)# interface range FastEthernet 0/10 FastEthernet 0/23 L3(config-if-range)# switchport mode access L3(config-if-range)# switchport access vlan 20 % Access VLAN does not exist. Creating vlan 20 L3(config-if-range)# end L3#
Finalmente habilitamos el enrutamiento OSPF en el switch de capa 3 de acuerdo a nuestra topologa: L3(config)# router ospf 1 L3(config-router)# network 192.168.10.0 0.0.0.255 area 0 L3(config-router)# network 192.168.20.0 0.0.0.255 area 0 L3(config-router)# network 200.1.1.0 0.0.0.3 area 0 Asumiento que la config. OSPF del router est definida previamente ya tendremos conexin completa entre las 2 VLAN y el resto de la red (o Internet). Ac no hay necesidad de crear puertos trunk pues el proceso de trunking se lleva a cabo internamente en el switch.