Per Jessen wrote:
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
I found a typo - I had "/etc/sysconfig/network/ifroutes-wlan0" instead of "/etc/sysconfig/network/ifroute-wlan0". I see no difference now - with either config file, I don't get an IPv6 address. This is on the nanopis on wifif that I've written about before. I'll try it out on a 15.1 test system, on wired ethernet. -- Per Jessen, Zürich (19.1°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org