Is there any counterpart to the script variable “gateway-address” from IPv4 dhcp-client in the IPv6 dhcp-client?
I would like to setup routing tables but the “options” variable does not contain the gateway nor does the variable “gateway-address” exist in IPv6 dhcp-client.
In IPv6 gateway is not advertised via DHCPv6, non-routers configure it via ICMPv6 Router Advertisement messages. Of course your ISP may give you alternative instructions such as “treat DHCPv6 server address as a default gateway”, but you should not default to this.