[Olsr-users] OLSRv2 IPv6 default GW
Gabriel
(spam-protected)
Fri Apr 21 05:01:31 CEST 2017
Hello, I'm trying to advertise a public ipv6 gateway on a dual stack
olsrv2 network.
"ninux-vps" is the ipv6 gateway
"ubnt" is a node directly connected with ninux-vps (1 hop)
I've tryed with
[olsrv2]
lan ::\0
and with
[lan_import=wan]
interface wan
in both cases I see the attacched network in netjson and by calling the
command "/olsrv2info lan", however when I check on the other nodes' RTs
I can't find the default route.
this is my topology:
http://ninux-graph.netjson.org/topology/757659ea-7f27-459d-b511-6484a600f815/
on the ipv6 gateway:
(spam-protected):~# echo "/olsrv2info lan" |nc 127.0.0.1 2009
::/0 - 0 ff_dat_metric 2Gbit/s 1 255
10.150.253.0/24 0.0.0.0/0 0 ff_dat_metric 2Gbit/s 1 2
2001:1418:100:507::/64 - 0 ff_dat_metric 2Gbit/s 1 255
on another node:
(spam-protected):~# echo "/olsrv2info route" | nc 127.0.0.1 2009
2001:1418:261::1 fe80::9409:55ff:fe59:eb16 - ::/0 2 254 100 ninux 12 2001:1418:261:1::1 0 ff_dat_metric 981bit/s
(1 hops) 2187008 1
fdc0:ffee:0:9609::1 fe80::a2f3:c1ff:fe48:d9e9 - ::/0 2 254 100 eth1.3 7 2001:1418:261:1::1 0 ff_dat_metric 960bit/s
(1 hops) 2236160 1
fdc0:ffee:0:960d::4 fe80::6822:fdff:fe6f:5375 - ::/0 2 254 100 ninux 12 fe80::e695:6eff:fe40:8dce 0 ff_dat_metric 1020bit/s
(2 hops) 4210176 2
fdc0:ffee:0:9619::1 fe80::a2f3:c1ff:fe48:d9e9 - ::/0 2 254 100 eth1.3 7 fdc0:ffee:0:9609::1 0 ff_dat_metric 921bit/s
(2 hops) 4660736 2
fdc0:ffee:0:9620::1 fe80::a2f3:c1ff:fe48:d9e9 - ::/0 2 254 100 eth1.3 7 fdc0:ffee:0:9609::1 0 ff_dat_metric 989bit/s
(2 hops) 4341248 2
(spam-protected):~# ip -6 r
2001:1418:261::1 via fe80::9409:55ff:fe59:eb16 dev ninux proto 100
metric 2
unreachable 2001:1418:261:1::1 dev lo proto kernel metric 256 error
-128
2001:1418:261:1::/64 dev br0 proto kernel metric 256
fdc0:ffee:0:9609::1 via fe80::a2f3:c1ff:fe48:d9e9 dev eth1.3 proto 100
metric 2
fdc0:ffee:0:960d::4 via fe80::6822:fdff:fe6f:5375 dev ninux proto 100
metric 2
fdc0:ffee:0:9619::1 via fe80::a2f3:c1ff:fe48:d9e9 dev eth1.3 proto 100
metric 2
fdc0:ffee:0:9620::1 via fe80::a2f3:c1ff:fe48:d9e9 dev eth1.3 proto 100
metric 2
fe80::/64 dev eth1 proto kernel metric 256
fe80::/64 dev eth0 proto kernel metric 256
fe80::/64 dev eth1.3 proto kernel metric 256
fe80::/64 dev eth1.2 proto kernel metric 256
fe80::/64 dev ninux proto kernel metric 256
here are the config files:
(spam-protected):~# cat /etc/olsrd2.conf
[global]
plugin auto_ll4
plugin lan_import
[telnet]
bindto 127.0.0.1
port 2009
[olsrv2]
lan 10.150.14.0/24
lan 0.0.0.0/0
[interface=ninux]
[interface=eth1.3]
[interface=lo]
[lan_import=lan]
interface br0
(spam-protected):~# cat /etc/olsrd2.conf
[global]
plugin remotecontrol
plugin lan_import
#pidfile '/var/run/olsrd2.pid'
[telnet]
bindto 127.0.0.1
port 2009
[olsrv2]
lan 10.150.253.0/24
lan ::/0
#[lan_import = tunnel]
# interface sixxs
[remotecontrol]
acl 127.0.0.1
[interface=ninux]
[interface=lo]
Thanks, Gabriel
More information about the Olsr-users
mailing list