Hi, On Thu, Feb 09, 2012 at 03:49:11PM +1300, Michal Ludvig wrote: > I'm used to pushing route options to the clients with explicit metrics. > That works good for IPv4 with e.g.: > push "route 192.168.128.0 255.255.240.0 vpn_gateway 200" > > However route-ipv6 doesn't accept the 'vpn_gateway' keyword and > therefore I can't easily set a metric.
If all your clients are Linux or Windows, you can "sort of" do that today already with 'push "route-ipv6"', specifying an arbitrary (but valid) IPv6 address as gateway address: push "route-ipv6 2001:db8::/48 2001::1 200" This is a side effect of the way we currently install IPv6 routes on platforms that can do "route to interface" - the route always points to the "tun" interface, and the gateway spec is not used. "metric" for IPv6 routes is currently implemented and tested on Linux, but not on any other platform yet. What client platforms do you need this for? gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
pgpcbgOvo1LHN.pgp
Description: PGP signature