Serving AFTR name or address to ds-lite client by custom dhcp6 options

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Serving AFTR name or address to ds-lite client by custom dhcp6 options

Robert Senger
Hi there,

I am trying to set up a ds-lite connection between a consumer router box
(FRITZ!Box 7390, very popular here in Germany) and a Linux CGNAT server
running the ISC AFTR software. The box is connected to the server via
ipv6 only wifi.

Generally, the ds-lite tunnel works fine now. However, I need to
configure the remote tunnel endpoint's ipv6 address manually in the
router box.

Documentation on running a ds-lite CGNAT server is quite poor, but I've
found some blogs telling that it should be possible to configure ISC
dhcp server (in v6 mode) to serve the AFTR ipv6 address to a client via
custom DHCP options.

This is the ISC dhcp server configuration I've built from what I've
found in the net:

---snip---

option dhcp6.aftr-name code 64 = domain-name;
option dhcp6.dslite code 54 = ip6-address;

---snip---

subnet6 2001:470:1234:505::/64 {
        option dhcp6.name-servers 2001:470:1234:505:a5:4ff:fe3d:9615;
        option dhcp6.domain-search "mydomain.de";
        option dhcp6.aftr-name mydomain.de;
        option dhcp6.dslite 2001:470:1234:505:a5:4ff:fe3d:9615;

        prefix6 2001:470:1234:5050:: 2001:470:1234:5050:: /64;
}

---snip---

So, I've defined two custom options to serve both the tunnel endpoint's
ip6-address (code 54) and its fqdn (code 64).

However, if I configure the router box to request AFTR information from
dhcpv6, it fails with the error message "wrong coding of aftr fqdn".

In my understanding, the box requests the fqdn (code 64) rather than the
ip address (code 54), but it does not understand the answer it got from
ISC dhcp server.

I also tried this:

option dhcp6.aftr-name code 64 = string;
...
subnet6 2001:470:1234:505::/64 {
         ...
         option dhcp6.aftr-name "mydomain.de";
         ...
}

No luck.

I've googled a lot, but haven't found any example how the "option
dhcp6.aftr-name" should look like to be understood by ds-lite clients.

Any hints?

Cheers,

Robert
 

--
Robert Senger


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: Serving AFTR name or address to ds-lite client by custom dhcp6 options

Robert Senger
Forgot to mention that I am running isc-dhcpd-4.3.1 on Debian.

I discovered that this version already supports the dhcp6.aftr-name
option natively, so I removed the option definition line.

No change.

Still hoping for help... :)

Robert


Am Dienstag, den 30.06.2015, 00:42 +0200 schrieb Robert Senger:

> Hi there,
>
> I am trying to set up a ds-lite connection between a consumer router box
> (FRITZ!Box 7390, very popular here in Germany) and a Linux CGNAT server
> running the ISC AFTR software. The box is connected to the server via
> ipv6 only wifi.
>
> Generally, the ds-lite tunnel works fine now. However, I need to
> configure the remote tunnel endpoint's ipv6 address manually in the
> router box.
>
> Documentation on running a ds-lite CGNAT server is quite poor, but I've
> found some blogs telling that it should be possible to configure ISC
> dhcp server (in v6 mode) to serve the AFTR ipv6 address to a client via
> custom DHCP options.
>
> This is the ISC dhcp server configuration I've built from what I've
> found in the net:
>
> ---snip---
>
> option dhcp6.aftr-name code 64 = domain-name;
> option dhcp6.dslite code 54 = ip6-address;
>
> ---snip---
>
> subnet6 2001:470:1234:505::/64 {
>         option dhcp6.name-servers 2001:470:1234:505:a5:4ff:fe3d:9615;
>         option dhcp6.domain-search "mydomain.de";
>         option dhcp6.aftr-name mydomain.de;
>         option dhcp6.dslite 2001:470:1234:505:a5:4ff:fe3d:9615;
>
>         prefix6 2001:470:1234:5050:: 2001:470:1234:5050:: /64;
> }
>
> ---snip---
>
> So, I've defined two custom options to serve both the tunnel endpoint's
> ip6-address (code 54) and its fqdn (code 64).
>
> However, if I configure the router box to request AFTR information from
> dhcpv6, it fails with the error message "wrong coding of aftr fqdn".
>
> In my understanding, the box requests the fqdn (code 64) rather than the
> ip address (code 54), but it does not understand the answer it got from
> ISC dhcp server.
>
> I also tried this:
>
> option dhcp6.aftr-name code 64 = string;
> ...
> subnet6 2001:470:1234:505::/64 {
>          ...
>          option dhcp6.aftr-name "mydomain.de";
>          ...
> }
>
> No luck.
>
> I've googled a lot, but haven't found any example how the "option
> dhcp6.aftr-name" should look like to be understood by ds-lite clients.
>
> Any hints?
>
> Cheers,
>
> Robert
>  
>

--
Robert Senger


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users