I found that it is not really working as expected. To follow up what Im facing, consider the following: At Mikrotik side, nothing special. I just put up a router id and added the interface facing Junos unde routing/ospfv3/interfaces. At Junos side, please have a look at this policy below (the IPv6 one come from Juniper support).
The thing Im facing is:
1-Restart Junos, ROS IPv6 route list show only the /127;
2-Issue "delete protocols ospf3 area 0.0.0.0 interface lo0.0" then commit, ROS IPv6 route list show the /128s but NOT the /127;
3-Issue "set protocols ospf3 area 0.0.0.0 interface lo0.0" then commit, ROS IPv6 route list show both the /128s and the /127;
4-Restart Junos, ROS IPv6 route list show only the /127; (repeat step 2 and 3 to get all things working till next Junos restart)
Very ODD.
Code: Select all
admin@MYJUNIPER# show interfaces lo0
unit 0 {
family inet {
address x.x.x.2/32;
address x.x.x.254/32;
address x.x.x.20/32;
address x.x.x.13/32;
}
family inet6 {
address x:x::2/128;
address x:x::13/128;
address x:x::20/128;
address x:x:0:3::254/128;
address x:x:0:df::2/127;
}
}
admin@MYJUNIPER# show protocols ospf
export OSPF-OUT;
area 0.0.0.0 {
interface lo0.0 {
passive;
}
interface ge-1/1/9.0;
interface ge-1/1/1.0;
interface ge-1/1/2.0;
interface ge-1/1/3.0;
interface ge-1/1/4.0;
interface ge-1/0/2.0;
}
admin@MYJUNIPER# show protocols ospf3
export OSPF-OUT-V6;
area 0.0.0.0 {
interface ge-1/0/2.0;
interface ge-1/1/1.0;
interface ge-1/1/2.0;
interface ge-1/1/3.0;
interface ge-1/1/4.0;
interface ge-1/1/9.0;
interface lo0.0;
}
admin@MYJUNIPER# show policy-options policy-statement OSPF-OUT
term 1 {
from {
protocol direct;
route-filter 172.25.3.0/30 exact;
}
then reject;
}
term 2 {
from protocol direct;
then {
external {
type 1;
}
accept;
}
}
term 3 {
from {
protocol static;
route-filter 0.0.0.0/0 orlonger;
}
then {
external {
type 1;
}
accept;
}
}
admin@MYJUNIPER# show policy-options policy-statement OSPF-OUT-V6
term 1 {
from protocol direct;
then {
external {
type 1;
}
}
}
term 2 {
from {
protocol direct;
rib inet6.0;
route-filter 0::0/0 prefix-length-range /128-/128;
}
then {
external {
type 1;
}
accept;
}
}
term 3 {
from {
protocol static;
route-filter 0::0/0 orlonger;
}
then {
external {
type 1;
}
accept;
}
}