hi everybody,
I have installed ipv6 tunnel (hurricane electric), all works fine, but i want to configure DHCPv6 for my ipv6 pool for client, but i have not found any manual for this, the only instruction i have found is to add address pool with advertise=yes. Can anyone help me to configure this address pool via DHCPv6???
DHCPv6 server in RouterOS doesn’t support giving out addresses yet, only prefixes.
It means that I cannot assign static ipv6 adresses by mac, or you know the other way to do this?
You already have ipv6 address of server and yours. It’s /64 network. In order to assign to your clients ipv6 addresses in auto mode, your sould assign to yourself in HE account /48 network, it’s about 65536 /64 networks for your devices in LAN. After you get /48 prefix, you can delegate from it /64 nets to every lan, even with multiple devices behind each one. IPv6 - ND - turn off ND on “all” and add your LAN interfaces, put a tick advertise mac and advertise dns on LAN interfaces. In IPv6 - Address - put a tick on “avertise” only on LAN IP’s. Now you will get global IPv6 addresses to your devices. Laptops and phones will get ipv6 dns from your IP - DNS. WIndows not, cause it’s not support it. Your IPv6 address will change every week cause of security reason. Don’t assign to your common devices static address, except it’s server.
So it means that i still cannot assign static ipv6 address to my windows server? Ok, is it normal, that my local DNS server have only local static ipv4, and there are no ipv6 DNS in my local net configuration. (my DNS server support ipv6 DNS, but have no static ipv6 address, so I can’t add it to my network configuration). Is there are any reasons to be warned about problem with ipv6 DNS (local assigments)???
PS mikrotik is configured for support ipv6 DNS, but it is only dns server for my local dns server (on windows with domain controller and NO DHCP). For client dns server is windows server (DHCP is mikrotik).
PPS sory for my english
You can assign IPv6 DNS too in IP - DNS. Just write them next to IPv4. In windows you should set them manually.
You can assign static IPv6 address to server. Static address is not recommended only for laptops, xbox/ps and PC’s.
no, I will kill myself doing this
Maybe you can post console commands how to set static ipv6 to my windows server, because I’m not sure that I understand you previous explanation. I understand that I should get /48 prefix in HE. But what should I do next, because I have only one LAN segment???
Currently I have interface 6to4 named IPv6, ipv6 addresses XXX::2/64 on IPv6 interface and XXX::/64 on Bridge (with flag advertise yes) and ipv6 route to 2000::/3 via XXX::1 (HE server)
I mean you should assign both dns servers: ipv4 and ipv6. If hosts in Internet will resolve your server name, they’ll get both addresses, ipv6 and ipv4. If hosts can’t access with ipv6, they’ll access with ipv4. In all OS and browsers ipv6 in priority over ipv4.
If you mean that /48 is only one LAN(global addresses) segment, then you wrong, because you can slice it with /64 prefixes, like 2001:470:aaaa::/48 is really 2001:470:aaaa:1::/64, 2001:470:aaaa:2::/64 and so forth, till you reach 65536 of /64.
If you mean that you have in your network only one LAN segment, then just assign one /64 prefix to it from delegated to you /48. Behind your /64 prefix on LAN segment you’ll have a 18*10^18 hosts.
If you want static addresses, you can either:
a) Use external DHCPv6 server.
b) Use SLAAC, Disable Privacy Extensions in connected devices and they will use only autoconfigured IPv6 address based on MAC adress.
c) Configure addresses manually.
And unless you’re going to cut off IPv4 completely, you don’t need to worry about DNS too much. No matter if IPv4 or IPv6 transport is used, any DNS resolver can process both A (IPv4 address) and AAAA (IPv6 address) queries.