netdev:

I have the same question as Jan in his original thread:
http://lkml.iu.edu/hypermail/linux/kernel/1108.3/01897.html

If a Linux device has multiple IPv6 default routes (e.g. via eth0 and
wlan0), they all currently have the same metric 1024.

But, wired route is normally preferred. So, it should have a lower metric.

It is my understanding that the kernel currently sets this default
route metric to 1024 when it receives a IPv6 router advertisement on a
link.

Is there any way to control the default route metric value on a
per-interface basis, i.e. router advertisements received on eth0 will
get metric 1024, and router advertisements received on wlan0 will get
metric, say, 1028?

Reply via email to