![](https://seccdn.libravatar.org/avatar/7891b1b1a5767f4b9ac1cc0723cebdac.jpg?s=120&d=mm&r=g)
Andrei Borzenkov wrote:
On Thu, Apr 18, 2019 at 12:18 PM Per Jessen <per@computer.org> wrote:
I've always used /etc/sysconfig/network/routes for configuring static routes (unless set up by dhcp). Yesterday I added a default ipv6 route to /etc/sysconfig/network/routes, and this seem to prevent the machine from even getting an ipv6 address. I moved the default route to /etc/sysconfig/network/ifroute-wlan0 instead, and then it worked.
I'm just being curious, either solution is good.
My understanding is that the only difference is, each line in ifroute-$interface implicitly gets dev argument while lines in global routes are interpreted "as is". Whether it can have described effect I do not know, but if route is link scope address, it must be qualified with interface.
The route is fe80::1 and the device (wlan0) is specified too, in both. # cat ifroute-wlan0 default fe80::1 - wlan0 /Per -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org