Está en la página 1de 4

PARA CONFIGURAR VIRTUAL LINK USAR ROUTERS 1841

---------------------------------------------1.-INTERFACES Y DIRECCIONAMIENTO
-------------------------------R1(config)# interface loopback 1
R1(config-if)# description Engineering Department //ESTE NOMBRE VARIA DEPENDIEND
O DE LO QUE SE PIDA
R1(config-if)# ip address 10.1.1.1 255.255.255.0
R1(config-if)# interface loopback 30
R1(config-if)# ip address 172.30.30.1 255.255.255.252
R1(config-if)# interface serial 0/0/0
R1(config-if)# ip address 10.1.12.1 255.255.255.0
R1(config-if)# clockrate 64000
R1(config-if)# no shutdown
R2(config)# interface loopback 2
R2(config-if)# description Marketing Department //ESTE NOMBRE VARIA DEPENDIENDO
DE LO QUE SE PIDA
R2(config-if)# ip address 10.1.2.1 255.255.255.0
R2(config-if)# interface serial 0/0/0
R2(config-if)# ip address 10.1.12.2 255.255.255.0
R2(config-if)# no shutdown
R2(config-if)# interface serial 0/0/1
R2(config-if)# ip address 10.1.23.2 255.255.255.0
R2(config-if)# clockrate 64000
R2(config-if)# no shutdown
R3(config)# interface loopback 3
R3(config-if)# description Accounting Department //ESTE NOMBRE VARIA DEPENDIENDO
DE LO QUE SE PIDA
R3(config-if)# ip address 10.1.3.1 255.255.255.0
R3(config-if)# interface loopback 100
R3(config-if)# ip address 192.168.100.1 255.255.255.0
R3(config-if)# interface loopback 101
R3(config-if)# ip address 192.168.101.1 255.255.255.0
R3(config-if)# interface loopback 102
R3(config-if)# ip address 192.168.102.1 255.255.255.0
R3(config-if)# interface loopback 103
R3(config-if)# ip address 192.168.103.1 255.255.255.0
R3(config-if)# interface serial 0/0/1
R3(config-if)# ip address 10.1.23.3 255.255.255.0
R3(config-if)# no shutdown
2.-PROCESO OSPF
--------------R1(config)# router ospf 1
R1(config-router)# network 10.1.12.0 0.0.0.255 area 0 //DECLARACION DE REDES DIR
ECTAMENTE CONECTADAS /24 Y AREA 0
R1(config-router)# network 10.1.1.0 0.0.0.255 area 0 //DECLARACION DE REDES DIRE
CTAMENTE CONECTADAS /24 Y AREA 0
R1(config-router)# exit
R1(config)# interface loopback 1
R1(config-if)# ip ospf network point-to-point //PARA QUE LA RED QUE HAY EN LA LO
OPBACK SEA ANUNCIADA COMPLETA
R2(config)# router ospf 1
R2(config-router)# network 10.1.12.0 0.0.0.255 area 0 //DECLARACION DE REDES DIR
ECTAMENTE CONECTADAS /24 Y AREA 0
R2(config-router)# network 10.1.2.0 0.0.0.255 area 0 //DECLARACION DE REDES DIRE

CTAMENTE CONECTADAS /24 Y AREA 0


R2(config-router)# exit
R2(config)# interface loopback 2
R2(config-if)# ip ospf network point-to-point //PARA QUE LA RED QUE HAY EN LA LO
OPBACK SEA ANUNCIADA COMPLETA
AGREGAR LA RED 10.1.23.0/24 A OSPF Y DECLARARLAS EN AREA 23
----------------------------------------------------------R2(config)# router ospf 1
R2(config-router)# network 10.1.23.0 0.0.0.255 area 23
AGREGAR LAS REDES 10.1.23.0/24 Y 10.1.3.0/24 A OSPF Y DECLARARLAS EN AREA 23
---------------------------------------------------------------------------R3(config)# router ospf 1
R3(config-router)# network 10.1.23.0 0.0.0.255 area 23 //DECLARACION DE REDES DI
RECTAMENTE CONECTADAS /24 Y AREA 23
R3(config-router)# network 10.1.3.0 0.0.0.255 area 23 //DECLARACION DE REDES DIR
ECTAMENTE CONECTADAS /24 Y AREA 23
R3(config-router)# exit
R3(config)# interface loopback 3
R3(config-if)# ip ospf network point-to-point //PARA QUE LA RED QUE HAY EN LA LO
OPBACK SEA ANUNCIADA COMPLETA
3.-CREAR VIRTUAL LINK
-----------------Son usados bsicamente para solucionar dos problemas:
Conectar una rea que no tiene conectividad fsica al backbone.
"Reparar" un backbone que ha perdido continuidad.
Son conexiones lgicas, que se parecen "vagamente" a un tnel.
No encapsulan el trfico.
Se configuran entre ABR, donde uno de ellos tiene "contacto" con el rea 0, no pue
den formarse usando reas "stub".
Esta conexin se convierte en un "link" point-to-point entre ellos y se generan LS
A de Tipo 1 para esa nueva conexin
en el rea 0. Los mensajes entre ellos son "Unicast"
El coste del virtual link depende del camino para conectar ambos ABR.
CONFIGURACION DE VIRTUAL LINK
----------------------------AADIR LOOPBACKS 100 a 103 EN R3 en el rea de 100.
R3(config)# router ospf 1
R3(config-router)# network 192.168.100.0 0.0.3.255 area 100
ES DIRECTAMENTE CONECTADAS /24 Y AREA 100
R3(config-router)# exit
R3(config)# interface loopback 100
R3(config-if)# ip ospf network point-to-point //PARA QUE LA
OPBACK SEA ANUNCIADA COMPLETA
R3(config-if)# interface loopback 101
R3(config-if)# ip ospf network point-to-point //PARA QUE LA
OPBACK SEA ANUNCIADA COMPLETA
R3(config-if)# interface loopback 102
R3(config-if)# ip ospf network point-to-point //PARA QUE LA
OPBACK SEA ANUNCIADA COMPLETA
R3(config-if)# interface loopback 103
R3(config-if)# ip ospf network point-to-point //PARA QUE LA

//DECLARACION DE RED

RED QUE HAY EN LA LO


RED QUE HAY EN LA LO
RED QUE HAY EN LA LO
RED QUE HAY EN LA LO

OPBACK SEA ANUNCIADA COMPLETA


OTRA FORMA DE CREAR UN VIRTUAL LINK ES CON EL AREA
-------------------------------------------------R2(config)# router ospf 1
R2(config-router)# area 23 virtual-link 192.168.103.1 //IP DE LA RED A LA QUE QU
EREMOS LLEGAR
R3(config)# router ospf 1
R3(config-router)# area 23 virtual-link 10.1.2.1 //IP DE LA RED A LA QUE QUEREMO
S LLEGAR
Para asegurarse de que el ID del router de los enlaces extremos virtuales se man
tiene constante, se puede configurar
estticamente el ID del router OSPF del enlace terminales virtuales con el comando
router-id.
4.-SUMARIZACION POR AREA Y POR UN RANGO
--------------------------------------AQUI SE SUMALIZARA LA LOOPBACK DE LA 100 A LA 103 DEL R3 EN UNA SOLA PERO CON /2
2
R3(config)# router ospf 1
R3(config-router)# area 100 range 192.168.100.0 255.255.252.0
VERIFICAR
--------R2# show ip route
5.-GENERAR RUTA POR DEFECTO EN OSPF
----------------------------------GENERALMENTE SE USA CUANDO EN UN ROUTER HAY UNA CONEXION A INTERNET, OSEA PARA T
RAFICO DESCONOCIDO
R1(config)# router ospf 1
R1(config-router)# default-information originate always

También podría gustarte