Using OSFP with Zerotier causes periodic packet loss .

Started by crash, October 06, 2023, 11:50:18 PM

Previous topic - Next topic
so I have successfully setup a zerotier site to site connection between two opnsense boxes .
by setting a static route the tunnel works fine however if I enable osfp, both routers see each other and exchange routing info But the link times out periodically.
like this:


and its pretty much unusable.

I kept digging but could find anything on ospf logs or firewall logs.

here is the ospf conf:

siteA:

Current configuration:
!
frr version 8.5.3
frr defaults traditional
hostname siteA.*
log syslog
!
interface lo0
....(all interfaces except zt set as passive)

exit
!
interface zt********
ip ospf area 172.25.0.0
ip ospf network point-to-point
exit
!
router ospf
ospf router-id 10.0.1.1
redistribute connected
exit
!
end

SiteB:
Current configuration:
!
frr version 8.5.3
frr defaults traditional
hostname siteB.*
log syslog notifications
!

interface lo0
....(all interfaces except zt set as passive)

exit
!
interface zt*******
ip ospf area 172.25.0.0
ip ospf network point-to-point
exit
!
router ospf
ospf router-id 10.1.1.1
redistribute connected
exit
!
end


note:
I have set routes to internal lan nets on zt website. (so 172.25.0.1 is the gateway to siteA lan and 172.25.0.2 is the gateway to siteB lan)
zt conf :



what could cause this?
it seems ospf distributes wrong routes, tunnel times out, gets reconnected, and the cycle continues.

I am facing the same issue, I need to restart Zerotier to make it work again, did you find a solution?