viernes, 13 de noviembre de 2009

Marujita lo sabe todo



La semana pasada mi mamá me llamó un poco triste y me contó que habían robado la carpa del carro, le dije que no importaba que son cosas que pasan (acá en nuestro Perú es una cosa casi normal), le dije que comprara otra carpa y que no se preocupara. Mi mamá me contestó que para que iba a comprar otra carpa "será para que nos roben de nuevo, no vez que los ladrones nos están vigilando". En lugar de comprar una carpa mi mamá izo una carpa de cartón con un sistema prácticamente imposible de vulnerar. Marujita lo sabe todo.

Información Oculta


Siempre escuché comentarios, de que la iglesia nos ocultaba cosas, ahora creo haber descubierto el misterio. Saludos amigos







jueves, 17 de septiembre de 2009

CCNP Violento BSCI-642-901: IPv6

CCNP Violento BSCI-642-901: IPv6

1. Descripción de la Configuración de Cada Router

Router de Lisa y Homero
Se configura las direcciones IP de sus interfaces y se las activa
Se configura las direcciones IPv6 de sus interfaces y se las activa
Se configura túneles automáticos 6to4
Se configura enrutamiento OSPFv2

Router de Nelson
Se configura las direcciones IP de sus interfaces y se las activa
Se configura enrutamiento OSPFv2

Router de Rafa y Milhouse
Se configura las direcciones IP de sus interfaces y se las activa
Se configura túneles manuales IPv6toIPv4
Se configura enrutamiento OSPFv2
Se configura enrutamiento OSPFv3

Router de Bart
Se configura las direcciones IPv6 de sus interfaces y se las activa
Se configura enrutamiento OSPFv3

2. Configuración

A continuación se detalla la configuración de cada uno de los routers

Lisa(config)# hostname Lisa
Lisa(config)# ipv6 unicast-routing

Lisa(config)# interface FastEthernet0/0
Lisa(config-if)# ipv6 address 2002:a00:101:b::1/64
Lisa(config-if)# no shutdown
Lisa(config)# interface Serial1/0
Lisa(config-if)# ip address 10.0.1.1 255.255.255.0
Lisa(config-if)# no shutdown
Lisa(config)# interface Tunnel0
Lisa(config-if)# ipv6 address 2002:a00:101:a::1/64
Lisa(config-if)# tunnel source 10.0.1.1
Lisa(config-if)# tunnel mode ipv6ip 6to4
Lisa(config-if)# no shutdown

Lisa(config)# router ospf 11
Lisa(config-router)# network 10.0.0.0 0.255.255.255 area 0
Lisa(config)# ipv6 route 2002::/16 Tunnel0

Homero(config)# hostname Homero
Homero(config)# ipv6 unicast-routing

Homero(config)# interface FastEthernet0/0
Homero(config-if)# ipv6 address 2002:a00:202:b::1/64
Homero(config-if)# no shutdown
Homero(config)# interface Serial1/0
Homero(config-if)# ip address 10.0.2.2 255.255.255.0
Homero(config-if)# no shutdown
Homero(config)# interface Tunnel0
Homero(config-if)# ipv6 address 2002:a00:202:a::1/64
Homero(config-if)# tunnel source 10.0.2.2
Homero(config-if)# tunnel mode ipv6ip 6to4
Homero(config-if)# no shutdown

Homero(config)# router ospf 11
Homero(config-router)# network 10.0.0.0 0.255.255.255 area 0
Homero(config)# ipv6 route 2002::/16 Tunnel0

Nelson(config)# hostname Nelson

Nelson(config)# interface Serial0/0
Nelson(config-if)# ip address 10.0.2.1 255.255.255.0
Nelson(config-if)# no shutdown
Nelson(config)# interface Serial0/1
Nelson(config-if)# ip address 10.0.3.2 255.255.255.0
Nelson(config-if)# no shutdown
Nelson(config)# interface Serial0/2
Nelson(config-if)# ip address 10.0.1.2 255.255.255.0
Nelson(config-if)# no shutdown
Nelson(config)# interface Serial0/3
Nelson(config-if)# ip address 10.0.4.1 255.255.255.0

Nelson(config)# router ospf 11
Nelson(config-router)#network 10.0.0.0 0.255.255.255 area 0

Milhouse(config)# hostname Milhouse
Milhouse(config)# ipv6 unicast-routing

Milhouse(config)# interface Serial0/0
Milhouse(config-if)# ip address 10.0.4.2 255.255.255.0
Milhouse(config-if)# no shutdown
Milhouse(config)# interface FastEthernet1/0
Milhouse(config-if)# ipv6 address 2001:ffff:0:d::1/64
Milhouse(config-if)# ipv6 ospf 11 area 0
Milhouse(config-if)# no shutdown
Milhouse(config)# interface Tunnel0
Milhouse(config-if)# ipv6 address 2001:ffff:0:c::2/64
Milhouse(config-if)# ipv6 ospf 11 area 0
Milhouse(config-if)# tunnel source 10.0.4.2
Milhouse(config-if)# tunnel mode ipv6ip
Milhouse(config-if)# no shutdown

Milhouse(config)# router ospf 11
Milhouse(config-router)# network 10.0.0.0 0.255.255.255 area 0
Milhouse(config)# ipv6 router ospf 11
Milhouse(config-rtr)#router-id 2.2.2.2

Rafa(config)# hostname Rafa
Rafa(config)# ipv6 unicast-routing

Rafa(config)# interface Serial0/0
Rafa(config-if)# ipv6 address 2001:ffff:0b::2/64
Rafa(config-if)# ipv6 ospf 11 area 0
Rafa(config-if)# no shutdown
Rafa(config)# interface Serial0/1
Rafa(config-if)# ip address 10.0.3.1 255.255.255.0
Rafa(config-if)# no shutdown
Rafa(config)# interface Tunnel0
Rafa(config-if)# ipv6 address 2001:ffff:0:c::1/64
Rafa(config-if)# ipv6 ospf 11 area 0
Rafa(config-if)# tunnel source 10.0.3.1
Rafa(config-if)# tunnel destination 10.0.4.2
Rafa(config-if)# tunnel mode ipv6ip
Rafa(config-if)# no shutdown

Rafa(config)# router ospf 11
Rafa(config-router)# network 10.0.0.0 0.255.255.255 area 0
Rafa(config)# ipv6 router ospf 11
Rafa(config-rtr)# router-id 3.3.3.3

Bart(config)# hostname Bart
Bart(config)# ipv6 unicast-routing

Bart(config)# interface FastEthernet0/0
Bart(config-if)# ipv6 address 2001:ffff:0:b::1/64
Bart(config-if)# ipv6 ospf 11 area 0
Bart(config-if)# no shutdown
Bart(config)# interface Serial1/0
Bart(config-if)# ipv6 address 2001:ffff:0:b::1/64
Bart(config-if)# ipv6 ospf 11 area 0
Bart(config-if)# no shutdown

Bart(config)# ipv6 router ospf 11
Bart(config-rtr)# router-id 4.4.4.4

3. Comandos importantes

Algunos comandos importantes que se debe de tener en cuenta al momento de configurar IPv6

(config)# ipv6 unicast-routing
(config)# ipv6 router ospf process-id
(config-rtr)# router-id router-id
(config-if)# ipv6 address address/prefix-length [eui-64]
(config-if)# ipv6 ospf process-id area area-id [instance instance-id]
(config-if)# router ospf priority priority number
(config-if)# router ospf cost cost
(config-rtr)# area area-id range prefix/prefix-length [advertise | not-advertise] [cost cost]
#show ipv6 ospf [process-id] database link
#show ipv6 ospf [process-id] database prefix
#show ipv6 ospf [process-id] area [area-id] interface interface]
#show ipv6 ospf neighbor detail
#show ipv6 ospf database
#show ipv6 ospf database database-summary
(config-if)# tunnel source [ip-adress | interface]
(config-if)# tunnel destination [ip-address | interface]
(config-if)# tunnel mode ipv6ip [6to4]

lunes, 7 de septiembre de 2009

COINTEC 2009

Los señores del Cointec 2009. Han tenido la cortesía de invitarnos a participar de su evento, en donde nuestro aporte será con un par de conferencias. Están todos invitados a este congreso internacional que organiza nuestra querida casa de estudio. Demás está decir que este congreso mantendrá la misma calidad que han tenido todos nuestros congresos anteriores.

CCNP Violento BSCI-642-901: BGP

CCNP Violento BSCI-642-901: BGP

1. Descripción del Escenario

Yahoo1 y Yahoo2
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0

Yahoo3
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura para que OSPF publique la ruta por defecto
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP y IBGP
Se configura las redes que debe publicar BGP
Se configura rutas estáticas para las redes publicadas por BGP

Yahoo4
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura para que OSPF publique la ruta por defecto
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP y IBGP

Telmex1
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP y IBGP
Se deshabilita la sincronización
Se establece la contraseña MD5 para IBGP
Se configura las redes que debe publicar BGP
Se configura rutas estáticas para las redes publicadas por BGP
Se establece la preferencia local hacia telefónica en 50

Telmex2
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP y IBGP
Se deshabilita la sincronización
Se establece la contraseña MD5 para IBGP

Telmex3
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP y IBGP
Se deshabilita la sincronización
Se establece la contraseña MD5 para IBGP
Se establece la métrica hacia Microsoft en 200

Telmex4
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP y IBGP
Se deshabilita la sincronización
Se establece la contraseña MD5 para IBGP
Se establece la métrica hacia Microsoft en 100

Telefónica y Microsoft
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP
Se configura las redes que debe publicar BGP

2. Configuración

A continuación se presenta la configuración completa de cada uno de los equipos de este escenario

Yahoo1(config)# hostname Yahoo1

Yahoo1(config)# interface Serial0/0
Yahoo1(config-if)# ip address 10.1.3.1 255.255.255.0
Yahoo1(config-if)# no shutdown
Yahoo1(config)# interface Serial0/1
Yahoo1(config-if)# ip address 10.1.1.1255.255.255.0
Yahoo1(config-if)# no shutdown
Yahoo1(config-if)# ip address 10.1.2.1 255.255.255.0
Yahoo1(config-if)# no shutdown

Yahoo1(config)# router ospf 11
Yahoo1(config-router)#network 10.1.0.0 0.0.255.255 area 0

Yahoo2(config)# hostname Yahoo2

Yahoo2(config)# interface Serial0/0
Yahoo2(config-if)# ip address 10.1.3.2.255.255.255.0
Yahoo2(config-if)# no shutdown
Yahoo2(config)# interface Serial0/1
Yahoo2(config-if)# ip address 10.1.4.1 255.255.255.0
Yahoo2(config-if)# no shutdown
Yahoo2(config)# router ospf 11
Yahoo2(config-router)# network 10.1.0.0 0.0.255.255 area 0

Yahoo3(config)# hostname Yahoo3

Yahoo3(config)# interface Loopback0
Yahoo3(config-if)# ip address 10.4.1.3 255.255.255.255
Yahoo3(config-if)# no shutdown
Yahoo3(config)# interface Serial0/0
Yahoo3(config-if)# ip address 10.1.4.2 255.255.255.0
Yahoo3(config-if)# no shutdown
Yahoo3(config)# interface Serial0/1
Yahoo3(config-if)# ip address 10.1.2.2 255.255.255.0
Yahoo3(config-if)# no shutdown
Yahoo3(config)# interface Serial0/2
Yahoo3(config-if)# ip address 10.3.2.1 255.255.255.0
Yahoo3(config-if)# no shutdown
Yahoo3(config)# interface Serial0/3
Yahoo3(config-if)# ip address 10.1.5.1 255.255.255.0
Yahoo3(config-if)# no shutdown

Yahoo3(config)# router ospf 11
Yahoo3(config-router)# network 10.1.0.0 0.0.255.255 area 0
Yahoo3(config-router)# network 10.4.1.3 0.0.0.0 area 0
Yahoo3(config-router)# default-information originate always
Yahoo3(config)# router bgp 64600
Yahoo3(config-router)# no synchronization
Yahoo3(config-router)# network 10.1.0.0 mask 255.255.0.0
Yahoo3(config-router)# network 10.4.1.0 mask 255.255.255.0
Yahoo3(config-router)# neighbor 10.3.2.2 remote-as 65000
Yahoo3(config-router)# neighbor 10.4.1.4 remote-as 64600
Yahoo3(config-router)# neighbor 10.4.1.4 update-source Loopback0
Yahoo3(config-router)# neighbor 10.4.1.4 next-hop-self

Yahoo3(config)# ip route 10.1.0.0 255.255.0.0 Null0
Yahoo3(config)# ip route 10.4.1.0 255.255.255.0 Null0

Yahoo4(config)# hostname Yahoo4

Yahoo4(config)# interface Loopback0
Yahoo4(config-if)# ip address 10.4.1.4 255.255.255.255
Yahoo4(config-if)# no shutdown
Yahoo4(config)# interface Serial0/0
Yahoo4(config-if)# ip address 10.1.1.2 255.255.255.0
Yahoo4(config-if)# no shutdown
Yahoo4(config)# interface Serial0/1
Yahoo4(config-if)# ip address 10.3.1.1 255.255.255.0
Yahoo4(config-if)# no shutdown
Yahoo4(config)# interface Serial0/2
Yahoo4(config-if)# ip address 10.1.5.2 255.255.255.0
Yahoo4(config-if)# no shutdown

Yahoo4(config)# router ospf 11
Yahoo4(config-router)# network 10.1.0.0 0.0.255.255 area 0
Yahoo4(config-router)# network 10.4.1.4 0.0.0.0 area 0
Yahoo4(config-router)# default-information originate always
Yahoo4(config)# router bgp 64600
Yahoo4(config-router)# no synchronization
Yahoo4(config-router)# neighbor 10.3.1.2 remote-as 64800
Yahoo4(config-router)# neighbor 10.4.1.3 remote-as 64600
Yahoo4(config-router)# neighbor 10.4.1.3 update-source Loopback0
Yahoo4(config-router)# neighbor 10.4.1.3 next-hop-self

Telmex1(config)# hostname Telmex1

Telmex1(config)# interface Loopback0
Telmex1(config-if)# ip address 10.4.2.1 255.255.255.255
Telmex1(config-if)# no shutdown
Telmex1(config)# interface Serial0/0
Telmex1(config-if)# ip address 10.3.1.2 255.255.255.0
Telmex1(config-if)# no shutdown
Telmex1(config)# interface Serial0/1
Telmex1(config-if)# ip address 10.2.2.1 255.255.255.0
Telmex1(config-if)# no shutdown
Telmex1(config)# interface Serial0/2
Telmex1(config-if)# ip address 10.2.1.1 255.255.255.0
Telmex1(config-if)# no shutdown

Telmex1(config)# router ospf 11
Telmex1(config-router)# network 10.2.0.0 0.0.255.255 area 0
Telmex1(config-router)# network 10.4.0.0 0.0.255.255 area 0
Telmex1(config)# router bgp 64800
Telmex1(config-router)# no synchronization
Telmex1(config-router)# network 10.2.0.0 mask 255.255.0.0
Telmex1(config-router)# network 10.4.2.0 mask 255.255.255.0
Telmex1(config-router)# neighbor ibgps peer-group
Telmex1(config-router)# neighbor ibgps remote-as 64800
Telmex1(config-router)# neighbor ibgps password tongo
Telmex1(config-router)# neighbor ibgps update-source Loopback0
Telmex1(config-router)# neighbor ibgps next-hop-self
Telmex1(config-router)# 10.3.1.1 remote-as 64600
Telmex1(config-router)# 10.3.1.1 route-map locapre in
Telmex1(config-router)# 10.4.2.2 peer-group ibgps
Telmex1(config-router)# 10.4.2.3 peer-group ibgps
Telmex1(config-router)# 10.4.2.4 peer-group ibgps

Telmex1(config)# ip route 10.2.0.0 255.255.0.0 Null0
Telmex1(config)# ip route 10.4.2.0 255.255.255.0 Null0

Telmex1(config)# access-list 11 permit 10.4.3.1
Telmex1(config)# route-map locapre permit 10
Telmex1(config-route-map)# match ip address 11
Telmex1(config-route-map)# set local-preference 50
Telmex1(config)# route-map locapre permit 20

Telmex2(config)# hostname Telmex2

Telmex2(config)# interface Loopback0
Telmex2(config-if)# ip address 10.4.2.2 255.255.255.255
Telmex2(config-if)# no shutdown
Telmex2(config)# interface Serial0/0
Telmex2(config-if)# ip address 10.2.2.2 255.255.255.0
Telmex2(config-if)# no shutdown
Telmex2(config)# interface Serial0/1
Telmex2(config-if)# ip address 10.2.3.1 255.255.255.0
Telmex2(config-if)# no shutdown

Telmex2(config)# router ospf 11
Telmex2(config-router)# network 10.2.0.0 0.0.255.255 area 0
Telmex2(config-router)# network 10.4.0.0 0.0.255.255 area 0
Telmex2(config)# router bgp 64800
Telmex2(config-router)# no synchronization
Telmex2(config-router)# neighbor ibgps peer-group
Telmex2(config-router)# neighbor ibgps remote-as 64800
Telmex2(config-router)# neighbor ibgps password tongo
Telmex2(config-router)# neighbor ibgps update-source Loopback0
Telmex2(config-router)# neighbor ibgps next-hop-self
Telmex2(config-router)# neighbor 10.4.2.1 peer-group ibgps
Telmex2(config-router)# neighbor 10.4.2.3 peer-group ibgps
Telmex2(config-router)# neighbor 10.4.2.4 peer-group ibgps

Telmex3(config)# hostname Telmex3

Telmex3(config)# interface Loopback0
Telmex3(config-if)# ip address 10.4.2.3 255.255.255.255
Telmex3(config-if)# no shutdown
Telmex3(config)# interface Serial0/0
Telmex3(config-if)# ip address 10.2.3.2 255.255.255.0
Telmex3(config-if)# no shutdown
Telmex3(config)# interface Serial0/1
Telmex3(config-if)# ip address 10.3.5.1 255.255.255.0
Telmex3(config-if)# no shutdown

Telmex3(config)# router ospf 11
Telmex3(config-router)# network 10.2.0.0 0.0.255.255 area 0
Telmex3(config-router)# network 10.4.0.0 0.0.255.255 area 0
Telmex3(config)# router bgp 64800
Telmex3(config-router)# no synchronization
Telmex3(config-router)# neighbor ibgps peer-group
Telmex3(config-router)# neighbor ibgps remote-as 64800
Telmex3(config-router)# neighbor ibgps password tongo
Telmex3(config-router)# neighbor ibgps update-source Loopback0
Telmex3(config-router)# neighbor ibgps next-hop-self
Telmex3(config-router)# neighbor 10.3.5.2 remote-as 65200
Telmex3(config-router)# neighbor 10.3.5.2 route-map med out
Telmex3(config-router)# neighbor 10.4.2.1 peer-group ibgps
Telmex3(config-router)# neighbor 10.4.2.2 peer-group ibgps
Telmex3(config-router)# neighbor 10.4.2.4 peer-group ibgps

Telmex3(config)# access-list 11 permit 10.2.0.0 0.0.255.255
Telmex3(config)# access-list 11 permit 10.4.2.0 0.0.0.255
Telmex3(config)# route-map med permit 10
Telmex3(config-route-map)# match ip address 11
Telmex3(config-route-map)# set metric 200
Telmex3(config)# route-map med permit 20

Telmex4(config)# hostname Telmex4

Telmex4(config)# interface Loopback0
Telmex4(config-if)# ip address 10.4.2.4 255.255.255.255
Telmex4(config-if)# no shutdown
Telmex4(config)# interface Serial0/0
Telmex4(config-if)# ip address 10.2.1.2 255.255.255.0
Telmex4(config-if)# no shutdown
Telmex4(config)# interface Serial0/1
Telmex4(config-if)# ip address 10.3.6.1 255.255.255.0
Telmex4(config-if)# no shutdown

Telmex4(config)# router bgp 64800
Telmex4(config-router)# no synchronization
Telmex4(config-router)# neighbor ibgps peer-group
Telmex4(config-router)# neighbor ibgps remote-as 64800
Telmex4(config-router)# neighbor ibgps password tongo
Telmex4(config-router)# neighbor ibgps update-source Loopback0
Telmex4(config-router)# neighbor ibgps next-hop-self
Telmex4(config-router)# neighbor 10.3.6.2 remote-as 65200
Telmex4(config-router)# neighbor 10.3.6.2 route-map med out
Telmex4(config-router)# neighbor 10.4.2.1 peer-group ibgps
Telmex4(config-router)# neighbor 10.4.2.2 peer-group ibgps
Telmex4(config-router)# neighbor 10.4.2.3 peer-group ibgps

Telmex4(config)# access-list 11 permit 10.2.0.0 0.0.255.255
Telmex4(config)# access-list 11 permit 10.4.2.0 0.0.0.255
Telmex4(config)# route-map med permit 10
Telmex4(config-route-map)# match ip address 11
Telmex4(config-route-map)# set metric 100
Telmex4(config)# route-map med permit 20

Telefonica(config)# hostname telefonica

Telefonica(config)# interface Loopback0
Telefonica(config-if)# ip address 10.4.3.1 255.255.255.255
Telefonica(config-if)# no shutdown
Telefonica(config)# interface Serial0/0
Telefonica(config-if)# ip address 10.3.2.2 255.255.255.0
Telefonica(config-if)# no shutdown
Telefonica(config)# interface Serial0/2
Telefonica(config-if)# ip address 10.3.4.1 255.255.255.0
Telefonica(config-if)# no shutdown

Telefonica(config)# router bgp 65000
Telefonica(config-router)# network 10.4.3.1 mask 255.255.255.255
Telefonica(config-router)# neighbor 10.3.2.1 remote-as 64600
Telefonica(config-router)# neighbor 10.3.4.2 remote-as 65200

Microsoft(config)# hostname Microsoft

Microsoft(config)# interface Loopback0
Microsoft(config-if)# ip address 10.4.4.1 255.255.255.255
Microsoft(config-if)# no shutdown
Microsoft(config)# interface Serial0/0
Microsoft(config-if)# ip address 10.3.6.2 255.255.255.0
Microsoft(config-if)# no shutdown
Microsoft(config)# interface Serial0/1
Microsoft(config-if)# ip address 10.3.5.2 255.255.255.0
Microsoft(config-if)# no shutdown
Microsoft(config)# interface Serial0/2
Microsoft(config-if)# ip address 10.3.4.2 255.255.255.0
Microsoft(config-if)# no shutdown

Microsoft(config)# router bgp 65200
Microsoft(config-router)# network 10.4.4.1 mask 255.255.255.255
Microsoft(config-router)# neighbor Telmex peer-group
Microsoft(config-router)# neighbor Telmex remote-as 64800
Microsoft(config-router)# neighbor 10.3.4.1 remote-as 65000
Microsoft(config-router)# neighbor 10.3.5.1 peer-group Telmex
Microsoft(config-router)# neighbor 10.3.6.1 peer-group Telmex

3. Comandos importantes

A continuación presentamos un resumen de los comandos más importantes para la configuración y la localización y corrección de errores que se debe de conocer en BGP.

(config)# router bgp autonomous-system
(config-router)# neighbor {ip-address | peer-group-name} remote-as autonomous-system
(config-router)# neighbor {ip-address | peer-group-name} shutdown
(config-router)# neighbor {ip-address | peer-group-name} update-source interface-type interface-number
(config-router)# neighbor {ip-address | peer-group-name} ebgp-multihop [ttl]
(config-router)# neighbor {ip-address | peer-group-name} next-hop-self
(config-router)# neighbor peer-group-name peer-group
(config-router)# neighbor ip-address peer-group peer-group-name
(config-router)# network network-number [mask network-mask] [route-map map-tag]
(config-router)# no synchronization
(config-router)# neighbor {ip-address | peer-group-name} password string
(config-router)# bgp default local-preference value
(cofnig-router)# default-metric number

# show ip bgp neighbors
# show ip bgp peering
# show ip bgp
# show ip bgp rib-rib-faliure
# clear ip bgp {* | neighbor-address}
# clear ip bgp {* | neighbor-address} [soft out]
(config-router)# neighbor ip-address soft-reconfiguration inbound
# clear ip bgp {* | neighbor-address} [soft in]
# clear ip bgp {* | neighbor-address} [soft in | in]
# debug ip bgp updates

lunes, 31 de agosto de 2009

CCNP Violento BSCI-642-901: Redistribución

CCNP Violento BSCI-642-901: Redistribución

1. Descripción del Escenario

Router de Máncora
Se configuran las direcciones IP de sus interfaces y se las activa
Se configura enrutamiento OSPF

Router de Punta Sal y Colán
Se configura las direcciones IP de sus interfaces y se las activa
Se configura el comando ip helper-address para direccionar las solicitudes DHCP al servidor DHCP
Se configura enrutamiento OSPF

Router de Huanchaco
Se configura las direcciones IP de sus interfaces y se las activa
Se configura enrutamiento OSPF
Se activa la redistribución de EIGRP en OSPF
Se evita recibir las redes 10.0.17.0 y 10.0.33.0 de OSPF puesto que la mejor ruta es por Salinas
Se configura enrutamiento EIGRP
Se activa la redistribución de OSPF en EIGRP

Router de Mal Abrigo
Se configura las direcciones IP de sus interfaces y se las activa
Se configura enrutamiento OSPF
Se activa la redistribución de ISIS en OSPF
Se activa la redistribución de las interfaces conectadas en OSPF puesto que ISIS no exporta hacia OSPF las redes directamente conectadas
Se evita recibir las redes 10.0.16.0 y 10.0.32.0 de OSPF puesto que la mejor ruta es por Salinas
Se configura enrutamiento ISIS
Se activa la redistribución de OSPF en ISIS
Se evita que la ruta 10.0.1.0 se redistribuya en ISIS puesto que para el router de Salinas es más fácil alcanzar está red por el router de Huanchaco

Router de Salinas
Se configura las direcciones IP de sus interfaces y se las activa
Se configura el servidor DHCP para las redes de Punta Sal y Colán
Se configura enrutamiento EIGRP
Se activa la redistribución de ISIS en EIGRP
Se activa la redistribución de las interfaces conectadas en EIGRP puesto que ISIS no exporta hacia EIGRP las redes directamente conectadas
Se configura enrutamiento ISIS
Se activa la redistribución de EIGRP en ISIS

2. Configuración

A continuación se presenta la configuración completa de cada uno de los equipos de este escenario

Mancora(config)# hostname Mancora

Mancora(config)# interface Serial0/0
Mancora(config-if)# ip address 10.0.1.1 255.255.255.0
Mancora(config-if)# clock rate 2000000
Mancora(config)# interface Serial0/1
Mancora(config-if)# ip address 10.0.2.1 255.255.255.0
Mancora(config-if)# clock rate 2000000

Mancora(config)# router ospf 11
Mancora(config-router)# network 10.0.1.0 0.0.0.255 area 0
Mancora(config-router)# network 10.0.2.0 0.0.0.255 area 0

PuntaSal(config)# hostname PuntaSal

PuntaSal(config)# interface FastEthernet0/0
PuntaSal(config-if)# ip address 10.0.48.1 255.255.255.0
PuntaSal(config-if)# ip helper-address 10.0.32.1
PuntaSal(config)# interface Serial0/0
PuntaSal(config-if)# ip address 10.0.1.2 255.255.255.0
PuntaSal(config-if)# clock rate 2000000
PuntaSal(config)# interface Serial0/1
PuntaSal(config-if)# ip address 10.0.16.1 255.255.255.0
PuntaSal(config-if)# clock rate 2000000

PuntaSal(config)# router ospf 11
PuntaSal(config-router)# network 10.0.1.0 0.0.0.255 area 0
PuntaSal(config-router)# network 10.0.16.0 0.0.0.255 area 0
PuntaSal(config-router)# network 10.0.48.0 0.0.0.255 area 0

Colan(config)# hostname Colan

Colan(config)# interface FastEthernet0/0
Colan(config-if)# ip address 10.0.49.1 255.255.255.0
Colan(config-if)# ip helper-address 10.0.33.1
Colan(config)# interface Serial0/0
Colan(config-if)# ip address 10.0.2.2 255.255.255.0
Colan(config-if)# clock rate 2000000
Colan(config)# interface Serial0/1
Colan(config-if)# ip address 10.0.17.1 255.255.255.0
Colan(config-if)# clock rate 2000000

Colan(config)# router ospf 11
Colan(config-router)# network 10.0.2.0 0.0.0.255 area 0
Colan(config-router)# network 10.0.17.0 0.0.0.255 area 0
Colan(config-router)# network 10.0.49.0 0.0.0.255 area 0

Huanchaco(config)# hostname Huanchaco

Huanchaco(config)# interface Serial0/0
Huanchaco(config-if)# ip address 10.0.32.2 255.255.255.0
Huanchaco(config-if)# clock rate 2000000
Huanchaco(config-if)# no shutdown
Huanchaco(config)# interface Serial0/1
Huanchaco(config-if)# ip address 10.0.16.2 255.255.255.0
Huanchaco(config-if)# clock rate 2000000
Huanchaco(config-if)# no shutdown

Huanchaco(config)# router eigrp 11
Huanchaco(config-router)# redistribute ospf 11 metric 1000 100 255 50 1500
Huanchaco(config-router)# network 10.0.32.0 0.0.0.255
Huanchaco(config-router)# no auto-summary
Huanchaco(config)# router ospf 11
Huanchaco(config-router)# redistribute eigrp 11 metric-type 1 subnets
Huanchaco(config-router)# network 10.0.16.0 0.0.0.255 area 0
Huanchaco(config-router)# distribute-list 10 in Serial 0/1
Huanchaco(config)# access-list 10 deny 10.0.17.0 0.0.0.255
Huanchaco(config)# access-list 10 deny 10.0.33.0 0.0.0.255
Huanchaco(config)# access-list 10 permit any

MalAbrigo(config)# hostname MalAbrigo

MalAbrigo(config)# interface Serial 0/0
MalAbrigo(config-if)# ip address 10.0.33.2 255.255.255.0
MalAbrigo(config-if)# ip router isis
MalAbrigo(config-if)# clock rate 2000000
MalAbrigo(config-if)# no shutdown
MalAbrigo(config)# interface Serial0/1
MalAbrigo(config-if)# ip address 10.0.17.2 255.255.255.0
MalAbrigo(config-if)# clock rate 2000000

MalAbrigo(config)# router ospf 11
MalAbrigo(config-router)# redistribute connected metric-type 1 subnets
MalAbrigo(config-router)# redistribute isis level-1 metric-type 1 subnets
MalAbrigo(config-router)# network 10.0.17.0 0.0.0.255 area 0
MalAbrigo(config-router)# distribute-list 10 in Serial 0/1
MalAbrigo(config)# router isis
MalAbrigo(config)# net 49.0001.1104.1983.0002.00
MalAbrigo(config)# is-type level-1
MalAbrigo(config)# redistribute ospf 11 route-map redi-ospf level-1
MalAbrigo(config)# access-list 10 deny 10.0.16.0 0.0.0.255
MalAbrigo(config)# access-list 10 deny 10.0.32.0 0.0.0.255
MalAbrigo(config)# access-list 10 permit any
MalAbrigo(config)# access-list 20 permit 10.0.1.0 0.0.0.255
MalAbrigo(config)# Access-list 30 permit any
MalAbrigo(config)# route-map redi-ospf deny 10
MalAbrigo(config-routemap)# match ip address 20
MalAbrigo(config)# route-map redi-ospf permit 20
MalAbrigo(config-routemap)# match ip address 30

Salinas(config)# hostname Salinas

Salinas(config)# ip dhcp excluded-address 10.0.48.1 10.0.48.100
Salinas(config)# ip dhcp excluded-address 10.0.49.1 10.0.49.100
Salinas(config)# ip dhcp pool PuntaSal
Salinas(config-dhcp)# network 10.0.48.0 255.255.255.0
Salinas(config-dhcp)# default-router 10.0.48.1
Salinas(config-dhcp)# domain-name tongo-peru.pe
Salinas(config)# ip dhcp pool Colan
Salinas(config-dhcp)# network 10.0.49.0 255.255.255.0
Salinas(config-dhcp)# default-router 10.0.49.1
Salinas(config-dhcp)# domain-name tongo-peru.pe

Salinas(config)# interface Serial0/0
Salinas(config-if)# ip address 10.0.33.1 255.255.255.0
Salinas(config-if)# ip router isis
Salinas(config-if)# clock rate 2000000
Salinas(config-if)# no shutdown
Salinas(config)# interface Serial0/1
Salinas(config-if)# ip address 10.0.32.1 255.255.255.0
Salinas(config-if)# clock rate 2000000
Salinas(config-if)# no shutdown

Salinas(config)# router eigrp 11
Salinas(config-router)# redistribute connected metric 1000 100 255 50 1500
Salinas(config-router)# redistribute isis level-1 metric 1000 100 255 50 1500
Salinas(config-router)# network 10.0.32.0 0.0.0.255
Salinas(config-router)# no auto-summary
Salinas(config)# router isis
Salinas(config-router)# net 49.0001.1104.1983.0001.00
Salinas(config-router)# is-type level-1
Salinas(config-router)# redistribute eigrp 11 level-1

3. Comandos importantes

A continuación presentamos un resumen de los comandos más importantes para la configuración y la localización y corrección de errores que se debe de conocer en redistribución.

(config-router)# redistribute protocol [process-id] [match route-type][metric metric-value] [route-map map-tag]
(config-router)# redistribute protocol [process-id] [metric metric-value] [metric-type type-value][route-map map-tag] [subnets] [tag tag-value]
(config-router)# redistribute maximun-prefix maximun [threshold] [warning-only]
(config-router)# redistribute protocol [process-id] [match {internal | external1 | external2}] [metric bandwidth delay reliability load mtu] [route-map map-tag]
(config-router)# redistribute protocol [process-id] [level level-value] [metric metric-value] [metric-type type-value][route-map map-tag]
(config-router)#passive-interface {default | type number}
(config-router)# distribute-list {access-list-number | name} out {interface-name | routing-process [routing-process-parameter]}
(config-router)# distribute-list {[access-list-number | name] | [route-map map-tag]} in [interface-type interface-number]
(config)# route-map map-tag [permit | deny] [sequence-number]
(config-route-map)#match {conditions}
(config-route-map)#set {actions}
Match: community, interface, ip address, ip next-hop, ip route-source, length, metric, route-type, tag
Set: as-path, automatic-tag, community, default interface, interface, ip default next-hop, ip next-hop, level, local-preference, metric, tag, weight, metric-type
(config)# ip dhcp pool [pool name]
(config-dhcp)# import all
(config-dhcp)# network network-number [mask | prefix-length]
(config-dhcp)# default-router [host | address]
(config-if)# ip address dhcp
(config-if)# ip helper-address address
(config)# ip forward-protocol {udp [port]}
(config)# ip dhcp information option
# show ip dhcp database
# show ip dhcp server statistics
# show ip route dhcp
# debug ip dhcp server {events | packets | linkage}

lunes, 24 de agosto de 2009

CCNP Violento BSCI-642-901: Configuración de Enrutamiento IS-IS

CCNP Violento BSCI-642-901: Configuración de Enrutamiento IS-IS

1. Descripción de la Configuración de Cada Router

Miraflores y San Isidro
Se configura las direcciones IP de sus interfaces.
Se configura enrutamiento IS-IS y se especifica el NET del router.
Se activa IS-IS en cada interfaz y se selecciona el correspondiente nivel de IIH de cada interfaz.

San Miguel
Se configura las direcciones IP de sus interfaces.
Se configura enrutamiento IS-IS y se especifica el NET del router.
Se configura summarization nivel 2.
Se activa IS-IS en cada interfaz y se selecciona el correspondiente nivel de IIH de cada interfaz.

San Borja
Se configura las direcciones IP de sus interfaces.
Se configura enrutamiento IS-IS y se especifica el NET del router.
Se configura el router para enviar IIH sólo de nivel 1.
Se activa IS-IS en cada interfaz.

Washington
Se configura las direcciones IP de sus interfaces.
Se configura los enlaces frame relay en sub-interfaces punto a punto.
Se configura enrutamiento IS-IS y se especifica el NET del router.
Se configura summarization nivel 2.
Se activa IS-IS en cada interfaz y se selecciona el correspondiente nivel de IIH de cada interfaz.

Trujillo y Arequipa
Se configura las direcciones IP de sus interfaces.
Se configura los enlaces frame relay en sub-interfaces punto a punto.
Se configura enrutamiento IS-IS y se especifica el NET del router.
Se configura el router para enviar IIH sólo de nivel 1.
Se activa IS-IS en cada interfaz.

2. Configuración

A continuación tenemos la configuración de cada Router.

Miraflores(config)# hostname Miraflores

Miraflores(config)# interface Serial0/0
Miraflores(config-if)# ip address 10.0.1.1 255.255.255.0
Miraflores(config-if)# ip router isis
Miraflores(config-if)# no shutdown
Miraflores(config)# interface Serial0/1
Miraflotes(config-if)# ip address 10.0.2.1 255.255.255.0
Miraflores(config-if)# ip router isis
Miraflores(config-if)# isis circuit-type level-2-only
Miraflores(config-if)# no shutdown

Miraflores(config)#router isis
Miraflores(config)#net 49.0001.1104.1983.0001.00

SanIsidro(config)# hostname SanIsidro

SanIsidro(config)# interface Serial0/0
SanIsidro(config-if)# ip address 10.0.1.2 255.255.255.0
SanIsidro(config-if)# ip router isis
SanIsidro(config-if)# no shutdown
SanIsidro(config)# interface Serial0/1
SanIsidro(config-if)# ip address 10.0.3.1 255.255.255.0
SanIsidro(config-if)# ip router isis
SanIsidro(config-if)# isis circuit-type level-2-only
SanIsidro(config-if)# no shutdown

SanIsidro(config)# router isis
SanIsidro(config-router)# net 49.0001.1104.1983.0002.00

SanMiguel(config)# hostname SanMiguel

SanMiguel(config)# interface FastEthernet0/0
SanMiguel(config-if)# ip address 10.0.8.1 255.255.255.0
SanMiguel(config-if)# ip router isis
SanMiguel(config-if)# isis circuit-type level-1
SanMiguel(config-if)# no shutdown
SanMiguel(config)# interface Serial0/0
SanMiguel(config-if)# ip address 10.0.2.2 255.255.255.0
SanMiguel(config-if)# ip router isis
SanMiguel(config-if)# isis circuit-type level-2-only
SanMiguel(config-if)# no shutdown

SanMiguel(config)# router isis
SanMiguel(config-router)# net 49.0002.1104.1983.0003.00
SanMiguel(config-router)# summary-address 10.0.8.0 255.255.248.0

SanBorja(config)# hostname SanBorja

SanBorja(config)# interface FastEthernet0/0
SanBorja(config-if)# ip address 10.0.8.2 255.255.255.0
SanBorja(config-if)# ip router isis
SanBorja(config-if)# no shutdown
SanBorja(config)# interface FastEthernet0/1
SanBorja(config-if)# ip address 10.0.9.1
SanBorja(config-if)# ip router isis
SanBorja(config-if)# no shutdown

SanBorja(config)# router isis
SanBorja(config-router)# net 49.0002.1104.1983.0004.00
SanBorja(config-router)# is-type level-1

Washington(config)# hostname Washington

Washington(config)# interface Serial0/0
Washington(config-if)# ip address 10.0.3.2 255.255.255.0
Washington(config-if)# ip router isis
Washington(config-if)# isis circuit-type level-2-only
Washington(config-if)# no shutdown
Washington(config)# interface Serial0/1
Washington(config-if)# no ip address
Washington(config-if)# encapsulation frame-relay
Washington(config-if)# no shutdown
Washington(config)# interface Serial0/1.1 point-to-point
Washington(config-subif)# ip address 10.0.16.1 255.255.255.0
Washington(config-subif)# ip router isis
Washington(config-subif)# isis circuit-type level-1
Washington(config-subif)# frame-relay interface-dlci 102
Washington(config-subif)# no shutdown
Washington(config)# interface Serial0/1.2 point-to-point
Washington(config-subif)# ip address 10.0.17.1 255.255.255.0
Washington(config-subif)# ip router isis
Washington(config-subif)# isis circuit-type level-1
Washington(config-subif)# frame-relay interface-dlci 103
Washington(config-subif)# no shutdown

Washington(config)# router isis
Washington(config-router)# net 49.0003.1104.1983.0005.00
Washington(config-router)# summary-address 10.0.16.0 255.255.248.0

Trujillo(config)# hostname Trujillo

Trujillo(config)# interface FastEthernet0/0
Trujillo(config-if)# ip address 10.0.18.1 255.255.255.0
Trujillo(config-if)# ip router isis
Trujillo(config-if)# no shutdown
Trujillo(config)# interface Serial0/0
Trujillo(config-if)# no ip address
Trujillo(config-if)# encapsulation frame-relay
Trujillo(config-if)# no shutdown
Trujillo(config)# interface Serial0/0.1 point-to-point
Trujillo(config-subif)# ip address 10.0.16.2 255.255.255.0
Trujillo(config-subif)# ip router isis
Trujillo(config-subif)# frame-relay interface-dlci 201
Trujillo(config-subif)# no shutdown

Trujillo(config)# router isis
Trujillo(config-router)# net 49.0003.1104.1983.0006.00
Trujillo(config-router)# is-type level-1

Arequipa(config)# hostname Arequipa

Arequipa(config)# interface FastEthernet0/0
Arequipa(config-if)# ip address 10.0.19.1 255.255.255.0
Arequipa(config-if)# ip router isis
Arequipa(config-if)# no shutdown
Arequipa(config)# interface Serial0/0
Arequipa(config-if)# no ip address
Arequipa(config-if)# encapsulation frame-relay
Arequipa(config-if)# no shutdown
Arequipa(config)# interface Serial0/0.1 point-to-point
Arequipa(config-subif)# ip address 10.0.17.2 255.255.255.0
Arequipa(config-subif)# ip router isis
Arequipa(config-subif)# frame-relay interface-dlci 301
Arequipa(config-subif)# no shutdown

Arequipa(config)#router isis
Arequipa(config-router)# net 49.0003.1104.1983.0007.00
Arequipa(config-router)# is-type level-1

3. Comandos importantes

A continuación presentamos los comandos más importantes para la configuración y localización y corrección de errores que se debe de conocer en IS-IS.

# show clns
# show clns [area-tag] protocol
# show clns interface [type number]
# show clns [area-tag] neighbors [type number] [detail]
# show clns route [nsap]
# show isis [area-tag] route
# show isis [area-tag] database
# show isis [area-tag] topology

(config)# router isis [area-tag]
(config-router)# net network-entity-title
(config-if)# ip router isis [area-tag]
(config-router)# is-type [level-1 | level-1-2 | level-2-only]
(config-if)# isis circuit-type [level-1 | level-1-2 | level-2-only]
(config-if)# isis metric metric [level-1 | level-2]
(config-router)# metric default-value [level-1 | level-2]
(config-router)# summary-address address mask [level-1 | level-2 | level-1-2]

martes, 18 de agosto de 2009

PAPERS

Modelamiento Markoviano de la Interfaz de Radio UMTS

Resumen— El objetivo de esta investigación es modelar la interfaz de radio del sistema Unified Movil Telecomunication System (UMTS) de la manera más eficiente posible. Para modelar está interfaz se emplea una herramienta matemática conocida como modelos de Markov. Para diferentes configuraciones de UMTS Terrestrian Radio Access (UTRA) se obtienen parámetros como bit error rate (BER) y distribución de errores en ráfagas usando diferentes modelos de Markov.

Palabras Clave— Modelamiento de fuentes de error, modelos ocultos de Markov, modelos semi-ocultos de Markov, UMTS, UTRA, WCDMA.

Abstract— The aim of this investigation is to model the UMTS radio interface in the most effective sense. For modeling these interfase, mathematical tools known as Markov models are used. For different configurations of the UTRA interface wireless communication parameters including BER and interval distribution of errors are modeled using different Markov models.

Key Words—Hidden Markov models, semi-hidden Markov Models, source error modeling, UMTS, UTRA, WCDMA.

| web | impri | diapo |

Modeling BGP Routing Networks with OPNET®

Resumen— El presente trabajo de investigación modela una red de enrutamiento BGP en OPNET® para analizar las características del protocolo BGP así como su configuración básica y la manipulación de los atributos de su métrica. Adicionalmente se muestra las características que brinda OPNET para la rápida configuración de redes de enrutamiento avanzadas

Palabras Clave— Border Gateway Protocol, EGPs, Sistemas Autónomos, IBGP, EBGP, Redes de Enrutamiento, Enrutamiento en Internet, routemaps, OPNET® Modeler.

Abstract— This investigation work shows how to model a BGP Routing Network with OPNET® in order to analyze the BGP features, their basic configuration and their metric attributes manipulation. We also how OPNET® features help configuring advance routing networks.

Keywords— Border Gateway Protocol, EGPs, Autonomous Systems, IBGP, EBGP, Routing Networks, Internet Routing, route maps, OPNET Modeler.

| web | impri | diapo |

Sistema de Calificación de Exámenes Empleando Procesamiento Digital de Imágenes

Resumen— Este trabajo de investigación ilustra la aplicación de técnicas de procesamiento digital de imágenes para implementar un sistema de calificación de exámenes. Se detalla las etapas del sistema así como la función de cada una de ellas. Se pone mayor énfasis en la aplicación de la correlación para el reconocimiento y detección de patrones.

Palabras Clave— Procesamiento digital de Imágenes, correlación, reconocimiento y detección de patrones, sistema de calificación de exámenes.

Abstract— This investigation work shows a new technique in a test grade system implementation using digital image processing. We show each system stage and explain its functions. A stronger detail it is putted on correlation applications as patterns detection and recognition.

Keyworks— Digital image processing, correlation, patterns detection and recognition, test grade system.

| web | impri | diapo |

ARTÍCULOS

Control por Internet con MSMQ

Es inevitable que la verdadera red de servicios integrados sea la red IP. A su vez, es sabido que cuando hablamos de IP, estamos hablando de Internet, que es la plataforma en la cual cada día se van integrando mayores servicios. El desarrollo de aplicaciones distribuidas ha significado una cada vez mayor utilización de equipos y recursos así como la necesidad de controlar y supervisar procesos cada vez a una distancia mayor. Esto ha generado, en consecuencia, la necesidad de implementar el control de procesos a través de Internet.

| web |

IPv6: Lo que IPv4 nos dejó

En nuestro artículo anterior comentábamos las vicisitudes con las que tenían que lidiar los señores de The Pirate Bay. Cuando estaba estructurando ese informe, note que TPB alentaba a sus fieles e incondicionales usuarios a visitar su web empleando IPv6. Cómo hace buen tiempo que no tenía noticias sobre IPv6, creí que en el siguiente artículo debería comentar el escenario actual de IPv6. Me hubiera gustado que el artículo no tardase tanto en salir, pero en fin acá está, espero que les guste y los motive a conocer IPv6 a fondo.

| web |

The Pirate Bay y Claudio Pizarro

Siempre me he declarado seguidor de Los Simpson, es interesante ver como el comienzo no guarda ninguna relación con el final, es decir comienza con un tema que no tiene que ver nada en absoluto con el fin. Bueno ahora demostraremos (una demostración empírica no más) que ciertos términos que aparentemente no guardan relación alguna, pueden tener más de una cosa en común. Tal es el caso de The Pirate Bay y Claudio Pizarro.

| web |

CCNP Violento BSCI-642-901: Configuración de Enrutamiento OSPF

CCNP Violento BSCI-642-901: Configuración de Enrutamiento OSPF

1. Tareas a Realizar en Cada Equipo

Router de Arequipa
Se configura autentificación sin cifrado para la interfaz.
Se configura el área 2 como stub.
Se configura enrutamiento OSPF.

Router de Lima2
Se configura autentificación cifrada con md5 para la interfaz f0/0.
Se configura enrutamiento OSPF.
Se configura el área 2 como stub.
Se configura summerization para el área 0 y área 2.

Router de Lima1
Se configura autentificación cifrada con md5 para la interfaz f0/0.
Se configura la interfaz s0/0.1 como multipunto.
Se configura la red como non-broadcast y se agregan los vecino de Trujillo y Chiclayo manualmente.
Se configura enrutamiento OSPF.
Se configura summerization para el área 0 y área 1.
Se configura un enlace virtual con Trujillo

Router de Chiclayo
Se configura la interfaz s0/0.1 como multipunto.
Se configura la red como non-broadcast y se le asigna una prioridad de 0 a la interfaz s0/0.1
Se configura enrutamiento OSPF.

Router de Trujillo
Se configura la interfaz s0/0.1 como multipunto.
Se configura la red como non-broadcast y se le asigna una prioridad de 0 a la interfaz s0/0.1
Se configura enrutamiento OSPF.
Se configura summerization para el área 0 y área 1.
Se configura un enlace virtual con Lima1

Router de Lima3
Se configura autentificación cifrada con md5 para la interfaz f0/0.
Se configura enrutamiento OSPF.
Se configura summerization para el área 0 y área 3.
Se configura el área 2 como nssa, con envío de rutas n1, n2.

Router de Lurin
Se configura enrutamiento OSPF.
Se configura el área 2 como nssb.
Se configura la redistribución de RIP hacia OSPF.
Se configura enrutamiento RIP.

Router de Miami
Se configura enrutamiento RIP.

2. Configuración

A continuación presenta la configuración de cada Router.

Arequipa(config)# hostname Arequipa

Arequipa(config)# interface f0/0
Arequipa(config-if)# ip address 10.0.17.1 255.255.255.0
Arequipa(config-if)# no shutdown

Arequipa(config)# interface s0/0
Arequipa(config-if)# ip address 10.0.16.2 255.255.255.0
Arequipa(config-if)# ip ospf authentication
Arequipa(config-if)# ip ospf authentication-key adivina
Arequipa(config-if)# no shutdown

Arequipa(config)# router ospf 11
Arequipa(config-router)# area 2 stub
Arequipa(config-router)# network 10.0.0.0 0.255.255.255 area 2

Lima2(config)# hostname Lima2

Lima2(config)# interface f0/0
Lima2(config-if)# ip address 10.0.0.2 255.255.255.0
Lima2(config-if)# ip ospf authentication message-digest
Lima2(config-if)# ip ospf message-digest-key 1 md5 adivina

Lima2(config)# interface s0/0
Lima2(config-if)# ip address 10.0.16.1 255.255.255.0
Lima2(config-if)# ip ospf authentication
Lima2(config-if)# ip ospf authentication-key adivina

Lima2(config)# router ospf 11
Lima2(config-router)# area 0 range 10.0.0.0 255.255.248.0
Lima2(config-router)# area 2 stub
Lima2(config-router)# area 2 range 10.0.16.0 255.255.240.0
Lima2(config-router)# network 10.0.0.0 0.0.0.255 area 0
Lima2(config-router)# network 10.0.16.0 0.0.0.255 area 2

Lima1(config)# hostname Lima1

Lima1(config)# interface f0/0
Lima1(config-if)# ip address 10.0.0.1 255.255.255.0
Lima1(config-if)# ip ospf authentication message-digest
Lima1(config-if)# ip ospf message-digest-key 1 md5 adivina
Lima1(config-if)# no shutdown

Lima1(config)# interface s0/0
Lima1(config-if)# no ip address
Lima1(config-if)# encapsulation frame-relay
Lima1(config-if)# no shutdown
Lima1(config)# interface s0/0.1 multipoint
Lima1(config-subif)# ip address 10.0.8.1 255.255.255.0
Lima1(config-subif)# frame-relay interface-dlci 102
Lima1(config-subif)# frame-relay interface-dlci 103
Lima1(config-subif)# no shutdown

Lima1(config)# router ospf 11
Lima1(config-router)# area 0 range 10.0.0.0 255.255.248.0
Lima1(config-router)# area 1 range 10.0.8.0 255.255.248.0
Lima1(config-router)# area 1 virtual-link 10.0.8.2
Lima1(config-router)# network 10.0.0.0 0.0.0.255 area 0
Lima1(config-router)# network 10.0.8.0 0.0.0.255 area 1
Lima1(config-router)# neighbor 10.0.8.2
Lima1(config-router)# neighbor 10.0.8.3

Chiclayo(config)# hostname Chiclayo

Chiclayo(config)# interface f0/0
Chiclayo(config-if)# ip address 10.0.9.1 255.255.255.0
Chiclayo(config-if)# no shutdown

Chiclayo(config)# interface s0/0
Chiclayo(config-if)# no ip address
Chiclayo(config-if)# encapsulation frame-relay
Chiclayo(config-if)# no shutdown
Chiclayo(config)# interface s0/0.1 multipoint
Chiclayo(config-subif)# ip address 10.0.8.3 255.255.255.0
Chiclayo(config-subif)# ip ospf priority 0
Chiclayo(config-subif)# frame-relay interface-dlci 301
Chiclayo(config-subif)# frame-relay interface-dlci 302
Chiclayo(config-subif)# no shutdown

Chiclayo(config)# router ospf 11
Chiclayo(config-router)# network 10.0.0.0 0.255.255.255 area 1

Trujillo(config)# hostname Trujillo

Trujillo(config)# interface s0/0
Trujillo(config-if)# no ip address
Trujillo(config-if)# encapsulation frame-relay
Trujillo(config-if)# no shutdown
Trujillo(config)# interface s0/0.1 multicast
Trujillo(config-subif)# ip address 10.0.8.2 255.255.255.0
Trujillo(config-subif)# ip ospf priority 0
Trujillo(config-subif)# frame-relay interface-dlci 201
Trujillo(config-subif)# frame-relay interface-dlci 203
Trujillo(config-subif)# no shutdown

Trujillo(config)# interface s0/1
Trujillo(config-if)# ip address 10.0.1.1 255.255.255.0
Trujillo(config-if)# no shutdown

Trujillo(config)# router ospf 11
Trujillo(config-router)# area 0 range 10.0.0.0 255.255.248.0
Trujillo(config-router)# area 1 range 10.0.8.0 255.255.248.0
Trujillo(config-router)# area 1 virtual-link 10.0.8.1
Trujillo(config-router)# network 10.0.1.0 0.0.0.255 area 0
Trujillo(config-router)# network 10.0.8.0 0.0.0.255 area 1

Lima3(config)# hostname Lima3

Lima3(config)# interface f0/0
Lima3(config-if)# ip address 10.0.0.3 255.255.255.0
Lima3(config-if)# ip ospf authentication message-digest
Lima3(config-if)# ip ospf message-digest-key 1 md5 adivina
Lima3(config-if)# no shutdown

Lima3(config)# interface s0/0
Lima3(config-if)# ip address 10.0.32.1 255.255.255.0
Lima3(config-if)# no shutdown

Lima3(config)# router ospf 11
Lima3(config-router)# area 0 range 10.0.0.0 255.255.248.0
Lima3(config-router)# area 3 nssa default-information-originate
Lima3(config-router)# network 10.0.0.0 0.0.0.255 area 0
Lima3(config-router)# network 10.0.32.0 0.0.0.255 area 3

Lurin(config)# hostname Lurin

Lurin(config)# interface s0/0
Lurin(config-if)# ip address 10.0.32.2 255.255.255.0
Lurin(config-if)# no shutdown

Lurin(config)# interface s0/1
Lurin(config-if)# ip address 172.16.0.1 255.255.0.0
Lurin(config-if)# no shutdown

Lurin(config)# router ospf 11
Lurin(config-router)# area 3 nssa
Lurin(config-router)# redistribute rip
Lurin(config-router)# network 10.0.0.0 0.255.255.255 area 3
Lurin(config)# router rip
Lurin(config)# network 172.16.0.0

Miami(config)# hostname Miami

Miami(config)# interface s0/0
Miami(config-if)# ip address 172.16.0.2 255.255.0.0
Miami(config-if)# no shutdown

Miami(config)# router rip
Miami(config)# network 172.16.0.0

3. Comandos importantes

A continuación presentamos los comandos más importantes para la configuración y localización y corrección de errores que se debe de conocer en OSPF.

#show ip route
#show ip ospf
#show ip ospf neighbor
#show ip ospf neighbor detail
#show ip ospf database
#show ip ospf interface
#show ip ospf virtual-links
#debag ip ospf packet
#debug ip ospf adj
#clear ip ospf process

(config)# router ospf process-id
(config-router)# network ip-address wildcard-mask area area-id
(config-if)# ip ospf process-id area area-id
(config-router)# router-id ip-address
(config-if)# ip ospf priority number
(config-if)# ip ospf network {broadcast | non-broadcast | point-
to-multipoint [non-broadcast] | point-to-point}
(config-router)# neighbor ip-address [priority number]
(config-router)# area area-id virtual-link router-id
(config-router)# max-lsa maximum-number [threshold-percentage]
[warning-only] [ignote-time minutes] [ignore-
count count-number]
(config-if)# ip ospf cost interface-cost
(config-router)# auto-cost reference-bandwidth ref-bw
(config-router)# area area-id range address mask [advertise | not-
advertise] [cost cost]
(config-router)# summary-address ip-address mask [not-advertise]
(config-router)# default-information originate [always] [metric
metric-value] [metric-type type-value]
(config-router)# area area-id stub [no-summary]
(config-router)# area area-id nssa [no-redistribution] [default-
information-originate] [metric metric-value]
[metric-type type-value]
(config-if)# ip ospf authentication [message-digest | null]
(config-if)# ip ospf authentication-key password
(config-if)# ip ospf message-digest-key key-id md5 key
(config-router)# area area-id authentication [message-digest |
null]