-- Router 1 ---
interface Tunnel0
ip address 172.17.1.1 255.255.255.0
...
ip ospf network broadcast
...
router ospf 1
log-adjacency-changes
redistribute connected subnets
redistribute static subnets
network 172.17.1.0 0.0.0.255 area 0
network 192.168.255.1 0.0.0.0 area 0
r1#sh ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
192.168.255.5 1 FULL/DR 00:00:02 172.17.1.2 Tunnel0
---Router 2----
router ospf 1
log-adjacency-changes
redistribute connected subnets
redistribute static subnets
network 172.17.1.0 0.0.0.255 area 0
network 192.168.255.2 0.0.0.0 area 0
interface Tunnel0
ip address 172.17.1.2 255.255.255.0
...
ip ospf network broadcast
...
r2#sh ip ospf nei
Neighbor ID Pri State Dead Time Address Interface
192.168.255.1 1 FULL/BDR 00:00:36 172.17.1.1 Tunnel0