the original reason to use the gateway metric was to
provide a metric for your isp system that only
uses pd ipv6. so the metric for 2001:xxxx is largely
unpresant. in this system i do not have a metric in
place for 2001:xxxx . this means that since 2001:xxxx
is carried by the carrier address 2601:xxxx , we will
use the gateway to create long distance metric rather
than using a standard route for the more local addresses
of fe80::xxxx and 2601:xxxx .
1. trace the first route name server of the system(comcast)
tracert 2001:558:xxxx:xxxx
this system has 5 nameservers aside from the dns servers
of 2001:558:xxxx(your isp) and 2001:558:(your isp2). assuming that
the first server that is the start of authority is a
practical view of the habits of traffic to use tracert
and is a first step, however using tracert on the other
name servers and not the dns servers could give a better
metric value to the gateway of course averaging is needed.
2. count the used hops of 30 max. in our example and in
our network this was 22 hops. in ipv6 hop metrics can be
very long distance. the default is 1024(gateway). increasing
this number is desireable.
3. (max possible)65535 / 30(max possible hop metric) = 2184.5
4. 22 / 30 = 0.7333...
5. 0.7333... * 2184.5 = 1601.9666...
6. 1601.9666... = 1602(metric)
ip -6 route add default via 2601:204:xxxx dev br0 metric 1602
------------------------------
Adrian Aguinaga
B.S.C.M. I.T.T. Tech
(Construction Management)
A.A.S. I.T.T. Tech
(Drafting & Design)
------------------------------