OSPFv3 using Link-Local instead of Global
Stefan Schultheis (home)
stefan at schultheis.at
Sun Apr 22 08:30:21 CEST 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20180422/a4f33693/attachment.html>
More information about the Bird-users
mailing list