> Hm, could it be that your DHCP6 server does advertise a default route?
This is the DHCPv6 lease I get from the router when I use "dhcp" in the
/etc/network/interfaces file:
---------------------------------------------------------------
default-duid "\000\001\000\001\036c8><J\222\000L[";
lease6 {
interface "bond0";
ia-na 92:00:4c:5b {
starts 1456503744;
renew 43200;
rebind 69120;
iaaddr 2001:470:71:1234::924 {
starts 1456503744;
preferred-life 4294967295;
max-life 4294967295;
}
}
option dhcp6.client-id 0:1:0:1:1e:63:38:3e:3c:4a:92:0:4c:5b;
option dhcp6.server-id 0:3:0:1:c4:6e:1f:95:ef:fe;
option dhcp6.reconf-accept;
option dhcp6.solmax-rt 60;
option dhcp6.name-servers fe80::c66e:1fff:fe95:effe;
option dhcp6.domain-search "mhouse.lh.";
option dhcp6.unknown-11
3:1:0:56:d0:7b:c0:0:0:0:7:1:c3:10:a5:af:ca:92:9f:d0:42:35:99:d9:85:56:aa:45;
}
---------------------------------------------------------------
It's just my home router, and I have OpenWRT CC installed on it. I'm using 6in4
tunnel on the router, and in this way I have IPv6 addresses on the hosts in the
home network.
> This is documented in interfaces(5). The reason is that in general, when
> forwarding is enabled, you are a router, in which case it is more likely
> that you want to set your own gateway route than to have one assigned by
> DHCP. But you can change it in /etc/network/interfaces like this:
>
> iface bond0 inet6 dhcp
> accept_ra 2
Thanks for the this!
> That begs the question though: could it be that you are getting your
> IPv6 address via DHCP, but the IPv6 gateway via router advertisements?
> To me that is a very strange situation.
I think that's the case. In the lease above, there's just the IPv6 address. I'm
configuring the IPv6 for the very first time, so I don't know all the things
yet.
signature.asc
Description: OpenPGP digital signature

