Documentos de Académico
Documentos de Profesional
Documentos de Cultura
VICERRECTORADO ACADÉMICO
CARRERA: TELECOMUNICACIONES
REDES DE DATOS II
PRÁCTICA No. 02
BALANCEO DE CARGA MODIFICANDO LOS ATRIBUTOS
LOCAL PREFERENCE Y WEIGHT EN R1(MIKROTIK) Y EN
VYOS-1
FECHA: 2022-10-22
1. OBJETIVO:
INSTRUCCIONES
2. PROCEDIMIENTO:
• Gráfica de la Red
ESCUELA SUPERIOR POLITÉCNICA DE CHIMBORAZO
GUÍA DE PRÁCTICAS DE LABORATORIOS,
TALLERES Y CENTROS DE SIMULACIÓN
=============================== exit
R12 ===============================
=============================== R3
en ===============================
conf t en
int lo0 conf t
ip add 3.3.2.2 255.255.255.255 int e0/0
ip ospf 10 area 0 ip add 200.10.10.250 255.255.255.252
exit no shut
int e0/0 exit
ip add 10.10.6.1 255.255.255.0
no shut int e0/1
ip ospf 10 area 0 ip add 200.10.10.241 255.255.255.252
exit no shut
exit
int e0/1
ip add 10.10.3.2 255.255.255.0 router bgp 300
no shut bgp router-id 4.4.4.4
ip ospf 10 area 0 neighbor 200.10.10.249 remote-as 100
exit neighbor 200.10.10.242 remote-as 500
exit
router bgp 100
bgp router-id 3.3.2.2 ===============================
neighbor 3.3.2.5 remote-as 100 R5
neighbor 3.3.2.5 update-source lo0 ===============================
neighbor 3.3.2.5 route-reflector-client en
exit conf t
=============================== int e0/0
R2 ip add 200.10.10.246 255.255.255.252
=============================== no shut
en exit
conf t
int e0/0 int e0/1
ip add 200.10.10.254 255.255.255.252 ip add 200.10.10.237 255.255.255.252
no shut no shut
exit exit
int e0/1
ip add 200.10.10.233 255.255.255.252 set protocols bgp address-family ipv4-
no shut unicast network 192.168.6.0/24
exit set protocols bgp address-family ipv4-
unicast network 192.168.8.0/24
router bgp 500 set protocols bgp address-family ipv4-
bgp router-id 6.6.6.6 unicast network 192.168.9.0/24
neighbor 200.10.10.241 remote-as 300 commit
neighbor 200.10.10.234 remote-as 800
exit /////local preferece
=============================== set policy route-map cambioLP rule 10
VYOS- action permit
1=============================== set policy route-map cambioLP rule 10 set
configure local-preference 300
set protocols bgp neighbor 200.10.10.233
set interfaces loopback lo address 5.5.5.1/32 address-family ipv4-unicast route-map
set interfaces ethernet eth0 address import cambioLP
200.10.10.238/30 commit
set interfaces ethernet eth1 address
200.10.10.234/30 ///// weigth
set interfaces ethernet eth2 address set policy route-map cambioweigth rule 10
192.168.2.1/24 action permit
commit set policy route-map cambioweigth rule 10
set weight 300
set protocols ospf parameters router-id set protocols bgp neighbor 200.10.10.237
10.100.1.4 address-family ipv4-unicast route-map
set protocols ospf area 0.0.0.0 network import cambioweigth
192.168.2.0/24 commit
set protocols ospf area 0.0.0.0 network
5.5.5.1/32
set protocols bgp local-as 800
set protocols bgp parameters router-id
60.60.60.1
ESCUELA SUPERIOR POLITÉCNICA DE CHIMBORAZO
GUÍA DE PRÁCTICAS DE LABORATORIOS,
TALLERES Y CENTROS DE SIMULACIÓN
• Pruebas de Conectividad
Traceroute hacia el web -terminal 1 10.10.6.1 la ruta por defecto esta 200.10.10.237(ASN 400
ASN 200)
ESCUELA SUPERIOR POLITÉCNICA DE CHIMBORAZO
GUÍA DE PRÁCTICAS DE LABORATORIOS,
TALLERES Y CENTROS DE SIMULACIÓN
Aplicando un local preference en las dirección 200.10.10.250 que es la ruta entre el Router
R4- R3 (ASN100 a ASN 300)
Creando la nueva ruta en las dirección 200.10.10.250 que es la ruta entre el Router R4- R3
(ASN100 a ASN 300)
ESCUELA SUPERIOR POLITÉCNICA DE CHIMBORAZO
GUÍA DE PRÁCTICAS DE LABORATORIOS,
TALLERES Y CENTROS DE SIMULACIÓN
3. RESULTADOS
CONCLUSIONES
RECOMENDACIONES
Para implemetar los atributos de local preferece y weight se debe primero comprobar que se
debe tener en convergencia toda nuestra red.