fbpx

If my provider already assigns IPv6 addresses, how do I configure the mikrotik so that it receives that IPv6 on the wan?

Configuring a MikroTik router to receive an IPv6 address on the WAN interface when your provider already assigns IPv6 addresses involves several steps.

The specific configuration may vary depending on how your ISP is distributing IPv6 (for example, using DHCPv6 or SLAAC).

Below is a general guide on how you could configure your MikroTik router to accept and use an IPv6 address assigned by your ISP:

1. Enable IPv6 Packet

First, make sure IPv6 packet is enabled on your MikroTik router. You can check it in the “System” -> “Packages” menu. If it is not enabled, activate it and restart your router.

2. Configure the DHCPv6 Client (if applicable)

If your ISP uses DHCPv6 to assign IPv6 addresses, you will need to configure a DHCPv6 client on your WAN interface:

/ipv6 dhcp-client
add interface=[tu-interfaz-WAN] pool-name=wan-ipv6-pool request=address

Replaces [tu-interfaz-WAN] with the name of your current WAN interface.

3. Configure Automatic Address Receipt (SLAAC)

If your ISP uses SLAAC (Stateless Address Autoconfiguration) to assign IPv6 addresses, your MikroTik router should automatically receive an IPv6 address on the WAN interface without additional configuration, as long as IPv6 packet is enabled and working correctly. Make sure the WAN interface is configured to accept IPv6 addresses automatically.

4. Firewall Settings

Make sure your firewall is configured to allow IPv6 traffic. This may include configuring rules to allow ICMPv6, which is essential for the correct functioning of IPv6:

/ipv6 firewall filter
add chain=input protocol=icmpv6 action=accept
add chain=input connection-state=established action=accept
add chain=input connection-state=related action=accept

These rules allow ICMPv6 traffic and traffic from established and related connections.

5. Verify Settings

After configuring your router, verify that it has received an IPv6 address from your ISP. You can do it using the command:

/ipv6 address print

This should show you the IPv6 addresses assigned to your router's interfaces.

Final Considerations

  • ISP Documentation: Consult the documentation provided by your ISP or contact their technical support for specific details on how they assign IPv6 addresses.
  • Safety: Be sure to review and adjust your firewall settings for IPv6, as security needs may differ from IPv4.
  • testing: Use tools like ping or visit sites like test-ipv6.com to verify your IPv6 connectivity.

Remember that each ISP may have a slightly different approach to IPv6 assignment, so adapting these general steps to your specific situation may require additional adjustments.

There are no tags for this post.
Did this content help you?
Facebook
Twitter
LinkedIn
WhatsApp
Telegram

Other documents in this category

Leave your comment

Your email address will not be published. Required fields are marked with *

Tutorials available at MikroLABs

No Courses Found!

DISCOUNT CODE

AN24-LIB

applies to MikroTik books and book packs

Days
Hours
Minutes
Seconds

Introduction to
OSPF - BGP - MPLS

Sign up for this Free course

MAE-RAV-ROS-240118
Days
Hours
Minutes
Seconds

Sign up for this Free course

MAS-ROS-240111

Promo for Three Kings Day!

KINGS24

15%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the Three Kings Day discount code!

* promotion valid until Sunday January 7, 2024
** the code (KINGS24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

New Year's Eve Promo!

NY24

20%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the New Year's Eve discount code!

* promotion valid until Monday, January 1, 2024
** the code (NY24) applies to shopping cart
*** buy your course now and take it until March 31, 2024

Christmas discounts!

XMAS23

30%

all the products

MikroTik courses
Academy courses
MikroTik books

Take advantage of the discount code for Christmas!!!

**codes are applied in the shopping cart
Promo valid until Monday December 25, 2023

CYBER WEEK DISCOUNTS

CW23-MK

17%

all MikroTik OnLine courses

CW23-AX

30%

all Academy courses

CW23-LIB

25%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Cyber ​​Week!!!

**codes are applied in the shopping cart
Promo valid until Sunday December 3, 2023

BLACK FRIDAY DISCOUNTS

BF23-MX

22%

all MikroTik OnLine courses

BF23-AX

35%

all Academy courses

BF23-LIB

30%

all MikroTik Books and Book Packs

Take advantage of the discount codes for Black Friday!!!

**Codes are applied in the shopping cart

codes are applied in the shopping cart
valid until Sunday November 26, 2023

Days
Hours
Minutes
Seconds

Sign up for this Free course

MAE-VPN-SET-231115

Halloween promo

Take advantage of discount codes for Halloween.

Codes are applied in the shopping cart

HW23-MK

11% discount on all MikroTik OnLine courses

11%

HW23-AX

30% discount on all Academy courses

30%

HW23-LIB

25% discount on all MikroTik Books and Book Packs

25%

Register and participate in the free course Introduction to Advanced Routing with MikroTik (MAE-RAV-ROS)

Today (Wednesday) October 11, 2023
7pm to 11pm (Colombia, Ecuador, Peru)

MAE-RAV-ROS-231011