Bug#901255: netcfg-static: Unable to configure fe80::1 as a gateway

2018-06-12 Thread Samuel Thibault
Bjørn Mork, le mar. 12 juin 2018 15:19:25 +0200, a ecrit: > Samuel Thibault writes: > > > It's a matter of someone fixing the code. It seems Igor Scheller is > > happy to work on it, he just needs a way forward, not being only told > > that what is currently there is nonsense. > > Well, using

Bug#901255: netcfg-static: Unable to configure fe80::1 as a gateway

2018-06-12 Thread Bjørn Mork
Samuel Thibault writes: > It's a matter of someone fixing the code. It seems Igor Scheller is > happy to work on it, he just needs a way forward, not being only told > that what is currently there is nonsense. Well, using fe80::1 as default gateway would not be a problem if it weren't for the

Bug#901255: netcfg-static: Unable to configure fe80::1 as a gateway

2018-06-12 Thread Samuel Thibault
Bjørn Mork, le mar. 12 juin 2018 14:12:28 +0200, a ecrit: > Samuel Thibault writes: > > Bjørn Mork, le mar. 12 juin 2018 13:30:39 +0200, a ecrit: > >> But this will: > >> > >> frtest3:~# ip route add 2001:db8:f00::1/128 dev eth1 > > > > So this is a route, which can be checked for. > > No, it

Bug#901255: netcfg-static: Unable to configure fe80::1 as a gateway

2018-06-12 Thread Bjørn Mork
Samuel Thibault writes: > Bjørn Mork, le mar. 12 juin 2018 13:30:39 +0200, a ecrit: >> But this will: >> >> frtest3:~# ip route add 2001:db8:f00::1/128 dev eth1 > > So this is a route, which can be checked for. No, it is a route you can safely add. Checking for it is no point. It does not

Bug#901255: netcfg-static: Unable to configure fe80::1 as a gateway

2018-06-12 Thread Samuel Thibault
Bjørn Mork, le mar. 12 juin 2018 13:30:39 +0200, a ecrit: > But this will: > > frtest3:~# ip route add 2001:db8:f00::1/128 dev eth1 So this is a route, which can be checked for. > > which is the point of the test AIUI. > > The test is pointless. There is absolutely no requirement that the >

Bug#901255: netcfg-static: Unable to configure fe80::1 as a gateway

2018-06-12 Thread Bjørn Mork
Samuel Thibault writes: > Bjørn Mork, le mar. 12 juin 2018 10:52:30 +0200, a ecrit: >> Huh? What is this? There is no "gateway must be in subnet" requirement >> in IPv6. The gateway must only be reachable, which means that you must >> be able to resolve the L2 address using ND. > > Before

Bug#901255: netcfg-static: Unable to configure fe80::1 as a gateway

2018-06-12 Thread Samuel Thibault
Igor Scheller, le mar. 12 juin 2018 11:28:58 +0200, a ecrit: > Imho it could be a better option to just configure the interface and > test if something is reachable? "something" is the problem. We do test for reachability of the mirror anyway. But again, checking that there actually is a route

Bug#901255: netcfg-static: Unable to configure fe80::1 as a gateway

2018-06-12 Thread Samuel Thibault
Bjørn Mork, le mar. 12 juin 2018 10:52:30 +0200, a ecrit: > Huh? What is this? There is no "gateway must be in subnet" requirement > in IPv6. The gateway must only be reachable, which means that you must > be able to resolve the L2 address using ND. Before that, you need a route, which is the

Bug#901255: netcfg-static: Unable to configure fe80::1 as a gateway

2018-06-10 Thread Philipp Kern
On 6/10/18 7:25 PM, Samuel Thibault wrote: > Igor Scheller, le dim. 10 juin 2018 18:57:50 +0200, a ecrit: >> When I try to configure fe80::1 (next router) as a gateway in an IPv6 only >> network the installer stops with an "Unreachable gateway" error. >> >> Looking at

Bug#901255: netcfg-static: Unable to configure fe80::1 as a gateway

2018-06-10 Thread Samuel Thibault
Igor Scheller, le dim. 10 juin 2018 18:57:50 +0200, a ecrit: > When I try to configure fe80::1 (next router) as a gateway in an IPv6 only > network the installer stops with an "Unreachable gateway" error. > > Looking at netcfg-common.c:netcfg_gateway_reachable its checked by comparing > bytes.

Bug#901255: netcfg-static: Unable to configure fe80::1 as a gateway

2018-06-10 Thread Igor Scheller
Package: netcfg-static Severity: normal Tags: ipv6 When I try to configure fe80::1 (next router) as a gateway in an IPv6 only network the installer stops with an "Unreachable gateway" error. Looking at netcfg-common.c:netcfg_gateway_reachable its checked by comparing bytes. Imho a better way