fbpx

How to generate a dhcpv6 for a vlan in MikroTik?

Configuring a DHCPv6 server on a specific VLAN on a MikroTik device to automatically assign IPv6 addresses to devices in that VLAN involves several steps.

We guide you through the general process using RouterOS, MikroTik's operating system:

Step 1: Create the VLAN

  1. Access your MikroTik device using WinBox or the web interface.
  2. Go to “Interfaces” and then to “+”, to create a new VLAN.
  3. Configure the VLAN assigning it a name, specifying the “Parent” interface on which it will operate and defining its “VLAN ID”.

Step 2: Assign the VLAN to a Bridge Interface (if necessary)

If you don't already have a bridge created, you will need to create one and then add your VLAN and the necessary interfaces to the bridge:

  1. Go to “Bridge”, then to “Bridge” again, and create a new bridge if necessary.
  2. Add your VLAN and any relevant interfaces to the bridge going to “Ports” within the “Bridge” menu and adding each one as a bridge port.

Step 3: Configure the IPv6 Address for the VLAN

  1. Go to “IPv6”, then to “Addresses”.
  2. Add a new IPv6 address for your VLAN. You can specify the address manually or use a delegated prefix if your ISP provides one. Make sure you select the interface of your VLAN or bridge (if the VLAN is on a bridge).

Step 4: Configure the DHCPv6 Server

  1. Go to “IPv6”, then to “DHCP Server” and select “DHCP”.
  2. Create a new DHCPv6 server by clicking the “+” button.
  3. Select VLAN interface for which you are configuring the DHCPv6 server.
  4. Specifies the IPv6 address pool that the DHCPv6 server will use to assign to clients. If you have not created a pool yet, you will need to create one in “IPv6” > “Pool”.
  5. Set additional options as necessary, such as gateway (if applicable), lease time, and DNS servers.

Step 5: Configure the IPv6 Address Pool

  1. Go to “IPv6”, then to “Pool”.
  2. Create a new pool specifying the range of IPv6 addresses that will be available to devices in your VLAN.

Step 6: Secure the IPv6 Route

Make sure you have an appropriate route configured for IPv6 traffic to allow devices in your VLAN to access the broader network or Internet:

  1. Go to “IPv6”, then to “Routes”.
  2. Verify that you have a default route configured and, if necessary, configure a route that points to your ISP's gateway or another router that handles IPv6 traffic.

This process will allow you to configure a DHCPv6 server on a specific VLAN on your MikroTik device, providing automatic IPv6 addresses to devices connected to that VLAN.

Remember that the exact steps may vary slightly depending on the version of RouterOS and your specific network configuration.

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