Hello,
I am trying to debug an ospf over GRE configuration.
The have the tunnel up an working, and it is possible to exchange traffic
over the tunnel.
We have enabled ospf on both ends, using the tunnel interfaces. The "other end" is not openwrt.
Our end i openwrt. In our end the command trying to show the neighbor router fails.
In the other end it displays as "initializing".
Tcpdumping the helloes we get this
23:26:43.579362 IP (tos 0x0, ttl 58, id 56506, offset 0, flags [DF], proto GRE (47), length 92)
kthgw.sk0bu.amprnet.se > h-155-4-225-195.A444.priv.bahnhof.se: GREv0, Flags [none], length 72
IP (tos 0xc0, ttl 1, id 35620, offset 0, flags [none], proto OSPF (89), length 68)
44.5.7.114 > ospf-all.mcast.net: OSPFv2, Hello, length 48
Router-ID kthgw.sk0bu.amprnet.se, Backbone Area, Authentication Type: none (0)
Options [External]
Hello Timer 10s, Dead Timer 40s, Mask 255.255.255.254, Priority 1
Neighbor List:
44.5.7.115
23:26:43.692541 IP (tos 0x0, ttl 63, id 48718, offset 0, flags [DF], proto GRE (47), length 88)
h-155-4-225-195.A444.priv.bahnhof.se > kthgw.sk0bu.amprnet.se: GREv0, Flags [none], length 68
IP (tos 0xc0, ttl 1, id 36842, offset 0, flags [none], proto OSPF (89), length 64)
44.5.7.115 > ospf-all.mcast.net: OSPFv2, Hello, length 44
Router-ID 44.5.7.115, Backbone Area, Authentication Type: none (0)
Options [External]
Hello Timer 10s, Dead Timer 40s, Mask 0.0.0.0, Priority 1
What differs is that at the openwrt end the Mask is 0.0.0.0, whereas at the other end the Mask is
255.255.255.254 (corresponding to the /31 scope the tunnel adresses have.
The interface in the openwrt end is gre4-kth, and the adresses are 44.5.7.115 Poitopoint 44.5.7.114 netmask 255.255.255.254.
As we have understood, the Mask item should be the network mask of the sender, but in the Hello it displays as 0.0.0.0. , and the Neighbor list is missing.
Do you have any hint of what is wrong here? Ideas how to debug this?
Gullik