Partimos del manual anterior. Pueden consultarlo aqui
Se pretende llegar a este diagrama:
![Nombre: IPv6 en Mikrotik. Configurar Wi-Fi usando un bridge.jpg
Visitas: 446
Tamaño: 91.9 KB](http://foroisp.com/attachment.php?attachmentid=2508&d=1685046272)
EQUIPO |
INTERFACE |
Direción IPv4 - IPv6 |
Descripcion |
ROUTER ISP ABC |
ETHER-1 |
2806:3F7:1002::FFFF:F0CA:BEBE /112 |
Enlace con nuestro proveedor |
ROUTER ISP ABC |
BRIDGE |
2806:3F7:A200:CCCC::AAAA/64 |
Esta interface va conectada a un switch capa 2 |
ROUTER CARRIER TOTAL PLAY |
ETHER-1 |
2806:3F7:1002::FFFF:F0CA:F0CA /112 |
Esta IPv6 va a ser nuestro gateway |
Laptop Usuario |
Ethernet |
2806:3f7:a200:cccc:3af6:45f1:e117:b58 /64
192.168.50.200 /24 |
Esta IPv6 nos la entrega el Mikrotik |
¿Qué vamos a realizar?
- Crear una interface Bridge.
Esto tiene la finalidad de tener el mismo prefijo IPv6 tanto para los usuarios conectados por un cable como para los usuarios de Wi-Fi - Cambiar el direccionamiento
Solo tenemos que cambiar la dirección IPv6. Ahora esta IPv6 estará asignada a nuestra nueva interface Bridge. - Configurar interface WLAN
Crearemos una red Wi-Fi para que los usuarios se puedan conectar al Mikrotik. - Probar la configuración
Haremos pings entre nuestros equipos usando IPv6 para demostrar que nuestro bridge esta funcionando correctamente.
1 Crear una interface Bridge
Código:
/interface bridge
add name=bridge-LAN
![Nombre: 1 Crear un bridge.png
Visitas: 425
Tamaño: 68.0 KB](http://foroisp.com/attachment.php?attachmentid=2512&d=1685048391)
1.1 Añadir interfaces a nuestro Bridge
Código:
/interface bridge port
add bridge=bridge-LAN interface=wlan1
add bridge=bridge-LAN interface=ether5
![Nombre: 1.1 Agregar interfaces al bridge.png
Visitas: 410
Tamaño: 174.9 KB](http://foroisp.com/attachment.php?attachmentid=2513&d=1685048433)
2 Cambiar el direccionamiento
Código:
/ipv6 address
add address=2806:3f7:a200:cccc::aaaa comment=LAN interface=bridge-LAN
3 Configurar interface WLAN
Código:
/interface wireless
set [ find default-name=wlan1 ] disabled=no mode=ap-bridge ssid="Wi-Fi IPv6 Only"
![Nombre: 3 Configurar interface WLAN.png
Visitas: 410
Tamaño: 156.1 KB](http://foroisp.com/attachment.php?attachmentid=2515&d=1685048470)
4 Probar la configuración
![Nombre: 4 Probar conectividad conexion exitosa WiFi.jpg
Visitas: 404
Tamaño: 51.9 KB](http://foroisp.com/attachment.php?attachmentid=2509&d=1685048142)
4.1 Prueba en laptop
![Nombre: 4.1 Prueba en Laptop.png
Visitas: 404
Tamaño: 149.2 KB](http://foroisp.com/attachment.php?attachmentid=2510&d=1685048201)
4.2 Prueba en celular
![Nombre: 4.2 Prueba en celular.jpg
Visitas: 403
Tamaño: 35.2 KB](http://foroisp.com/attachment.php?attachmentid=2511&d=1685048227)
4.3 Prueba en el router
![Nombre: 4.3 Prueba en Router.png
Visitas: 397
Tamaño: 90.1 KB](http://foroisp.com/attachment.php?attachmentid=2516&d=1685048788)
OPCIONAL
Configurar IPv4 en el Bridge para tener acceso completo a Internet
- Asignar una IPv4 a la interface Bridge
- Crear un servidor DHCP en la interface Bridge
5 Asignar una IPv4 a la Interface Bridge
Código:
/ip address
add address=192.168.50.1/24 comment="LAN abonados" interface=bridge-LAN network=192.168.50.0
![Nombre: 5.1 Agregar una IPv4 al Bridge.png
Visitas: 391
Tamaño: 125.7 KB](http://foroisp.com/attachment.php?attachmentid=2517&d=1685137381)
6 Crear un servidor DHCP en la interface Bridge
Solo tenemos que aceptar lo que diga el Wizard (siguiente, siguiente, siquiente) y tener cuidado con la elección de los DNS. En este ejemplo usaremos el de Google 8.8.8.8.
![Nombre: 6 Crear servidor DHCP.png
Visitas: 379
Tamaño: 55.6 KB](http://foroisp.com/attachment.php?attachmentid=2519&d=1685138612)
6.1
![Nombre: 6.1.png
Visitas: 398
Tamaño: 5.7 KB](http://foroisp.com/attachment.php?attachmentid=2518&d=1685138563)
6.2
![Nombre: 6.2.png
Visitas: 391
Tamaño: 5.6 KB](http://foroisp.com/attachment.php?attachmentid=2520&d=1685138643)
6.3
![Nombre: 6.3.png
Visitas: 391
Tamaño: 6.1 KB](http://foroisp.com/attachment.php?attachmentid=2521&d=1685138661)
6.4
![Nombre: 6.4.png
Visitas: 394
Tamaño: 4.7 KB](http://foroisp.com/attachment.php?attachmentid=2522&d=1685138681)
6.5
![Nombre: 6.5.png
Visitas: 388
Tamaño: 4.4 KB](http://foroisp.com/attachment.php?attachmentid=2523&d=1685138697)
6.6
![Nombre: 6.6.png
Visitas: 394
Tamaño: 2.3 KB](http://foroisp.com/attachment.php?attachmentid=2524&d=1685138717)
Con esto hemos finalizado. Ahora cuando nos conectemos a la red Wi-Fi nos dará una IPv4 y una IPv6.