miércoles, 8 de mayo de 2013

CONFIGURACION DTE-DCE


UNIVERSIDAD AUTONOMA DEL ESTADO DE MEXICO
CENTRO UNIVERSITARIO ATLACOMULCO



INGENIERIA EN COMPUTACION


INTERCONEXIÓN DE REDES

CONFIGURACION DTE-DCE
2do PARCIAL


LIC.ELIZABETH EVANGELISTA
YABIN GONZAGA LOPEZ



8° SEMESTRE
ICO – 14


ATLACOMULCO MEXICO, MAYO 2013.

Configuración DTE-DCE
  Para conectar dos routers se pueden usar los interfaces serie (s0, s1, …). (enlaces WAN).
  Enlaces WAN: utilizan servicios de operadora.
  Los routers (DTE) se conectan a la WAN  a través de un DCE: DTE se conecta al DCE con un cable DTE.
  Por defecto, los routers Cisco son dispositivos DTE, pero se pueden configurar como dispositivos DCE.
  Las interfaces serie necesitan una señal de sincronización que controle la comunicación: dispositivo DCE, proporciona dicha señal.
  DCE: configurar señal de sincronización (clock rate).
  Velocidades disponibles (en bps): 1200, 2400, 9600, 19200, 38400, 56000, 64000, 72000, 125000, 148000, 500000, 800000, 1000000, 1300000, 2000000, ó 4000000).
  NOTA: Cuando dos routers se conectan directamente a través de puertos serie, uno se configura como DCE y otro como DTE. El cable a usar sería un DCE.
—CONFIGURACIÓN DE INTERFACES SERIE COMO DTE
Configuración manual
RouterA> enable
RouterA# config terminal
RouterA(config)# interface serial 0/0 * (ingresa al Submodo de Configuración de Interfaz)
RouterA(config-if)# ip address 10.0.0.1 255.0.0.0 (configura la IP en la interfaz)
RouterA(config-if)# no shutdown (levanta la interfaz)
RouterA(config-if)# description red (asigna un nombre a la interfaz)
RouterA(config-if)# exit
RouterA(config)#
RouterA# copy running-config startup-config à Para guardar la configuración

CONFIGURACIÓN DE INTERFACES SERIE COMO DCE.
  RouterB> enable
  RouterB# config terminal
  RouterB(config)# interface serial 0/1 * (ingresa al Submodo de Configuración de Interfaz)
  RouterB(config-if)# ip address 10.0.0.2 255.0.0.0 (configura la IP en la interfaz)
  RouterB(config-if)# clock rate 56000 (configura la sincronización entre los enlaces)
  RouterB(config-if)# no shutdown (levanta la interfaz)
  RouterB(config-if)# description red (asigna un nombre a la interfaz)
  RouterB(config-if)# exit
  RouterB(config)#
 RouterA# copy running-config startup-config
  El router siempre tiene dos configuraciones:
  “Running” (configuración actual)          
  En RAM, indica con qué parámetros el router está operando actualmente
  Se modifica con el comando configure
  Para verla: show running-config
  “Startup” (configuración de inicio)
  En NVRAM, determina cómo va a operar el router cuando sea reiniciado
  Se modifica usando el comando copy
  Para verla: show startup-config

CUESTIONARIO




UNIVERSIDAD AUTONOMA DEL ESTADO DE MEXICO

CENTRO UNIVERSITARIO ATLACOMULCO



INGENIERIA EN COMPUTACION



INTERCONEXIÓN DE REDES

CUESTIONARIO
2do PARCIAL


LIC.ELIZABETH EVANGELISTA
YABIN GONZAGA LOPEZ



8° SEMESTRE
ICO – 14

ATLACOMULCO MEXICO, MAYO 2013.




1.-Diferencia entre OSPF y EIGRP?
 à OSPF: permite reconocer varias métricas entre ellas distancia física y retardos dinámicos; se adapta rápido y automáticamente, reconoce sistemas jerárquicos
  àEIGRP: utiliza balanceo de carga simétrico, es un protocolo mejorado de enrutamiento por vector-distancia, utiliza el algoritmo de actualización difusa para un cálculo de ruta más corta
2.-Diferencia entre DCE y DTE?
àDTE: Equipo terminal de datos
à DCE: Equipo para comunicación de datos
3.-Como se logra el enrutamiento estático?
 Son definidas por el administrador manualmente para que el router aprenda sobre una red remota, necesitan poca recurso del sistema es recomendable utilizarla cuando nuestra red está compuesta por unos cuantos routers.
4.-Qué es un sistema de comunicación?
Transmitir señal desde un punto de origen hasta un destino localizados en cierta ubicación. Existen 3 componentes: emisor, transmisor y receptor
5.-Las redes WAN pueden ser conocidos como sistemas autónomas si? , no?, por qué?
Sí, es un grupo de redes IP en una red de área amplia
6.-Principales características de una red WAN?
àRed de área amplia
àConexión es muy lenta
àLo que provee servicios son las redes de teléfono
7.-Se puede establecer una configuración der conexión serial entre dos equipos,   si?, no?, por qué?
No, serial es de router a router para la configuración
8.-Qué equipos pueden conectar?
àSwitch, router, servidor que provee servicios en la nube.

miércoles, 1 de mayo de 2013

INTERCONEXION DE 2 ENRUTADORES MEDIANTE CABLE V.35




UNIVERSIDAD AUTONOMA DEL ESTADO DE MEXICO
CENTRO UNIVERSITARIO ATLACOMULCO


INGENIERIA EN COMPUTACION



INTERCONEXIÓN DE REDES

TAREA
COMO INTERCONECTAR 2 ENRUTADORES MEDIANTE CABLE V.35





LIC.ELIZABETH EVANGELISTA
YABIN GONZAGA LOPEZ

8° SEMESTRE
ICO – 14



Para conectar 2 routers Cisco a través de sus interfaces serial, se puede usar un cabe serie nulo uniendo un cable DCE con uno DTE.




Por defecto, los routers Cisco son DTEs (Data Terminal Equipment). Esto puede suponer un problema cuando conectamos 2 routers directamente, porque uno de los dos tiene que actuar como DCE (Data Circuit-Terminating Equipment) en esta conexión.

El DCE debe enviar el clock rate al DTE, así que hay que configurarlo. Los cables DCE/DTE llevan estampado físicamente en el propio conector las letras correspondientes para identificarlos, ¿pero qué ocurre si no podemos verlo?
Podemos usar el comando show:

R1#show controller serial 1
HD unit 1, idb =..., driver structure ...
buffer size 1524 HD unit 1, V.35 DTE cable

R2#show controller serial 1
HD unit 1, idb = ..., driver structure ...
buffer size 1524 HD unit 1, V.35 DCE cable

Una vez que sabemos cuál es el equipo que actuará como DCE hay que configurar el clockrate en él para que se lo envíe al equipo DTE:
R2(config)#interface serial 1 
R2(config-if)#ip address ... 
R2(config-if)#encapsulation ppp
R2(config-if)#clockrate 56000
R2(config-if)#no shutdown

R2(config-if)#exit
R2(config)#exit

Y configurar el equipo DTE:

R1(config)#interface serial 1
R1(config-if)#ip address ...

R1(config-if)#encapsulation ppp 
R1(config-if)#no shutdown 
R1(config-if)#exit
R1(config)#exit
R1#copy run start




miércoles, 24 de abril de 2013

PRACTICA #3


UNIVERSIDAD AUTONOMA DEL ESTADO DE MEXICO
CENTRO UNIVERSITARIO ATLACOMULCO

INGENIERIA EN COMPUTACION



INTERCONEXIÓN DE REDES

PRACTICA#3

 2do PARCIAL
                                                                       VLAN





LIC.ELIZABETH EVANGELISTA
YABIN GONZAGA LOPEZ

8° SEMESTRE
ICO – 14








PROPÓSITO:

EL ALUMNO CONOCERÁ Y PONDRÁ EN PRACTICA LAS  CARACTERÍSTICAS DE LOS PROTOCOLOS DE  ENRUTAMIENTO OSPF, EIGRP, PARA DETERMINAR LA DIFERENCIA ENTRE AMBOS MEDIANTE  COMPARACIONES.

REQUERIMIENTOS DE SOFTWARE

REUTILIZAR LA CONFIGURACIÓN DE LA PRACTICA
2, ES DECIR RESPETAR LA TOPOLOGÍA FÍSICA. 

CASO DE USO:

SE REQUIERE QUE LA GERENCIA GENERAL DE LA CASA MATRIZ SE COMUNIQUE CON TODAS LAS GERENCIAS DE LAS SUCURSALES.
PERO LAS SUCURSALES SOLO PUEDEN ESTABLECER COMUNICACIÓN  CON CADA UNA DE SUS AREÁS Y LA GERENCIA GENERAL  DE LA MATRIZ 

CASO 1 EJECUTA LA CONFIGURACIÓN CON EL PROTOCOLO OSPF
CASO 2 EJECUTA LA CONFIGURACIÓN CON EL PROTOCOLO EIGRP

RESULTADO:

UTILIZA EL COMANDO PARA MOSTRAR LA CONFIGURACIÓN Y DESCRIBE LO QUE SUCEDA EN CADA UNA.

CONFIGURACIÓN DE LA PRACTICA Y RED: DISEÑO


 DESPUES ASIGNAMOS LAS DIRECCIONES IP
Y AHORA LAS CONFIGURAMOS CON LOS PROTOCOLOS CORRESPONDIENTES, QUE SE EJECUTAN CON LOS SIGUIENTES COMANDOS.
R1>en
R1#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#router ospf 1
R1(config-router)#network 174.26.10.16 0.0.0.15 a 1
R1(config-router)#network 174.26.10.32 0.0.0.15 a 1
R1(config-router)#exit
R1(config)#
R1#%SYS-5-CONFIG_I: Configured from console by console
R1#00:45:01: %OSPF-5-ADJCHG: Process 1, Nbr 174.26.10.113 on Serial0/0 from LOADING to FULL, Loading Done
R1#copy run start
Destination filename [startup-config]? 
Building configuration...
[OK]
R1#
 Y LA CONFIGURACIÓN DE UN EIGRP ES LA SIGUIENTE:
R1>en
R1#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#router eigrp 100
R1(config-router)#network 174.26.10.16 0.0.0.15 a 1
R1(config-router)#network 174.26.10.32 0.0.0.15 a 1
R1(config-router)#exit
R1(config)#
R1#%SYS-5-CONFIG_I: Configured from console by console
R1#00:45:01: %OSPF-5-ADJCHG: Process 1, Nbr 174.26.10.113 on Serial0/0 from LOADING to FULL, Loading Done
R1#copy run start
Destination filename [startup-config]? 
Building configuration...
[OK]
R1#
CLARAMENTE SE APRECIA QUE NO HAY MUCHA DIFERENCIA ENTRE ESTOS 2 PROTOCOLOS.
Y AHORA SOLO QUEDA HACER LAS PRUEBAS PARA COMPROBAR DE QUE REALMENTE FUNCIONA.
LAS PRUEBAS HABLAN POR SI MISMAS, LA CONFIGURACIÓN DE NUESTRA TOPOLOGÍA FUE EXITOSA.



miércoles, 17 de abril de 2013

vlan#2


UNIVERSIDAD AUTONOMA DEL ESTADO DE MEXICO
CENTRO UNIVERSITARIO ATLACOMULCO

INGENIERIA EN COMPUTACION



INTERCONEXIÓN DE REDES

PRACTICA#2 2do PARCIAL
                                                                       VLAN





LIC.ELIZABETH EVANGELISTA
YABIN GONZAGA LOPEZ

8° SEMESTRE
ICO – 14




Introducción a VLAN
Una VLAN (Red de área local virtual o LAN virtual) es una red de área local que agrupa un conjunto de equipos de manera lógica y no física. Efectivamente, la comunicación entre los diferentes equipos en una red de área local está regida por la arquitectura física. Gracias a las redes virtuales (VLAN), es posible liberarse de las limitaciones de la arquitectura física (limitaciones geográficas, limitaciones de dirección, etc.), ya que se define una segmentación lógica basada en el agrupamiento de equipos según determinados criterios (direcciones MAC, números de puertos, protocolo, etc.).
TOPOLOGÍA DE LA RED:

Luego de tener la topología y que todas las maquinas estén conectadas de la manera adecuada, continuamos con lo que es la asignación de direcciones IP.

Y así con todas las maquinas que usaremos para esta practica.
Luego configuramos el switch para hacer las vlans, y para ello ejecutamos los siguientes comandos:
Creación de las VLAN
sw0(config)# interface vlan 4
sw0(config-if)# description Vlan4
sw0(config-if)# no shutdown
sw0(config)# interface vlan 5
sw0(config-if)# description Vlan5
sw0(config-if)# no shutdown
sw1(config)# interface vlan 4
sw1(config-if)# description Vlan4
sw1(config-if)# no shutdown
sw1(config)# interface vlan 5
sw1(config-if)# description Vlan5
sw1(config-if)# no shutdown

Asignar puertos a las VLAN
sw0(config)#interface range fastEthernet 0/1 - fastEthernet 0/8
sw0(config-if-range)#switchport mode access
sw0(config-if-range)#switchport access vlan 4
sw0(config-if-range)#exit
sw0(config)#interface range fastEthernet 0/9, fastEthernet 0/10, fastEthernet0/12
sw0(config-if-range)#switchport mode access
sw0(config-if-range)#switchport access vlan 5
sw0(config-if-range)#exit
sw1(config)#interface range fastEthernet 0/1 - fastEthernet 0/9
sw1(config-if-range)#switchport mode access
sw1(config-if-range)#switchport access vlan 4
sw1(config-if-range)#exit
sw1(config)#interface range fastEthernet 0/10 - fastEthernet 0/14
sw1(config-if-range)#switchport mode access
sw1(config-if-range)#switchport access vlan 5
sw1(config-if-range)#exit

Configurar los puertos de Trunk
sw0(config)#interface fastEthernet 0/11
sw0(config-if)#switchport mode trunk
sw0(config-if)#switchport trunk encapsulation dot1q
sw0(config-if)#switchport trunk allowed vlan 4,5
sw0(config-if)#exit
sw0(config)#interface gigabitEthernet 1/1
sw0(config-if)#switchport mode trunk
sw0(config-if)#switchport trunk encapsulation dot1q
sw0(config-if)#switchport trunk allowed vlan 4,5
sw0(config-if)#exit
sw1(config)#interface gigabitEthernet 1/1
sw1(config-if)#switchport mode trunk
sw0(config-if)#switchport trunk encapsulation dot1q
sw1(config-if)#switchport trunk allowed vlan 4,5
sw1(config-if)#exit
Y TAMBIEN LOS ROUTERS SE CONFIGURAN:
Ruteo entre VLANs
central(config)#interface fastEthernet 0/0
central(config-if)#no shutdown
central(config-if)#exit
central(config)# interface fastEthernet 0/0.4
central(config-if)# encapsulation dot1Q 4
central(config-if)# ip address 174.26.11.1 255.255.255.240
exit
central(config)# interface fastEthernet 0/0.5
central(config-if)# encapsulation dot1Q 5
central(config-if)# ip address 174.26.12.18 255.255.255.240
exit

Verificación de la configuración de las VLAN
sw1#show vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig1/2
4    VLAN0004                         active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9
5    VLAN0005                         active    Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14
1002 fddi-default                     active
1003 token-ring-default               active
1004 fddinet-default                  active
1005 trnet-default                    active
sw1#show vlan id 4
VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
4    VLAN0004                         active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9
VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
4    enet  100004     1500  -      -      -        -    -        0      0
sw1#show interfaces vlan 4
Vlan4 is up, line protocol is up
Hardware is CPU Interface, address is 0007.ecaa.64a6 (bia 0007.ecaa.64a6)
MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input 21:40:21, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1682 packets input, 530955 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicast)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
563859 packets output, 0 bytes, 0 underruns
0 output errors, 23 interface resets
0 output buffer failures, 0 output buffers swapped out
sw1#show interfaces trunk
Port        Mode         Encapsulation  Status        Native vlan
Gig1/1      on           802.1q         trunking      1
Port        Vlans allowed on trunk
Gig1/1      4-5
Port        Vlans allowed and active in management domain
Gig1/1      4,5
Port        Vlans in spanning tree forwarding state and not pruned
Gig1/1      4,5
POR ULTIMO PROCEDEMOS A LA PRUEBAS NECESARIAS PARA VER SI FUNCIONA




 Como se puede observar, no se puede comunicar entre otros departamentos que no sean los que le corresponden