Есть 2 роутера (A и B), между ними поднят туннель ipip:
A:
ifconfig tun_A1
tun_A1 Link encap:IPIP Tunnel HWaddr
inet addr:10.10.107.5 P-t-P:10.10.107.6 Mask:255.255.255.252
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1476 Metric:1
RX packets:1784970 errors:0 dropped:0 overruns:0 frame:0
TX packets:1818711 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:137059712 (130.7 MB) TX bytes:172962388 (164.9 MB)
Кусок конфига ospfd.conf:
!
interface tun_A1
ip ospf cost 65
ip ospf hello-interval 2
ip ospf dead-interval 8
!
router ospf
ospf router-id 192.168.5.10
redistribute connected route-map redist-connected
redistribute static route-map redist-static
network 10.10.105.4/30 area 0.0.0.0
network 10.10.106.0/30 area 0.0.0.0
network 10.10.106.4/30 area 0.0.0.0
network 10.10.107.4/30 area 0.0.0.0
!
B:
ifconfig tun_B1
tun_B1 Link encap:IPIP Tunnel HWaddr
inet addr:10.10.107.6 P-t-P:10.10.107.5 Mask:255.255.255.252
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1476 Metric:1
RX packets:1819809 errors:0 dropped:0 overruns:0 frame:0
TX packets:1787356 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:136669645 (130.3 MB) TX bytes:173186323 (165.1 MB)
!
interface tun_B1
ip ospf cost 65
ip ospf hello-interval 2
ip ospf dead-interval 8
!
router ospf
ospf router-id 192.168.9.161
redistribute connected route-map redist-connected
network 10.10.106.0/30 area 0.0.0.0
network 10.10.106.8/30 area 0.0.0.0
network 10.10.107.4/30 area 0.0.0.0
!
Но с роутера B quagga видит A как соседа, а наоборот - нет (причем месяц назад, когда настраивал, все работало). Обнаружилось это когда лег основной канал (OpenVPN через инет):
A:
ospfd# sh ip o i tun_A1
tun_A1 is up
ifindex 174, MTU 1476 bytes, BW 0 Kbit <UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>
Internet Address 10.10.107.5/30, Peer 10.10.107.6, Area 0.0.0.0
MTU mismatch detection:enabled
Router ID 192.168.5.10, Network Type POINTOPOINT, Cost: 65
Transmit Delay is 1 sec, State Point-To-Point, Priority 1
No designated router on this network
No backup designated router on this network
Multicast group memberships: OSPFAllRouters
Timer intervals configured, Hello 2s, Dead 8s, Wait 8s, Retransmit 5
Hello due in 0.057s
Neighbor Count is 0, Adjacent neighbor count is 0
ospfd# sh ip o n
Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL
192.168.6.1 1 Full/DROther 6.840s 10.10.106.6 tun_ovpn2:10.10.106.5 0 0 0
192.168.6.1 1 Full/DR 6.834s 10.10.105.6 vlan104:10.10.105.5 0 0 0
B:
ospfd# sh ip o i tun_B1
tun_B1 is up
ifindex 57, MTU 1476 bytes, BW 0 Kbit <UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>
Internet Address 10.10.107.6/30, Peer 10.10.107.5, Area 0.0.0.0
MTU mismatch detection:enabled
Router ID 192.168.9.161, Network Type POINTOPOINT, Cost: 65
Transmit Delay is 1 sec, State Point-To-Point, Priority 1
No designated router on this network
No backup designated router on this network
Multicast group memberships: OSPFAllRouters
Timer intervals configured, Hello 2s, Dead 8s, Wait 8s, Retransmit 5
Hello due in 0.950s
Neighbor Count is 1, Adjacent neighbor count is 0
ospfd# sh ip o n
Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL
192.168.5.10 1 Init/DROther 6.368s 10.10.107.5 tun_B1:10.10.107.6 0 0 0
Версия quagga: 0.99.9
Если надо другая инфа - спрашивайте - скину.
Буду благодарен за любую помощь.