Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Protocolos de enrutamiento por vector distancia 5. Rip version1 6. VLSM y CIDR 7. RIPv2 8. Tablas de enrutamiento: estudio detallada 9. EIGRP 10. Protocolos de enrutamiento de estado enlace 11. OSPF 12. Diseo de lan 13. Configuracin bsica de switch 14. Vlan 15. VTP 16. STP 17. Enrutamiento inter VLAN 18. Conceptos bsicos de la conexin inalambrica
Enrutamiento OSPF:
Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#route ospf 10 Router(config-router)#network 192.168.4.0 255.255.255.0 area 10
-----------------------------------------Switch>enable Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname romer1 romer1#show vlan VLAN Name Status Ports
---- -------------------------------- --------- ------------------------------1 default active Fa0/1, Fa1/1, Fa2/1, Fa3/1
Fa4/1, Fa5/1 1002 fddi-default 1003 token-ring-default 1004 fddinet-default 1005 trnet-default act/unsup act/unsup act/unsup act/unsup
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----1 enet 100001 1500 1500 1500 1500 1500 ieee ibm 0 0 0 0 0 0 0 0 0
Ports
Creamos un Nuevo Puerto romer1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. romer1(config)#inter vlan 20 romer1(config-if)#inter fa0/1 romer1(config-if)#switchport access vlan 20 romer1(config-if)#exit romer1(config)#end romer1# %SYS-5-CONFIG_I: Configured from console by console
romer1#show vlan
VLAN Name
Status
Ports
---- -------------------------------- --------- ------------------------------1 default active Fa1/1, Fa2/1, Fa3/1, Fa4/1
Fa5/1 20 VLAN0020 1002 fddi-default 1003 token-ring-default 1004 fddinet-default 1005 trnet-default active act/unsup act/unsup act/unsup act/unsup Fa0/1
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----1 enet 100001 1500 1500 1500 1500 1500 1500 ieee ibm 0 0 0 0 0 0 0 0 0 0 0 0
Ports
Enter configuration commands, one per line. End with CNTL/Z. romer1(config)#inter vlan 20 romer1(config-if)#inter fa1/1 romer1(config-if)#switchport access vlan 20 romer1(config-if)#end romer1# %SYS-5-CONFIG_I: Configured from console by console
romer1#show vlan
VLAN Name
Status
Ports
---- -------------------------------- --------- ------------------------------1 default active Fa2/1, Fa3/1, Fa4/1, Fa5/1 Fa0/1, Fa1/1
active
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ -----1 enet 100001 1500 1500 1500 1500 1500 1500 ieee ibm 0 0 0 0 0 0 0 0 0 0 0 0
Ports
Redes VLAN: Su importancia radica en que pueden separar de forma lgica los ordenadores que estn conectados de manera fsica en una red.
Los ordenadores de los puertos 1,2 y 5 (color amarillo) no pueden ver a los ordenadores de los puertos 3 y 4(color rojo)
Solamente los puertos de color rojo pueden verse entre si , Solamente los puertos de color verde pueden verse entre si y Solamente los puertos de color azul pueden verse entre si.
CONFIGURACION VLAN
Configuracion vlan
Codigo en switch
Asignamos los puertos fa0/2-fa0/13 en VLAN 2 Asignamos los puertos fa0/4-fa0/24 en VLAN 3 Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vlan 2 Switch(config-vlan)#inter range fa0/2-13 Switch(config-if-range)#switchport access vlan 2 Switch(config-if-range)#exit Switch(config)#vlan 3 Switch(config-vlan)#inter range fa0/14-24 Switch(config-if-range)#switchport access vlan 3 Switch(config-if-range)#exit Switch(config)#end
Switch# Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#inter fa0/1 Switch(config-if)#switchport mode trunk Switch(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console Switch#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK]
route1>enable route1#conf t Enter configuration commands, one per line. End with CNTL/Z. route1(config)#inter fa0/0.1 route1(config-subif)# %LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up
route1(config-subif)#no shutdown route1(config-subif)#exit route1(config)#inter fa0/0.2 route1(config-subif)# %LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up
% Configuring IP routing on a LAN subinterface is only allowed if that subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q, or ISL vLAN.