Есть клиент-серверная сеть OpenVPN на tun-интерфейсах. Хочется поднять на ней ospf.
Поднял ospfd на сервере и на клиенте:
hostname host1/2
password zebra
enable password zebra
router ospf
network 192.168.111.0/24 area 0
log file /var/log/quagga/ospfd.log
# sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL
192.168.111.1 1 Init/DROther 38.248s 192.168.111.1 tun0:192.168.111.6 0 0 0
# tcpdump -i tun0 'proto ospf'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tun0, link-type RAW (Raw IP), capture size 65535 bytes
00:17:39.094734 IP 192.168.111.1 > ospf-all.mcast.net: OSPFv2, Hello, length 44
00:17:44.298262 IP 192.168.111.6 > ospf-all.mcast.net: OSPFv2, Hello, length 48
^C
2 packets captured
2 packets received by filter
0 packets dropped by kernel