Hello,
AFAIK, this is correct behaviour because JUNOS can only set 0.0.0.0 (meaning self) as "forwarding-address" in Type-5 LSA.
In layman's terms, this is the imaginary OSPF dialog between Branch and Main routers:
- Hey, Main
- Hey, Branch
- Listen, Main, I have a static route pointing to You and I want to let You know that You will receive it with sticker attached that points to me (equivalent of OSPF forwarding-address 0.0.0.0)
- Branch, are You out of Your mind? If I send traffic along Your route with sticker, You then will send it to me! I am not in a mood to play ping-pong today so I don't want Your route!
BTW, it won't be much different if Branch sets OSPF FA not to 0.0.0.0 but to one of Main router addresses.The Main route would not install it anyway.
HTH
Thx
Alex