[opensuse] 42.3 ignoring router priority
With IPv6, there can be multiple default routers on a network and there is a priority setting so that one is favoured over another. However, it appears 42.3 is ignoring that prioriy. Here's the output of ip -6 route, which shows both as medium priority. default via fe80::1:1 dev eth0 proto ra metric 1024 expires 57sec hoplimit 64 pref medium default via fe80::216:17ff:fea7:f2d3 dev vlan3 proto ra metric 1024 expires 48sec hoplimit 64 pref medium However, the router on eth0 is set for high priority and on VLAN 3, low. This has been verified with Wireshark captures. So, why is openSuse ignoring that priority? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
24.10.2017 04:45, James Knott пишет:
With IPv6, there can be multiple default routers on a network and there is a priority setting so that one is favoured over another. However, it appears 42.3 is ignoring that prioriy.
Here's the output of ip -6 route, which shows both as medium priority.
default via fe80::1:1 dev eth0 proto ra metric 1024 expires 57sec hoplimit 64 pref medium default via fe80::216:17ff:fea7:f2d3 dev vlan3 proto ra metric 1024 expires 48sec hoplimit 64 pref medium
Is it full output?
However, the router on eth0 is set for high priority and on VLAN 3, low. This has been verified with Wireshark captures. So, why is openSuse ignoring that priority?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/23/2017 11:22 PM, Andrei Borzenkov wrote:
default via fe80::1:1 dev eth0 proto ra metric 1024 expires 57sec
hoplimit 64 pref medium default via fe80::216:17ff:fea7:f2d3 dev vlan3 proto ra metric 1024 expires 48sec hoplimit 64 pref medium
Is it full output?
No, those are just the relevant lines that show the priority as medium, even though they shouldn't be. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Den 2017-10-24 kl. 03:45, skrev James Knott:
With IPv6, there can be multiple default routers on a network and there is a priority setting so that one is favoured over another. However, it appears 42.3 is ignoring that prioriy.
Are you using Network Manager? -- /bengan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/24/2017 05:06 AM, Bengt Gördén wrote:
Den 2017-10-24 kl. 03:45, skrev James Knott:
With IPv6, there can be multiple default routers on a network and there is a priority setting so that one is favoured over another. However, it appears 42.3 is ignoring that prioriy. Are you using Network Manager?
No. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Den 2017-10-24 kl. 12:59, skrev James Knott:
On 10/24/2017 05:06 AM, Bengt Gördén wrote:
Den 2017-10-24 kl. 03:45, skrev James Knott:
With IPv6, there can be multiple default routers on a network and there is a priority setting so that one is favoured over another. However, it appears 42.3 is ignoring that prioriy. Are you using Network Manager?
No.
I happened to google opensuse and SLAAC and this came up which made me think. https://lists.opensuse.org/opensuse/2013-07/msg00016.html Are you sure you haven't configured something that actually makes RA mark things in /proc things to not be default? Looking at the names of your interfaces it seems that you've been tinkering with things. Not that, that is wrong but it might set things rolling. What does this say: find /proc/sys/net/ipv6/conf/ -name accept_ra_rtr_pref | egrep -e all -e vlan3 -e eth0 -e default | xargs -I % sh -c 'ls -1 %;cat %' -- /bengan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/24/2017 08:15 AM, Bengt Gördén wrote:
No. I happened to google opensuse and SLAAC and this came up which made me
Are you using Network Manager? think. https://lists.opensuse.org/opensuse/2013-07/msg00016.html
Are you sure you haven't configured something that actually makes RA mark things in /proc things to not be default? Looking at the names of your interfaces it seems that you've been tinkering with things. Not that, that is wrong but it might set things rolling.
What does this say: find /proc/sys/net/ipv6/conf/ -name accept_ra_rtr_pref | egrep -e all -e vlan3 -e eth0 -e default | xargs -I % sh -c 'ls -1 %;cat %'
/proc/sys/net/ipv6/conf/all/accept_ra_rtr_pref 1 /proc/sys/net/ipv6/conf/default/accept_ra_rtr_pref 1 /proc/sys/net/ipv6/conf/eth0/accept_ra_rtr_pref 1 /proc/sys/net/ipv6/conf/vlan3/accept_ra_rtr_pref 1 I haven't changed anything in that area. Also, that link is for a completely unrelated topic. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/23/2017 06:45 PM, James Knott wrote:
default via fe80::1:1 dev eth0 proto ra metric 1024 expires 57sec hoplimit 64 pref medium default via fe80::216:17ff:fea7:f2d3 dev vlan3 proto ra metric 1024 expires 48sec hoplimit 64 pref medium
On a different thread, I was told metric rules all. Is this not true for ipv6? I see your metric is the same, which may be why they ignore your priority setting. -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/24/2017 01:44 PM, John Andersen wrote:
On 10/23/2017 06:45 PM, James Knott wrote:
default via fe80::1:1 dev eth0 proto ra metric 1024 expires 57sec hoplimit 64 pref medium default via fe80::216:17ff:fea7:f2d3 dev vlan3 proto ra metric 1024 expires 48sec hoplimit 64 pref medium On a different thread, I was told metric rules all. Is this not true for ipv6? I see your metric is the same, which may be why they ignore your priority setting.
It's a bit different. The priority tells a computer which router to use. An example would be when you have a main ISP and a backup. As long as the main router is up, it should be used. If not, then fall back to the backup. With metric, the assumption is both paths are always up and the lowest cost is preferred. You can see this in a computer with both WiFi and Ethernet connections. The Ethernet connection has a lower metric than WiFi, even though they're both on the same network, connected to the same router. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/24/2017 02:11 PM, James Knott wrote:
On 10/24/2017 01:44 PM, John Andersen wrote:
On 10/23/2017 06:45 PM, James Knott wrote:
default via fe80::1:1 dev eth0 proto ra metric 1024 expires 57sec hoplimit 64 pref medium default via fe80::216:17ff:fea7:f2d3 dev vlan3 proto ra metric 1024 expires 48sec hoplimit 64 pref medium On a different thread, I was told metric rules all. Is this not true for ipv6? I see your metric is the same, which may be why they ignore your priority setting.
It's a bit different. The priority tells a computer which router to use. An example would be when you have a main ISP and a backup. As long as the main router is up, it should be used. If not, then fall back to the backup. With metric, the assumption is both paths are always up and the lowest cost is preferred. You can see this in a computer with both WiFi and Ethernet connections. The Ethernet connection has a lower metric than WiFi, even though they're both on the same network, connected to the same router.
Forgot to mention, the main and backup routers can have entirely different prefixes, whereas the metric refers to different paths for the same addresses. With IPv6, you can have multiple addresses at the same time. So, the priority says to use router A and it's prefix, but switch to B and it's prefix should A fail. Addresses for both will be on the computer's NIC, but only one will actually be used. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Andrei Borzenkov
-
Bengt Gördén
-
James Knott
-
John Andersen