Community discussions

MikroTik App
 
Yordan1
newbie
Topic Author
Posts: 28
Joined: Fri Aug 04, 2017 9:38 am

ipV6 dhcp

Fri Aug 04, 2017 9:52 am

Hello.
I've installed and set an ipV4 dhcp and it working fine so far, but probably I miss something in order to activate properly ipV6 dhcp. :)
So far i've installed the packages requires to setup ipV6 and I did the follows ( I am using Mikrotik's Winbox, so if possible to be advised over it's interface I would appreciate it very :) )
This is what i have understood from the youtube's tutorials so far. I am not an expert, just trying to setup my home network.
P.S.
- my ISP is ipV4 if this maters.
- my interfaces is : ether1-gateway - the wan, ether2-master-local - the lan


Any help is more than appreciated.
You do not have the required permissions to view the files attached to this post.
 
kamillo
Member Candidate
Member Candidate
Posts: 162
Joined: Tue Jul 15, 2014 5:44 pm

Re: ipV6 dhcp

Fri Aug 04, 2017 10:34 am

You prefix in the pool is empty you need an address like 2001:abcd::/64 to give it to your clients.

I'm assuming you are aware that if your ISP doesn't support IPv6 you will not be able to brake to the Internet unless you have an IPv6 tunnel like HE (https://tunnelbroker.net/).
 
Yordan1
newbie
Topic Author
Posts: 28
Joined: Fri Aug 04, 2017 9:38 am

Re: ipV6 dhcp

Fri Aug 04, 2017 11:39 am

Thanks for the fast reply.
So. If my ISP does not provide ipV6 - i can not access internet ?
and - I've setuped as You noted, but there is no change. I still not see any gateway while checking my pc lan card stats.
 
kamillo
Member Candidate
Member Candidate
Posts: 162
Joined: Tue Jul 15, 2014 5:44 pm

Re: ipV6 dhcp

Fri Aug 04, 2017 12:02 pm

If your ISP does not provide IPv6, you can not access Internet over IPv6. IPv4 and IPv6 are different protocols. If you want to use IPv6 to access the Internet you can use IPv6 tunnel.

Do some reading to understand IPv6 better, you can start here:

https://wiki.mikrotik.com/wiki/Manual:IPv6/Address
https://wiki.mikrotik.com/wiki/Manual:M ... v6_Network
https://wiki.mikrotik.com/wiki/Manual:H ... e_for_Home
 
pe1chl
Forum Guru
Forum Guru
Posts: 10505
Joined: Mon Jun 08, 2015 12:09 pm

Re: ipV6 dhcp

Fri Aug 04, 2017 12:24 pm

Also, it is not customary and not very useful to setup a DHCP server for IPv6 on your internal network to assign addresses.
It may even be that it does not work correctly.
Use RA instead of DHCP for this.
 
Yordan1
newbie
Topic Author
Posts: 28
Joined: Fri Aug 04, 2017 9:38 am

Re: ipV6 dhcp

Fri Aug 04, 2017 12:43 pm

thank You kamillo and pe1chl for the replies.

I need to have ipV6 internally, because I need to test the software i am writing against connecting trough pure ipv6 network ( some crazy stuff recently required by Apple ).
If I am not supposed to use DHCP and I have to use RA - what is RA and how to find it and configure it ? ( sorry I am noob into the topic ).
 
kamillo
Member Candidate
Member Candidate
Posts: 162
Joined: Tue Jul 15, 2014 5:44 pm

Re: ipV6 dhcp

Fri Aug 04, 2017 1:39 pm

If you need IPv6 only for internal use set pool to something like:

name: "pool name"
prefix: fd00:9324:28ac::/64
prefix length: 64

next in IPv6 address list add

address ::/64
from pool: "pool name"
interface: <your internal network interface>
tick: advertise

this is quick why to configure internal IPv6, you will not have Internet access over IPv6, etc.

In fact this can slow down/ brake your IPv4 internet connection for existing devices as some devices prefer to use IPv6 and once they have IPv6 they will try to use that to connect to the Internet.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10505
Joined: Mon Jun 08, 2015 12:09 pm

Re: ipV6 dhcp

Fri Aug 04, 2017 2:16 pm

I need to have ipV6 internally, because I need to test the software i am writing against connecting trough pure ipv6 network ( some crazy stuff recently required by Apple ).
If I am not supposed to use DHCP and I have to use RA - what is RA and how to find it and configure it ? ( sorry I am noob into the topic ).
You already have RA configured on the Neighbor Discovery page.
There should be no need for DHCP for Apple devices.
You only need to have an IPv6 address. Ask your ISP when they will get with the times, or find another ISP who already has.
You can use an IPv6 over IPv4 tunnel instead to have quick results until that. However, it is recommended to ask your ISP so
they cannot reply to all their customers that no other customers ask for it.

Who is online

Users browsing this forum: Bing [Bot] and 19 guests