fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#dhcpv6

1 post1 participant0 posts today

#DHCPv6 isch au e Wüsseschaft für sich 😄
Aber die knack ich scho no, schwör!

Jedefalls: Persönleche Iidruck bishär isch, das falsch alles, was me so a Router überchund, sich mal hauptsächlech (au Feature-Mässig) uf IPv4 fokussiert, so das me praktisch zwunge isch, Dual Stack z fahre.
Ich glaube darum, NAT isch cho, um z bliibe - für immer 🙃

IPv6-only, anyone? 😅

[Update: yes, at least on Launtel]

#IPv6 experts, is #DHCPv6 *required* for Prefix Delegation?

My ISP seems to send Router Advertisements with a single address out of a /64 (should that be a /128?), but OpenWrt is sending a DHCPv6 request to get my normal /48

Ha! Great news from #MikroTik #RouterOS changelog. Looks like somebody finally tried to use #DHCPv6 Relay and figured out it was completely useless for DHCP-PD.

7.18
*) dhcpv6-relay - added option to create routes for bindings passing through relay;
7.18.1
*) dhcpv6-relay - clear saved routes on DHCP release;

mikrotik.com/download/changelo

mikrotik.comMikroTikMikroTik makes networking hardware and software, which is used in nearly all countries of the world. Our mission is to make existing Internet technologies faster, more powerful and affordable to wider range of users.

**IPv6 connectivity and Synology Router**

Read it on my blog, it has a nicer image/text layout.

I’m writing this blog post for other users of Telekom SI who wonder ‘How to establish IPv6 connection on Synology RT6600ax router‘?

The issue: which IPv6 mode?

Maybe it is obvious how to setup IPv6 connection for networking professionals, for me it wasn’t. It took me few days before I managed to connect to IPv6.

The story went like this.

  1. Firstly I connected Synology router to the Innobox G92 modem and Telekom support put it in bridge mode (more about wifi mesh issues).
  2. I activated a static IPv4 and IPv6 address in ‘Moj Telekom’ portal.
    • I got IPv6 address in the form of: xxxx:xxx:xxxx:xxxx:0:0:0:0/56
  3. I wanted to activate IPv6 connection (Network center / Internet / IPv6 setup). There were 8 possibilities (Auto, Manual, 6in4, 6to4, DHCPv6-PD, IPv6 relay and FLET’s IPv6 service)
  1. I was puzzled and called Telekom SI support. They had no clue and said it should work automatically. ‘Auto‘ mode in IPv6 setup didn’t work.
  2. I tried to activate it by using ‘Manual‘ mode. I entered the following:
    • IPv6 address: I tried xxxx:xxx:xxxx:xxxx:0:0:0:0 and xxxx:xxx:xxxx:xxxx:0:0:0:1
    • Prefix length: 64
    • Gateway: the number was filled automatically (local modem address I think) fe80: ….
    • Preferred DNS server: left as it was
    • Prefix: I entered the address I got in the form xxxx:xxx:xxxx:xxxx:: (double semicolons at the end) /56

And it worked! But not for long. Next day, modem showed it was connected, but when I checked my IP (https://whatismyipaddress.com/), it didn’t show my IPv6 address and the network behaved strangely. I clicked DHCPv6-PD and then back to ‘manual’ and it worked again. But every day the connection broke and I have to repeat the procedure.

The solution – DHCPv6-PD

Then I read some German and Polish forums and found out they use DHCPv6-PD mode.

I tried it and it works! The SRM user interface behaves very strange – when I switch mode (IPv6 Setup pulldown) to DHPv6 I can not set prefix, DNS server etc. The solution was that I switched to ‘manual’ first, clicked OK, opened the setup again and switched to DHCPv6-PD. Then it worked.

The IPv6 connection is now stable.

Nevertheless, this setup works strange: Every day the router gets a new IPv6 address (DIFFERENT from the assigned static IPv6 range). Maybe because of security or something. But my devices have correct IPv6 addresses (from the assigned range).

Most probably, I just don’t know well enough how IPv6 works.

LAN setup

After establishing IPv6 Internet connection, I enabled IPv6 on my LAN.

Finally I could choose the prefix (xxxx:xxx:xxxx:xxx0-7::). As long as the setup on the ‘Internet’ page was wrong, I couldn’t select the prefix in LAN setup.

I’ve selected ‘Stateless DHCPv6 mode’.

I’ve also set static IPv6 addresses to my 2 Piholes and entered them here.

TL;DR

The good:

At the end, I’ve managed to setup IPv6 connection, it works and I’m already using it. I’ve noticed some minor speedups when accessing some web pages.

The bad:

ISP (Telekom SI) could explain somewhere how to connect to IPv6 in some document or FAQ. And educate its helpdesk support. Basic instructions (like – choose DHCPv6-PD) would be nice.

Synology could improve IPv6 setup menu. As it is currently designed (greyed out input fields that can be changed only when choosing ‘manual’ mode), it is completely illogical to me.

Disclaimer

  1. I don’t promote any products here, neither I receive any compensation to mention them.
  2. I’m no networking professional, I just throw shit at the wall and observe if anything sticks. Feel free to correct me.

Tags: #synology #innobox #ipv6 #telekomsi #DHCPv6-PD

https://blog.rozman.info/ipv6-connectivity-and-synology-router/

Continued thread

Well, seems I was wrong about this.

The #ipv6 assignment happens correctly (through #dhcpv6), but since I'm running #docker inside #lxc, it means that net.ipv6.conf.eth0.forwarding was set to 1 (forwarding enabled), and net.ipv6.conf.eth0.accept_ra was set to 1, which means that it would no longer accept route advertisements because forwarding=1.

Switching that to 2 fixed my ipv6 issue on that particular container.

Oh, that's why me KEA dhcpv6 configuration wasn't working:

1) I'd converted the configuration over from my prior isc-dhcpv6 one.
2) The configuration has some fixed address assignments, specified via duid, but these weren't working.
3) The dhcpv6 'ADVERTISE' message in this case was saying "Server could not select subnet for this client".

It turns out that the example configuration makes NO MENTION of needing an `"interface": "..."` stanza within the `"subnet6"` section. This is to tell the server the network is local and that, yes, it can reach such clients.

#isc#kea#isckea
Replied in thread

@mort #IPv6 doesn't support host-parts shorter than (and prefixes longer than) 64 bits.

Although some routers (e.g. my #FreeBSD VM) can deal with longer prefixes and I'd be perfectly fine for my small network to assign addresses manually and with #dhcpv6, not all devices and systems (e.g. #android) can do that but insist on #SLAAC, which strictly requires a 64bit host part.

In the life of the sysadmin...

1. Notice that #opnsense #dhcpv6 doesn't register dynamic leases in #DNS, only static ones.

2. Figure out you can set up your own DNS server and have it register them for you

3. Learn about #powerdns, be absolutely amazed by it

4. Set everything up, cursing frequently while doing so

5. Getting it all to work, marvel at it's beauty

6. Decide to just stick with static leases since there's too much that could break and while I do have documentation, I don't want to deal with it

7. Tear everything down again.