I'm trying to set up ospf between mikrotik and linux quagga, but I got in mikrotik logs next message:
192.168.10.1 is mikrotik openvpn interface12:57:33 route,ospf,debug RECV: Hello <- 192.168.10.98 on <ovpn-client> (192.168.10.1)
12:57:33 route,ospf,info Discarding Hello packet: mismatch in network mask
12:57:33 route,ospf,info mine=255.255.255.255
12:57:33 route,ospf,info remote=0.0.0.0
12:57:33 route,ospf,info source=192.168.10.98
192.168.10.98 is linux quagga
quagga config:
# cat ospfd.conf# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 1c:6f:65:ca:00:d7 brd ff:ff:ff:ff:ff:ff
inet 192.168.146.187/24 brd 192.168.146.255 scope global eth0
valid_lft forever preferred_lft forever
3: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
link/none
inet 192.168.10.98 peer 192.168.10.1/32 scope global tun0
valid_lft forever preferred_lft forever
Code: Select all
!
! Zebra configuration saved from vty
! 2014/07/03 15:05:08
!
hostname ospfd
password ***
log file /var/log/ospf.log
debug ospf packet all detail
!
!
!
interface eth0
!
interface lo
!
interface tun0
!
router ospf
ospf router-id 192.168.10.100
network 192.168.146.0/24 area 0.0.0.0
network 192.168.10.0/24 area 0.0.0.0
!
line vty
!
Code: Select all
/routing ospf instance
set [ find default=yes ] router-id=192.168.10.1
/routing ospf network
add area=backbone network=172.16.0.0/22
add area=backbone network=192.168.10.0/24
Please help, what's wrong?/ip address
add address=172.16.1.9/22 interface=LAN network=172.16.0.0
add address=xxxxx/30 interface=WAN network=xxxxxx
PS. quagga can see neighbor, but mikrotik can't:
ospfd# show ip ospf neighbor d
Neighbor 192.168.10.1, interface address 192.168.10.1
In the area 0.0.0.0 via interface tun0
Neighbor priority is 1, State is Init, 1 state changes
Most recent state change statistics:
Progressive change 7m41s ago
DR is 192.168.10.1, BDR is 0.0.0.0
Options 0 *|-|-|-|-|-|-|*
Dead timer due in 38.209s
Database Summary List 0
Link State Request List 0
Link State Retransmission List 0
Thread Inactivity Timer on
Thread Database Description Retransmision off
Thread Link State Request Retransmission off
Thread Link State Update Retransmission off