Community discussions

MikroTik App
 
ludvik
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Mon May 26, 2008 4:36 pm

IPv6 experience ... and needs.

Wed Dec 14, 2011 12:27 am

I have first experience with Ipv6 on mikrotik 5.11 in "client mode". It's horrible ...

At first:
I need accept router-advertisiments on routers. CPE doesn't have default route without RA (ospf is not applicable). It is linux problem, http://tldp.org/HOWTO/Linux+IPv6-HOWTO/ ... ipv6..html (if forwarding, accept ra is disabled). I need write access for this value ... may be in winbox, or CLI only.

At second:
how i find out DUID? In no way ... Only on DHCP server in log messages, or by studying tcpdump. Or at least that was in the manual method of DUID creation. In my RB1100AH is created from MAC address ether12 - why? Why not from first interface? Or last interface? Or not from routerboard serial number? Simply predictable way.

At third:
I need stateless configuration. IP address (and default route) for devices on LAN side from RA, DNS servers from stateless DHCP. Using statefull DHCP for this is unnecessary in most cases.
So take the prefix via DHCP-PD and assign to the LAN interface. And stateless DHCP server, of course.

But even if statefull configuration should be able to take the prefix /64 for client from PD and allocate him /64 too, from same segment. Why not?
Or receive eg. /62 from PD and asign four /64 segments on four idependent interface.

summary:
wan interface - accept RA (with default route).
lan interface - accept prefix from PD and using it as global address.
dhcp server - stateless configuration.


(P.S.: i apologize for my English).
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: IPv6 experience ... and needs.

Wed Dec 14, 2011 10:52 am

1. As per RFC only hosts should receive stateless address. Routers should not.
2. DUID was generated from the first detected interface that had MAC address. We will add command in next version that will show what DUID will be used.
3. This feature is in TODO list.
 
ludvik
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Mon May 26, 2008 4:36 pm

Re: IPv6 experience ... and needs.

Wed Dec 14, 2011 1:31 pm

1. As per RFC only hosts should receive stateless address. Routers should not.
A have a choice. I'm network administrator.

But: without accept RA router doesn't default route! Global IP address may be absent, but default route not. I have to configure statically or using OSPFv3 (not usable in every situation).

If absent default route in router, why prefix delegation for LAN devices? The useless. I'm talking about CPE, not about "core" routers.
Last edited by ludvik on Wed Dec 14, 2011 1:51 pm, edited 1 time in total.
 
ludvik
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 65
Joined: Mon May 26, 2008 4:36 pm

Re: IPv6 experience ... and needs.

Wed Dec 14, 2011 1:37 pm

2. DUID was generated from the first detected interface that had MAC address. We will add command in next version that will show what DUID will be used.
Thanks.
It would also be appropriate if it was persistent DUID to survive a reinstallation of ROS. Routerboard it meets (in most cases, network intefaces is persistent), but x86 not. But i have not tried it.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: IPv6 experience ... and needs.

Wed Dec 14, 2011 3:49 pm

In next version DUID will be stored until configuration reset, so it will stay the same even after interface changes.
 
Kola
newbie
Posts: 49
Joined: Fri Aug 02, 2013 11:42 am

Re: IPv6 experience ... and needs.

Sun Sep 07, 2014 6:15 pm

Is there a method to specify DUID for a DHCP client? The problem is my local ISP (IPv6 DHCP server of it) checks if request DUID corresponds device MAC address, and if not it responds #6 - no prefixes available.

I can switch ports or port MACs in this case but, I think, there should be the way to change DUID for an each IPv6 DHCP client because it's RoS (there's no more criminal when manipulating with MAC addresses).
 
Kola
newbie
Posts: 49
Joined: Fri Aug 02, 2013 11:42 am

Re: IPv6 experience ... and needs.

Sun Sep 07, 2014 6:50 pm

Yeah, I know it disagrees with IETF RFC 3315, so it is very bad. :D
 
realdreams
newbie
Posts: 30
Joined: Sat Mar 09, 2013 8:54 am

Re: IPv6 experience ... and needs.

Fri Nov 27, 2015 4:30 am

So
1) How to run multiple DHCPv6 client?
2) How to change DUID? I changed the interface MAC but that had no effect on DUID

Who is online

Users browsing this forum: anav and 160 guests