Sorry for the silly question , but I could not figure it out and I am pretty confused buy the informations I ha found around…
Goal: use Ospf between two routers (Hax3 and ac3) connected via wire guard.
Issue: I can’t get any neighbour in each routers
Software: router is 7.10.1
Site 1 is an ac3 behind a cable modem and connects to site 2 (ddns public ip, vdsl2 modem, wire guard port forwarded to hax3)
Site 1:
Code: Select all
/ip addres
add address=192.168.100.1/24 interface=LAN network=192.168.100.0
add address=192.168.2.2/24 interface=wg1 network=192.168.2.0
add address=10.0.0.2/24 interface=lo0 network=10.0.0.0
/routing id
add id=10.0.0.2 name=id-1
/routing ospf instance
add disabled=no name=ospf1
/routing ospf area
add disabled=no instance=ospf1 name=backbone
/routing ospf interface-template
add area=backbone disabled=no interfaces=lo0,LAN,wg1 networks=\
10.0.0.0/24,192.168.100.0/24,192.168.2.0/24
/ip firewall filter add action=accept chain=input protocol=ospf
Code: Select all
ip address
add address=192.168.5.125/24 interface=bridge network=192.168.5.0
add address=192.168.2.1/24 interface=wg1 network=192.168.2.0
add address=10.0.0.1/24 interface=lo0 network=10.0.0.0
/routing id
add id=10.0.0.1 name=id-1
/routing ospf instance
add disabled=no name=ospf1
/routing ospf area
add disabled=no instance=ospf1 name=backbone
/routing ospf interface-template
add area=backbone disabled=no interfaces=lo0,LAN,wg1 networks=\
192.168.5.0/24,10.0.0.0/24,192.168.2.0/24
/ip firewall filter add action=accept chain=input protocol=ospf
Site 1 lan is 192.168.100.0/24 (2 more lans in the future)
Site 2 lan is 192.168.5.0/24 (2 more lans in the future)
Wireguard is 192.168.2.0/24 (more rad warrior clients in the future)
I can Ping both routers wg1 ip address over wireguard.
/routing Ospf neighbours prints show no data
/ip route print shows no routes learned through Ospf.
I suppose that I might have missed some basic points…
Any suggestion will be very appreciated
Thanks
Giuliano