Laboratorio IPv4 sin BGP y subneteo de un /22 a /24

Configuración RB_ISP
/interface ethernet
set [ find default-name=ether1 ] name=to-RB-MILAGRO
set [ find default-name=ether2 ] name=to-RB-ZONA-HOTELERA
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip address
add address=8.8.8.1/24 comment=to-Google interface=ether3 network=8.8.8.0
add address=187.188.56.1/24 comment=to-RB-MILAGRO interface=to-RB-MILAGRO \
network=187.188.56.0
add address=187.188.57.1/24 comment=to-RB-ZONA-HOTELERA interface=\
to-RB-ZONA-HOTELERA network=187.188.57.0
/ip dhcp-client
add disabled=no interface=ether4
/system identity
set name=RB_ISP
/tool romon
set enabled=yes
Nota
Al momento de realizar el Punto a Punto entre RB_ISP, RB_MILAGRO y RB_ZONA_HOTELERA las rutas se crean automaticamente por lo tanto NO es necesario crearla automaticamente. Es importante que en el RB_ISP, existan las rutas hacia el RB_MILAGRO y RB_ZONA_HOTELERA ya que sin esto, NO podremos dar ping al SERVER_GOOGLE desde las Onus de Clientes.

Configuración RB_MILAGRO
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip address
add address=187.188.56.2/24 comment=to-RB-ISP interface=ether1 network=\
187.188.56.0
add address=192.168.10.1/24 comment=to-Onu-Milagro interface=ether2 network=\
192.168.10.0
/ip dhcp-client
add disabled=no interface=ether1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/ip route
add distance=1 gateway=187.188.56.1
/system identity
set name=RB-MILAGRO
/tool romon
set enabled=yes
Configuración RB_ZONA_HOTELERA
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip address
add address=187.188.57.2/24 comment=to-RB-ISP interface=ether1 network=\
187.188.57.0
add address=192.168.20.1/24 comment=to-Onu-Zona-Hotelera interface=ether2 \
network=192.168.20.0
/ip dhcp-client
add disabled=no interface=ether1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/ip route
add distance=1 gateway=187.188.57.1
/system identity
set name=RB-ZONA-HOTELERA
/tool romon
set enabled=yes
Configuración ONU_MILAGRO
/interface bridge
add name=LAN-CLIENTES
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=192.168.100.2-192.168.100.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=LAN-CLIENTES name=dhcp1
/interface bridge port
add bridge=LAN-CLIENTES interface=ether2
add bridge=LAN-CLIENTES interface=ether3
add bridge=LAN-CLIENTES interface=ether4
/ip address
add address=192.168.10.2/24 comment=to-RB_MILAGRO interface=ether1 network=\
192.168.10.0
add address=192.168.100.1/24 comment=LAN-Clientes-MIlagro interface=\
LAN-CLIENTES network=192.168.100.0
/ip dhcp-client
add disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.100.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.100.1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/ip route
add distance=1 gateway=192.168.10.1
/system identity
set name=Onu-Milagro
/tool romon
set enabled=yes
Configuración ONU_ZONA_HOTELERA
/interface bridge
add name=LAN-CLIENTES
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=192.168.200.2-192.168.200.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=LAN-CLIENTES name=dhcp1
/interface bridge port
add bridge=LAN-CLIENTES interface=ether2
add bridge=LAN-CLIENTES interface=ether3
add bridge=LAN-CLIENTES interface=ether4
/ip address
add address=192.168.20.2/24 comment=to-RB-ZONA-HOTELERA interface=ether1 \
network=192.168.20.0
add address=192.168.200.1/24 comment=to-Onu-Zona-Hotelera interface=\
LAN-CLIENTES network=192.168.200.0
/ip dhcp-client
add disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.200.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.200.1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/ip route
add distance=1 gateway=192.168.20.1
/system identity
set name=Onu-Zona-Hotelera
/tool romon
set enabled=yes
Laboratorio Eve-NG
_Exports_unetlab_export-20250504-063411.zip