La descarga está en progreso. Por favor, espere

La descarga está en progreso. Por favor, espere

PROTOCOLOS DE COMUNICACIÓN PROTOCCOLO BGP

Presentaciones similares


Presentación del tema: "PROTOCOLOS DE COMUNICACIÓN PROTOCCOLO BGP"— Transcripción de la presentación:

1 PROTOCOLOS DE COMUNICACIÓN PROTOCCOLO BGP
UNIVERSIDAD NACIONAL DE INGENIERIA FACULTAD DE INGENIERIA ELECTRICA Y ELECTRONICA Ingeniería de Telecomunicaciones PROTOCOLOS DE COMUNICACIÓN PROTOCCOLO BGP Profesor Daniel Díaz Ataucuri Docente Asociado Tiempo Parcial FIEE-UNI Director de Investigación y Desarrollo Tecnológico del INICTEL-UNI Daniel Díaz Ataucuri Lima-Perú

2 INTRODUCCION

3 PROTOCOLOS DE ENRUTAMIENTO
IGP: RIP, IGRP, OSPF, EIGRP EGP: BGP SISTEMA AUTÓNOMO RFC 4271: “A Border Gateway Protocol 4 (BGP-4)” RFC 1771: “A Border Gateway Protocol 4 (BGP-4)”

4 TIPOS DE SISTEMAS AUTONOMOS
Sistemas Autónomos sin tránsito Sistemas Autónomos de tránsito ISP1 Redes n3, n4 ISP2 n5, n6 Redes n1, n2 AS ISP1 Redes n3, n4 ISP2 n5, n6 Redes n1, n2 AS eBGP n3, n4 eBGP n3, n4 eBGP n5, n6 eBGP n5, n6 eBGP n1, n2 eBGP n1, n2 eBGP n5, n6 n1, n2, eBGP n3, n4 n1, n2, iBGP ► El AS no permite el tráfico de tránsito a través de él. ► Los routers que utilizan iBGP se denominan de tránsito cuando transportan tráfico de transito. ► El AS sólo publica sus redes y no propaga otras redes aprendidas. No existen dos protocolos diferentes iBGP y eBGP. Es el mismo BGP en escenarios diferentes

5 ASPECTOS BASICOS DE BGP
BGP es un protocolo de vector distancia avanzado. ► Utiliza TCP para obtener una comunicación confiable. ► Utiliza el puerto 179 de TCP. Distancia administrativa ► iBGP tiene una distancia administrativa de 200. ► eBGP tiene una distancia administrativa de 20. Al inicio de la conexión BGP intercambia las tablas de enrutamiento completamente ► Después sólo se envía los cambios. ► Se envían las nuevas rutas y las que no existen (withdraw) BGP envía mensajes keepalive en vez de hello.

6 SINCRONIZACIÓN DE BGP Cuando un AS proporciona tránsito a otro AS
es necesario que todas las rutas del AS tengan valores estables debido a un protocolo IGP (OSPF, RIP, etc): deben estar sincronizados. En los router CISCO la sincronización está habilitada. Es aconsejable deshabilitar la sincronización de BGP para acelerar el proceso de convergencia habilitada: no synchronization ► Si los AS no son de tránsito. ► Todos los router en el AS corren iBGP.

7 ATRIBUTOS DE RUTA BGP: bien conocido
Atributo bien conocido (well-known) ► Todas las implementaciones BGP lo deben reconocer. ► Se propagan a los vecinos BGP. ► Atributo bien conocido mandatorio: Tiene que ser incluido en todas las actualizaciones. Aparece en la descripción de una ruta - Next-Hop Origin AS-Path ► Atributo bien conocido discrecional: No tiene que ser incluido en todas las actualizaciones. No necesita aparecer en la descripción de una ruta - Local-Preference Atomic Aggregator

8 ATRIBUTOS DE RUTA BGP: opcionales
Atributo opcional (optional) ► No necesitan ser soportados por todas las implementaciones BGP. Pueden ser atributos privados. ► Atributo opcional transitivo: Si un router no lo soporta lo debe enviar a otro router BGP. - Community Aggregator ► Atributo opcional no transitivo: El router elimina si no tiene implementado el atributo. - MED (discriminador de salida múltiples)

9 Dirección IP de Destino
ENCAPSULAMIENTO BGP Protocolo BGP TCP, Puerto 179 Dirección IP de Destino Dirección IP de Origen TTL Protocolo 11H = 17 Suma de Chequeo Identificador Indicador/Desplazam. Ver HLEN ToS Longitud Total

10 CONFIGURACION

11 ANALISIS DE CONFIGURACION
/30 /30 /30 /30 AS 1000 .5 .6 .9 S1 S0 R2 R1 AREA 0 /25 OSPF AS 2000 AS 3000 Ra Rb /30 .10 R4 R3 /30 Fa0/1 Fa0/0 Rc /24 Lo 1: /24 Lo 2: /24 Lo 3: /24 Lo 4: /16 /24 /24

12 COMANDOS BASICOS BGP router bgp autonomous-system
► Activa el protocolo BGP en el router. ► autonomous-system identifica el sistema autónomo. neighbor {ip-address | peer-group-name} remote-as autonomous-system-number ► Identifica un router igual (peer) con el que router local establece una sesión. Abre una conexión TCP con un vecino ► ip-address es la dirección IP del vecino. ► peer-group-name nombre del grupo igual (peer) BGP. network network number [mask network-mask] [route-map map-name] ► network number permite a BGP publicar la red que está presente en la tabla de enrutamiento IP.

13 COMANDOS BASICOS BGP-Activar BGP
neighbor {ip-address | peer-group-name} description text ► text permite describir al vecino, hasta 80 caracteres. R1(config)#router bgp 2000 R1(cobfigure-router)#no auto-summary R1(config-router)#neighbor remote-as 1000 description enlace eBGP con Ra R1(config-router)#network mask R1(config-router)#network mask Se define eBGP /30 /30 /30 /30 AS 1000 .5 .6 .9 S1 S0 R2 R1 AREA 0 /25 OSPF AS 2000 AS 3000 Ra Rb /30 .10 R4 R3 /30 Fa0/1 Fa0/0 Rc /24 Lo 1: /24 Lo 2: /24 Lo 3: /24 Lo 4: /16 /24 /24 network anunciará la ruta sólo si ésta es conocida por el router: estáticamente o dinámicamente.

14 COMANDOS BASICOS BGP-Uso de loopback
neighbor {ip-address | peer-group-name} update-source loopbak-number Ra(config)#router bgp 1000 Ra(config-router)#neighbor remote-as 2000 description enlace eBGP con R1 Ra(config-router)#neighbor remote-as 1000 description enlace iBGP con Rc update-source loopback 1 Ra(config-router)#network mask Ra(config-router)#network mask Ra(config-router)#network /30 /30 /30 /30 AS 1000 .5 .6 .9 S1 S0 R2 R1 AREA 0 /25 OSPF AS 2000 AS 3000 Ra Rb /30 .10 R4 R3 /30 Fa0/1 Fa0/0 Rc /24 Lo 1: /24 Lo 2: /24 Lo 3: /24 Lo 4: /16 /24 /24 NOTA: Una interfaz loopback es utilizado sólo con iBGP para garantizar una dirección IP vecino activa

15 El router R3 envía a Rc la red
COMANDOS BASICOS BGP-Agregación aggregate-address ip-address mask [summary-only] [as-set] ► aggregate-address crea una entrada agregada o de resumen. R3(config)#router bgp 3000 R3(config-router)#no auto-summary R3(config-router)#neighbor remote-as 1000 R3(config-router)#neighbor description enlace eBGP con Rc R3(config-router)#network mask R3(config-router)#network R3(config-router)#aggregate-address summary-only /30 /30 /30 /30 AS 1000 .5 .6 .9 S1 S0 R2 R1 AREA 0 /25 OSPF AS 2000 AS 3000 Ra Rb /30 .10 R4 R3 /30 Fa0/1 Fa0/0 Rc /24 Lo 1: /24 Lo 2: /24 Lo 3: /24 Lo 4: /16 /24 /24 El router R3 envía a Rc la red agregada /23

16 REDISTRIBUCIÓN DINÁMICA-BGP con OSPF
Proceso por el cual se importan rutas de un protocolo de enrutamiento a otro. /30 /30 /30 /30 AS 1000 .5 .6 .9 S1 S0 R2 R1 AREA 0 /25 OSPF AS 2000 AS 3000 Ra Rb /30 .10 R4 R3 /30 Fa0/1 Fa0/0 Rc /24 Lo 1: /24 Lo 2: /24 Lo 3: /24 Lo 4: /16 /24 /24 S0/1 R3(config)#router ospf 10 R3(config-router)#network area 0 R3(config-router)#redistribute bgp 3000 subnets R3(config-router)#passive-interface S0/1 R3(config-router)#exit R3(config)#router bgp 3000 R3(config-router)#redistribute ospf 10 R3(config-router)#

17 BIBLIOGRAFIA Resumen BGP: BGP: Frequently Ask Question-CISCO
BGP: Frequently Ask Question-CISCO Configuring BGP-CISCO guide_chapter09186a00800d97fc.html BGP Case Studies-CISCO


Descargar ppt "PROTOCOLOS DE COMUNICACIÓN PROTOCCOLO BGP"

Presentaciones similares


Anuncios Google