Espero hayan tenido un feliz año todos, en estos días he estado leyendo el hilo y me entro curiosidad este caso y hoy que he estado probando en el GNS3 y me funcionó perfectamente con solo 1 túnel.
En el esquema hay 4 router
Oficina, ip publica 10.10.10.2
Internet, simula el ISP
Casa, ip publica 10.10.20.2
Salon, funciona como switch
1- En Oficina
Asigno al ether1, la ip publica 10.10.10.2
Creo el bridge1 y le agrego puertos del router y servidor DHCP asignado con la ip 192.168.10.0/24
creo el tunel EOIP con ID=0 y se lo agrego al bridge1
2- En Casa
Asigno al ether1, la ip publica 10.10.20.2
Creo el bridge1 y le agrego los puertos del router del 2 al 4 y servidor DHCP con ip 192.168.20.0/24
Creo la vlan1 con ID=101 en el ethe2, donde va conectado el router Salon
Creo el túnel EOIP con ID=0
Creo el bridge_EOIP y le agrego el tunel EOIP anterior, el puerto ether5 y la vlan1
3- En Salon
Creo un bridge1 y le asigno los puertos del 1 al 4
Creo la vlan1 con ID=101 en el ether1
Creo un bridge_EOIP y le agrego el puerto ether5 y la vlan1
Con esto logre que
casa tenga su internet y red ampliada al switch
Salon, mientras que por el puerto 5 del router
Casa como el
Salon sale la red de la
oficina.
Espero se entienda
Ver el adjunto 76606
EN OFICINA
Código:
# jan/03/2021 21:21:01 by RouterOS 6.47
# software id =
#
#
#
/interface bridge
add name=bridge1
/interface ethernet
set [ find default-name=ether1 ] comment=WAN disable-running-check=no
set [ find default-name=ether2 ] disable-running-check=no
set [ find default-name=ether3 ] disable-running-check=no
set [ find default-name=ether4 ] disable-running-check=no
set [ find default-name=ether5 ] disable-running-check=no
set [ find default-name=ether6 ] disable-running-check=no
/interface eoip
add mac-address=02:C0:23:66:1C:B8 name=eoip-tunnel1 remote-address=10.10.20.2 \
tunnel-id=0
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=192.168.10.10-192.168.10.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=bridge1 name=dhcp1
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=eoip-tunnel1
/ip address
add address=10.10.10.2/30 interface=ether1 network=10.10.10.0
add address=192.168.10.1/24 interface=bridge1 network=192.168.10.0
/ip dhcp-client
add add-default-route=no disabled=no interface=ether6
/ip dhcp-server network
add address=192.168.10.0/24 gateway=192.168.10.1
/ip route
add distance=1 gateway=10.10.10.1
/system identity
set name=Oficina
EN CASA
Código:
# jan/03/2021 21:16:41 by RouterOS 6.47
# software id =
#
#
#
/interface bridge
add name=bridge1
add name=bridge_EOIP
/interface ethernet
set [ find default-name=ether1 ] comment=WAN disable-running-check=no
set [ find default-name=ether2 ] comment=Salon disable-running-check=no
set [ find default-name=ether3 ] disable-running-check=no
set [ find default-name=ether4 ] disable-running-check=no
set [ find default-name=ether5 ] comment=Puerto_Oficina \
disable-running-check=no
set [ find default-name=ether6 ] disable-running-check=no
/interface eoip
add mac-address=02:57:BA:E2:FA:FF name=eoip-tunnel1 remote-address=10.10.10.2 \
tunnel-id=0
/interface vlan
add interface=ether2 name=vlan1 vlan-id=101
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=192.168.20.10-192.168.20.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=bridge1 name=dhcp1
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge_EOIP interface=vlan1
add bridge=bridge_EOIP interface=eoip-tunnel1
add bridge=bridge_EOIP interface=ether5
/ip address
add address=10.10.20.2/30 interface=ether1 network=10.10.20.0
add address=192.168.20.1/24 interface=bridge1 network=192.168.20.0
/ip dhcp-client
add add-default-route=no disabled=no interface=ether6
/ip dhcp-server network
add address=192.168.20.0/24 gateway=192.168.20.1
/ip route
add distance=1 gateway=10.10.20.1
/system identity
set name=Casa
EN SALON
Código:
# jan/03/2021 21:19:36 by RouterOS 6.47
# software id =
#
#
#
/interface bridge
add name=bridge1
add name=bridge_EOIP
/interface ethernet
set [ find default-name=ether1 ] comment=WAN disable-running-check=no
set [ find default-name=ether2 ] disable-running-check=no
set [ find default-name=ether3 ] disable-running-check=no
set [ find default-name=ether4 ] disable-running-check=no
set [ find default-name=ether5 ] comment=Puerto_Oficina \
disable-running-check=no
set [ find default-name=ether6 ] disable-running-check=no
/interface vlan
add interface=ether1 name=vlan1 vlan-id=101
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge_EOIP interface=ether5
add bridge=bridge_EOIP interface=vlan1
/ip dhcp-client
add add-default-route=no disabled=no interface=ether6
/system identity
set name=Salon