Here my configuration (client):
ifconfig tun0:
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.29.0.10 P-t-P:10.29.0.9 Mask:255.255.255.255
bird_ospf.conf (included in bird.conf) :
area 0.0.0.0 {
interface "tun0" {
cost 10;
type ptp;
stub no; hello 10; transmit delay 5; wait 10; dead 40;
neighbors {
10.29.0.1;
}; }; };
tcpdump -v -XX proto ospf -i tun0 (confirmation, that hello messages are sent and received) :
12:59:03.143238 IP (tos 0xc0, ttl 1, id 15765, offset 0, flags [none], proto OSPF (89), length 64)
10.29.0.01 >
224.0.0.5: OSPFv2, Hello, length 44
...
12:59:09.157965 IP (tos 0xc0, ttl 1, id 59599, offset 0, flags [none], proto OSPF (89), length 64)
10.29.0.10 >
224.0.0.5: OSPFv2, Hello, length 44
The server is using similar configuration. It differs only by IP(10.29.0.1) and router-ID.