Community discussions

MikroTik App
 
hci
Long time Member
Long time Member
Topic Author
Posts: 679
Joined: Fri May 28, 2004 5:10 pm

IPv6 DHCP Server

Mon Feb 20, 2012 7:17 am

Does anyone have an example of using DHCPv6 with a HE.net tunnel?
 
ranpha
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Mon Jan 09, 2012 3:16 am

Re: IPv6 DHCP Server

Mon Feb 20, 2012 7:35 am

As of 5.13, RouterOS doesn't have a fully working DHCPv6 server. It can only be used as DHCPv6-PD I think.
 
hci
Long time Member
Long time Member
Topic Author
Posts: 679
Joined: Fri May 28, 2004 5:10 pm

Re: IPv6 DHCP Server

Mon Feb 20, 2012 5:56 pm

You are right. Any time frame on full DHCPv6? ND does not hand out DNS so Windows PC still require manual configuration without full DHCPv6.
 
ranpha
Frequent Visitor
Frequent Visitor
Posts: 62
Joined: Mon Jan 09, 2012 3:16 am

Re: IPv6 DHCP Server

Mon Feb 20, 2012 6:22 pm

Probably RouterOS version 6. I hope it comes before World IPv6 Launch though.
 
TKITFrank
Member Candidate
Member Candidate
Posts: 236
Joined: Tue Jul 07, 2009 2:55 pm
Location: Sweden

Re: IPv6 DHCP Server

Tue Feb 21, 2012 4:37 pm

I want this to :)
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7167
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: IPv6 DHCP Server

Tue Feb 21, 2012 4:41 pm

You are right. Any time frame on full DHCPv6? ND does not hand out DNS so Windows PC still require manual configuration without full DHCPv6.
ND does hand out DNS. Windows simly does not support this feature.
 
TKITFrank
Member Candidate
Member Candidate
Posts: 236
Joined: Tue Jul 07, 2009 2:55 pm
Location: Sweden

Re: IPv6 DHCP Server

Thu Feb 23, 2012 3:53 pm

You are right. Any time frame on full DHCPv6? ND does not hand out DNS so Windows PC still require manual configuration without full DHCPv6.
ND does hand out DNS. Windows simly does not support this feature.
Any news on when a Full DHCP IPv6 server will be implemented mrz?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7167
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: IPv6 DHCP Server

Thu Feb 23, 2012 4:20 pm

It is in our TODO list and will be ready when it is done. :)
 
hci
Long time Member
Long time Member
Topic Author
Posts: 679
Joined: Fri May 28, 2004 5:10 pm

Re: IPv6 DHCP Server

Thu Feb 23, 2012 5:13 pm

>>ND does hand out DNS. Windows simly does not support this feature.

Any guess when Windows will support DNS info over ND? World IPv6 Day is coming and I think not supporting it is a short coming.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7167
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: IPv6 DHCP Server

Thu Feb 23, 2012 5:29 pm

Ask Bill Gates :))
 
TKITFrank
Member Candidate
Member Candidate
Posts: 236
Joined: Tue Jul 07, 2009 2:55 pm
Location: Sweden

Re: IPv6 DHCP Server

Thu Feb 23, 2012 6:55 pm

It is in our TODO list and will be ready when it is done. :)
This year or next? :)
 
zajDee
just joined
Posts: 5
Joined: Sat Aug 16, 2008 11:25 am
Location: Jesenice, Czech Republic
Contact:

Re: IPv6 DHCP Server

Sun Feb 26, 2012 8:50 pm

The DHCPv6 server also has the following problems:

- routes to delegated prefixes are added to routing table with the "Dynamic Static" flags - I'd prefer to have the "Dynamic Connected" flags set (and Static unset) as the entry is not static and can disappear when the client releases the prefix. This would help with redistribution via OSPFv3.

- when the DHCPv6 pool prefix and interface prefix overlap, the DHCPv6 server should NOT hand out the prefix assigned to any interface in the system. E.g.: I have 2a01:8c00:ff44:100::/64 assigned to my testing bridge (and WAN iface of the client) and 2a01:8c00:ff44:100::/56 prefix set for DHCPv6 pool (with the length of prefixes handed out set to 64). DHCPv6 server with no worries hands out the 2a01:8c00:ff44:100::/64 prefix to my client, which does not work, as the client cannot have the same prefix on both WAN and LAN interfaces.

In case pool Prefix length is longer than /64 (/63, /62, ...), the client actually selects the next /64 prefix for LAN interface, which makes this configuration work - I'd prefer to have the overlapping /64 and "/PrefixLength" not handed out to clients.

And yes, RADIUS is a must :)
 
ludvik
Frequent Visitor
Frequent Visitor
Posts: 65
Joined: Mon May 26, 2008 4:36 pm

Re: IPv6 DHCP Server

Mon Feb 27, 2012 11:45 am

Problem is redistribute-anything :-) Static or Connected doesn't matter.
- routes to delegated prefixes are added to routing table with the "Dynamic Static" flags - I'd prefer to have the "Dynamic Connected" flags set (and Static unset) as the entry is not static and can disappear when the client releases the prefix. This would help with redistribution via OSPFv3.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7167
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: IPv6 DHCP Server

Mon Feb 27, 2012 12:08 pm

- when the DHCPv6 pool prefix and interface prefix overlap, the DHCPv6 server should NOT hand out the prefix assigned to any interface in the system. E.g.: I have 2a01:8c00:ff44:100::/64 assigned to my testing bridge (and WAN iface of the client) and 2a01:8c00:ff44:100::/56 prefix set for DHCPv6 pool (with the length of prefixes handed out set to 64). DHCPv6 server with no worries hands out the 2a01:8c00:ff44:100::/64 prefix to my client, which does not work, as the client cannot have the same prefix on both WAN and LAN interfaces.
It's a configuration problem not DHCP server's problem. If you don't want prefix to be distributed then do not include it in the pool.
 
dleo
newbie
Posts: 27
Joined: Wed Mar 11, 2009 10:49 pm

Re: IPv6 DHCP Server

Tue Mar 20, 2012 5:06 pm

Hi,

I expect the Mikrotik staff includes how do the process of migration from IPv4 tp IPv6 with Mikrotik and CPEs for the next launch.
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 829
Joined: Tue Aug 03, 2004 9:01 am

Re: IPv6 DHCP Server

Wed Mar 21, 2012 3:39 pm

- routes to delegated prefixes are added to routing table with the "Dynamic Static" flags - I'd prefer to have the "Dynamic Connected" flags set
...but it's not a connected route by definition because the router itself doesn't have an address presence within that prefix. So you can't use that flag.

True, "DS" seems like an oxymoron on the surface, but I've always just tried to think of the "S" as a catch-all category for any prefix that is not a connected route and that the router did not learn via a dynamic routing protocol (OSPF, BGP, etc.). Basically, a "DS" route is just like an "S" route except it was generated by the system instead of by a user.

Changing the flags for IPv6 routes would make things inconsistent within RouterOS. "DS" is also the designation given to IPv4 routes added dynamically by the system (e.g., RADIUS Framed-Route), and I think you'd generally want to treat the redistribution of IPv4 "DS" routes the same as plain "S" routes within OSPF or BGP (I'm hard-pressed to think of an example where you wouldn't want to do this, actually). So it's not like there wasn't precedent for this behavior already set elsewhere in the OS.

-- Nathan
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 829
Joined: Tue Aug 03, 2004 9:01 am

Re: IPv6 DHCP Server

Wed Mar 21, 2012 3:51 pm

You are right. Any time frame on full DHCPv6? ND does not hand out DNS so Windows PC still require manual configuration without full DHCPv6.
ND does hand out DNS. Windows simly does not support this feature.
Slightly off-topic, but since the subject came up...I have a humble request for ND-based DNS configuration (or "RDNSS-via-RA" as I'm used to calling it).

Right now, if you turn it on ("/ipv6 nd set [find] advertise-dns=yes"), it finds IPv6 addresses for DNS servers from "/ip dns" and advertises those in the RA. I want to have a different place where I can configure which IPv6 address to advertise as a DNS server. Ultimately what I want to do is turn on "/ip dns allow-remote-requests=yes" and then have the router advertise one of its own IPv6 addresses in the RA, so that the router itself is acting as the cacheing DNS server for the v6 prefixes it is advertising.

I can't do this right now because having "/ip dns set servers=" refer to itself obviously doesn't work very well. :P

-- Nathan

Who is online

Users browsing this forum: Bing [Bot], GoogleOther [Bot], superreeen and 32 guests