Vous êtes sur la page 1sur 12

NOMBRE: JORGE BRYAN SOLIZ VIDAL CÓDIGO: C7351-2

SEMESTRE: QUINTO

INFORM
HOMEWORK VLANS- TRUNK- WITH ROUTE
1. OBJETIVOS.
 Determinar las vlans de los switchs
 Determinar las conexiones de los routers con los switchs
 Asignar ip a cada router según las vlans y que tenga reconocimiento router
a router

2. PROCEDIMIENTO.
NOMBRE: JORGE BRYAN SOLIZ VIDAL CÓDIGO: C7351-2
SEMESTRE: QUINTO

Tabla de direccionamiento de las direcciones IP que fueron utilizadas en la


configuración de cada equipo.

Equipo VLANS Direc. IP Mascara Gateway


RT0 G0/0 10.10.0.2 255.255.255.252
RT0 G0/1 10.10.1.1 255.255.255.252
RT1 G0/0 10.10.0.1 255.255.255.252
RT1 G0/1.2 192.168.0.1 255.255.255.0
RT1 G0/1.3 192.168.1.1 255.255.255.0
RT1 G0/1.4 192.168.2.1 255.255.255.0
RT2 G0/0 10.10.1.2 255.255.255.252
RT2 G0/1.2 192.168.3.1 255.255.255.0
RT2 G0/1.3 192.168.4.1 255.255.255.0
RT2 G0/1.4 192.168.5.1 255.255.255.0
S0 VLAN5-NATIV
S1 VLAN2-AULA1
S2 VLAN3-AULA2
S3 VLAN4AULA3
S4 VLAN5-NATIV
S5 VLAN2LABO1
S6 VLAN3LABO2
S7 VLAN4LABO3
PC0 192.168.0.2 255.255.255.0 192.168.0.1
PC1 192.168.1.2 255.255.255.0 192.168.1.1
PC2 192.168.2.2 255.255.255.0 192.168.2.1
PC3 192.168.3.2 255.255.255.0 192.168.3.1
PC4 192.168.4.2 255.255.255.0 192.168.4.1
PC5 192.168.5.2 255.255.255.0 192.168.5.1

Configuración que se realizó

VLANS -SWITCH-NATIVE
Switch>
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 2
Switch(config-vlan)#name AULA1
Switch(config-vlan)#vlan 3
Switch(config-vlan)#name AULA2
Switch(config-vlan)#vlan 4
Switch(config-vlan)#name AULA3
Switch(config-vlan)#exit
Switch(config)#vlan 5
NOMBRE: JORGE BRYAN SOLIZ VIDAL CÓDIGO: C7351-2
SEMESTRE: QUINTO

Switch(config-vlan)#name native
Switch(config-vlan)#int f0/1
Switch(config-if)#sw mode trunk
Switch(config-if)#sw trunk native vlan 5
Switch(config-if)#exit
Switch(config)#int r f0/1-5
Switch(config-if-range)#sw mode trunk

Switch(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2,
changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2,


changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3,


changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3,


changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4,


changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4,


changed state to up

Switch(config-if-range)#
Switch(config-if-range)#
Switch(config-if-range)#exit
Switch(config)#int r f0/6-12
Switch(config-if-range)#sw mode access
Switch(config-if-range)#sw access vlan 2
Switch(config-if-range)#exit
Switch(config)#int r f0/13-18
Switch(config-if-range)#sw mode access
Switch(config-if-range)#sw access vlan 3
Switch(config-if-range)#exit
Switch(config)#int r f0/18-24
Switch(config-if-range)#sw mode access
Switch(config-if-range)#sw access vlan 4
NOMBRE: JORGE BRYAN SOLIZ VIDAL CÓDIGO: C7351-2
SEMESTRE: QUINTO

Switch(config-if-range)#exit
Switch(config)#int f0/4
Switch(config-if)#sw mode access
Switch(config-if)#sw mode access%SPANTREE-2-RECV_PVID_ERR: Received
802.1Q BPDU on non trunk FastEthernet0/4 VLAN1.

%SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet0/4 on


VLAN0001. Inconsistent port type.

Switch(config-if)#sw access vlan 2


Switch(config-if)#exit
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#no sw access vlan 2
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/4 (2), with Switch Faexit
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int f0/
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/4 (2), with Switch FastEthernet0/1 (1).

^
% Invalid input detected at '^' marker.
Switch(config)#
Switch(config)#
Switch(config)#
Switch(config)#int f0/2
Switch(config-if)#sw mode access
Switch(config-if)#sw access vlan 2
Switch(config-if)#exit
Switch(config)#int f0/3
Switch(config-if)#sw mode access
NOMBRE: JORGE BRYAN SOLIZ VIDAL CÓDIGO: C7351-2
SEMESTRE: QUINTO

Switch(config-if)#%SPANTREE-2-RECV_PVID_ERR: Received 802.1Q BPDU


on non trunk FastEthernet0/3 VLAN1.

%SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet0/3 on


VLAN0001. Inconsistent port type.

Switch(config-if)#sw access vlan 3


Switch(config-if)#exit
Switch(config)#int f0/4
Switch(config-if)#sw mode access
Switch(config-if)#sw access vlan 4
Switch(config-if)#exit
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/4 (4), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


FastEthernet0/3 (3), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


FastEthernet0/2 (2), with Switch FastEthernet0/1 (1).

Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#
Switch#
Switch#%SPANTREE-2-RECV_PVID_ERR: Received 802.1Q BPDU on non
trunk FastEthernet0/2 VLAN1.

%SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet0/2 on


VLAN0001. Inconsistent port type.

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


FastEthernet0/3 (3), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


FastEthernet0/4 (4), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


FastEthernet0/2 (2), with Switch FastEthernet0/1 (1).
NOMBRE: JORGE BRYAN SOLIZ VIDAL CÓDIGO: C7351-2
SEMESTRE: QUINTO

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


FastEthernet0/2 (2), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


FastEthernet0/3 (3), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


FastEthernet0/4 (4), with Switch FastEthernet0/1 (1).

VLANS-SWITCH SECUNDARIO NO NATIVE

Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 2
Switch(config-vlan)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/1 (1), with Switch FastEthernet0/2 (2).

Switch(config-vlan)#name AULA1
Switch(config-vlan)#int r f0/
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/1 (1), with Switch FastEthernet0/2 (2).

^
% Invalid input detected at '^' marker.
Switch(config-vlan)#int r f0/6-12
Switch(config-if-range)#sw mode access
Switch(config-if-range)#sw access vlan 2
Switch(config-if-range)#
Switch(config-if-range)#exit
Switch(config)#
NOMBRE: JORGE BRYAN SOLIZ VIDAL CÓDIGO: C7351-2
SEMESTRE: QUINTO

ROUTER-VLANS-IP-CONFIGURACION

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int g0/1.2
Router(config-subif)#encapsulation dot1Q 2
Router(config-subif)#ip add 192.168.0.1 255.255.255.0
Router(config-subif)#no sh
Router(config-subif)#exit
Router(config)#int g0/1.3
Router(config-subif)#encapsulation dot1Q 3
Router(config-subif)#ip add 192.168.1.1 255.255.255.0
Router(config-subif)#no sh
Router(config-subif)#
Router(config-subif)#exit
Router(config)#int g0/1.4
Router(config-subif)#encapsulation dot1Q 4
Router(config-subif)#ip add 192.168.2.1 255.255.255.0
Router(config-subif)#no shutdown
Router(config-subif)#
Router(config-subif)#exit
Router(config)#
Router(config)#int g0/1
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1,


changed state to up

%LINK-5-CHANGED: Interface GigabitEthernet0/1.2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.2,


changed state to up

%LINK-5-CHANGED: Interface GigabitEthernet0/1.3, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.3,


changed state to up
NOMBRE: JORGE BRYAN SOLIZ VIDAL CÓDIGO: C7351-2
SEMESTRE: QUINTO

%LINK-5-CHANGED: Interface GigabitEthernet0/1.4, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.4,


changed state to up

Router(config-if)#
Router(config-if)#exit
Router(config)#
Router(config)#int g0/0
Router(config-if)#ip add 10.10.0.1 255.255.255.252
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

Router(config-if)#
Router(config-if)#exit
Router(config)#
Router(config)#

Enter configuration commands, one per line. End with CNTL/Z.


Router(config)#ip route 192.168.3.0 255.255.255.0 10.10.0.2
Router(config)#ip route 192.168.4.0 255.255.255.0 10.10.0.2
Router(config)#ip route 192.168.5.0 255.255.255.0 10.10.0.2
Router(config)#ip route 10.10.1.0 255.255.255.252 10.10.1.1
Router(config)#
Router(config)#exit
NOMBRE: JORGE BRYAN SOLIZ VIDAL CÓDIGO: C7351-2
SEMESTRE: QUINTO

3. Conectividad – pruebas.
NOMBRE: JORGE BRYAN SOLIZ VIDAL CÓDIGO: C7351-2
SEMESTRE: QUINTO
NOMBRE: JORGE BRYAN SOLIZ VIDAL CÓDIGO: C7351-2
SEMESTRE: QUINTO
NOMBRE: JORGE BRYAN SOLIZ VIDAL CÓDIGO: C7351-2
SEMESTRE: QUINTO