El enrutador realiza la configuración RIP en dos conmutadores ISCOM que admiten la función de enrutamiento de capa 3
1. El propósito del experimento
- Domine el uso de Cisco Simulator
- Domine el método de configuración del enrutamiento dinámico RIP del conmutador de tres capas
2. Importancia experimental
Mediante el uso del enrutamiento dinámico RIP en el simulador de Cisco, las computadoras en diferentes segmentos de red pueden comunicarse entre sí
Tres, equipo experimental
- Simulador de Cisco
Cuatro, topología experimental
Cinco, pasos experimentales y configuración detallada
-
De acuerdo con el diagrama de topología, utilice el simulador de Cisco para agregar 2 conmutadores L3 y 4 PC. Los conmutadores están conectados a través de puertos F0 / 24. PC1 y PC2 están conectados respectivamente al puerto SA VLAN6 y al puerto VLAN7, y PC3 y PC4 están respectivamente conectado a los puertos SB VLAN8 y VLAN9, y configurar la dirección IP, la máscara de subred y la puerta de enlace de todas las computadoras de acuerdo con el diagrama de topología
-
Los comandos de configuración son los siguientes:
-
Divida el vlan del interruptor:
-
Código SA:
-
Switch>enable Switch#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname SA SA(config)#ip routing SA(config)#int ra fa 0/1-8 SA(config-if-range)#swit mode access SA(config-if-range)#Swit access vlan 6 % Access VLAN does not exist. Creating vlan 6 SA(config-if-range)#exit SA(config)#int ra fa 0/9-16 SA(config-if-range)#swit mode access SA(config-if-range)#Swit access vlan 7 % Access VLAN does not exist. Creating vlan 7 SA(config-if-range)#exit SA(config)#int ra fa 0/24 SA(config-if-range)#swit mode access SA(config-if-range)#Swit access vlan 100 % Access VLAN does not exist. Creating vlan 100
-
Código SB:
-
Switch>enable Switch#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname SB SB(config)#ip routing SB(config)#int ra fa 0/1-8 SB(config-if-range)#swit mode access SB(config-if-range)#Swit access vlan 8 % Access VLAN does not exist. Creating vlan 8 SB(config-if-range)#exit SB(config)#int ra fa 0/9-16 SB(config-if-range)#swit mode access SB(config-if-range)#Swit access vlan 9 % Access VLAN does not exist. Creating vlan 9 SB(config-if-range)#exit SB(config)#int ra fa 0/24 SB(config-if-range)#swit mode access SB(config-if-range)#Swit access vlan 100 % Access VLAN does not exist. Creating vlan 100
-
Configure la dirección IP de cada puerto virtual vlan del conmutador:
-
Código SA:
-
SA>enable SA#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. SA(config)#int vlan 6 %LINK-5-CHANGED: Interface Vlan6, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan6, changed state to up SA(config-if)#ip address 172.16.6.1 255.255.255.0 SA(config-if)#no shut SA(config-if)#exit SA(config)#int vlan 7 %LINK-5-CHANGED: Interface Vlan7, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan7, changed state to up SA(config-if)#ip address 172.16.7.1 255.255.255.0 SA(config-if)#no shut SA(config-if)#exit SA(config)#int vlan 100 %LINK-5-CHANGED: Interface Vlan100, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan100, changed state to up SA(config-if)#ip address 172.16.100.1 255.255.255.0 SA(config-if)#no shut
-
Código SB:
-
SB>enable SB#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. SB(config)#int vlan 8 %LINK-5-CHANGED: Interface Vlan8, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan8, changed state to up SB(config-if)#ip address 172.16.8.1 255.255.255.0 SB(config-if)#no shut SB(config-if)#exit SB(config)#int vlan 9 %LINK-5-CHANGED: Interface Vlan9, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan9, changed state to up SB(config-if)#ip address 172.16.9.1 255.255.255.0 SB(config-if)#no shut SB(config-if)#exit SB(config)#int vlan 100 %LINK-5-CHANGED: Interface Vlan100, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan100, changed state to up SB(config-if)#ip address 172.16.100.2 255.255.255.0 SB(config-if)#no shut SB(config-if)#exit
-
Inicie el protocolo RIP para realizar la comunicación entre los dos conmutadores:
-
Código SA:
-
SA>enable SA#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. SA(config)#router rip SA(config-router)#version 2 SA(config-router)#network 172.16.6.0 SA(config-router)#network 172.16.7.0 SA(config-router)#network 172.16.100.0
-
Código SB:
-
SB>enable SB#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. SB(config)#router rip SB(config-router)#version 2 SB(config-router)#network 172.16.8.0 SB(config-router)#network 172.16.9.0 SB(config-router)#network 172.16.100.0
-
Después de completar la configuración anterior, pruebe la conectividad entre las PC
-
6. Resultados experimentales y capturas de pantalla
Configuración de topología:
Divida el vlan del interruptor:
A:
SB:
Configure la dirección IP de cada puerto virtual vlan del conmutador:
A:
SB:
Inicie el protocolo RIP para realizar la comunicación entre los dos conmutadores:
A:
SB:
La comunicación entre PC después de iniciar el protocolo RIP
PC1 y SB pueden comunicarse:
PC1 y PC3 pueden comunicarse:
PC1 y PC4 pueden comunicarse: