OSPFv3 using Link-Local instead of Global
Hi, it's not a problem as everything works, but I see that OSPFv3 does adjecencies via Link-Local addresses (fe80) instead of global routed ones: $ birdc6 show ospf neigh BIRD 1.6.3 ready. ospf1: Router ID Pri State DTime Interface Router IP 78.xxx.yyy.37 1 Full/PtP 00:17 enp1s0.503 fe80::202:c9ff:fe52:2776 78.xxx.yyy.36 1 Full/PtP 00:19 enp1s0.508 fe80::202:c9ff:fe10:f084 Also, routing in Kernel is using link local address: $ netstat -nr -A inet6 | grep 2a00:11c0 2a00:11c0:47:3::2a/127 fe80::202:c9ff:fe52:2776 UG 1024 2 50 enp1s0.503 Does anyone have a hint on how to easily make it use the global scope IPs instead of Link Local? I don't want to explicitely name IPs in the config if this can be avoided... The config file is as simple as can be: protocol ospf { import all; export all; area 0 { interface "lo" { cost 5; hello 5; retransmit 2; wait 10; dead 20; }; interface "enp1s0.503" { cost 5; type pointopoint; hello 5; retransmit 2; wait 10; dead 20; }; interface "enp1s0.508" { cost 1000; type pointopoint; hello 5; retransmit 2; wait 10; dead 20; }; }; } Thank you! LgS
Why do you need to change it? This is how OSPFv3 is supposed to work - https://tools.ietf.org/html/rfc5340#page-7 On Sun, 22 Apr 2018 at 02:36, Stefan Schultheis (home) <stefan@schultheis.at> wrote:
Hi,
it's not a problem as everything works, but I see that OSPFv3 does adjecencies via Link-Local addresses (fe80) instead of global routed ones:
$ birdc6 show ospf neigh BIRD 1.6.3 ready. ospf1: Router ID Pri State DTime Interface Router IP 78.xxx.yyy.37 1 Full/PtP 00:17 enp1s0.503 fe80::202:c9ff:fe52:2776 78.xxx.yyy.36 1 Full/PtP 00:19 enp1s0.508 fe80::202:c9ff:fe10:f084
Also, routing in Kernel is using link local address: $ netstat -nr -A inet6 | grep 2a00:11c0 2a00:11c0:47:3::2a/127 fe80::202:c9ff:fe52:2776 UG 1024 2 50 enp1s0.503
Does anyone have a hint on how to easily make it use the global scope IPs instead of Link Local? I don't want to explicitely name IPs in the config if this can be avoided...
The config file is as simple as can be: protocol ospf { import all; export all;
area 0 { interface "lo" { cost 5; hello 5; retransmit 2; wait 10; dead 20; };
interface "enp1s0.503" { cost 5; type pointopoint; hello 5; retransmit 2; wait 10; dead 20; };
interface "enp1s0.508" { cost 1000; type pointopoint; hello 5; retransmit 2; wait 10; dead 20; }; }; }
Thank you!
LgS
participants (2)
-
Darren O'Connor -
Stefan Schultheis (home)