DMVPN Phase 1 EIGRP Routing

Hi Rene,
Could you please check the exact cause of this error. getting following error in spoke router.

*Dec 14 11:56:50.720: %DUAL-5-NBRCHANGE: EIGRP-IPv4 45678: Neighbor 123.20.1.25 (Tunnel0) is down: Peer Termination received
*Dec 14 11:56:54.320: %DUAL-5-NBRCHANGE: EIGRP-IPv4 45678: Neighbor 123.20.1.25 (Tunnel0) is up: new adjacency
*Dec 14 11:56:54.364: %ADJ-5-PARENT: Midchain parent maintenance for IP midchain out of Tunnel0, addr 123.20.1.25 - looped chain attempting to stack”

Topology:
Hub-----------------------ISP(AS20003)------------------------Spoke

Requirement is Spoke should use eigrp default route learned from hub not the ISP(BGP) default route. So i used distance for bgp default route. Actually bgp and eigrp configured first then tunnel configured. As soon as i configured the tunnel eigrp neig starts flapping and getting the error. The weird thing is if i delete the distance command from bgp configuration then eigrp neighborship gets stable and then if i put the distance command again it does not cause any issue even if i clear bgp and eigrp neighborship. I am using IOU. is it bug of IOU ?? Please advise.

HUB:
==================================================
interface Tunnel0
 ip address 123.20.1.25 255.255.255.248
 tunnel source Ethernet0/0
 tunnel mode gre multipoint
 ip nhrp map multicast dynamic
 ip nhrp network-id 45678

 ip nhrp redirect 
 bandwidth 1000
 ip nhrp holdtime 300
 ip nhrp authentication 45678key
 ip mtu 1400
 ip tcp adjust-mss 1380
 delay 1000
 no ip next-hop-self eigrp 45678
 no ip split-horizon eigrp 45678
 ip pim sparse-mode

access-list 1 permit 0.0.0.0

router bgp 45678
 bgp router-id 123.17.17.17
 bgp log-neighbor-changes
 neighbor 203.3.17.1 remote-as 20003
 !
 address-family ipv4
  neighbor 203.3.17.1 activate
  distance 171 203.3.17.1 0.0.0.0 1
 exit-address-family

router eigrp CCIE
 !
 address-family ipv4 unicast autonomous-system 45678
af-interface Tunnel0
   authentication mode hmac-sha-256 cisco
   authentication key-chain CCIE
  exit-af-interface
network 123.17.17.17 0.0.0.0
  network 123.20.1.10 0.0.0.0
  network 123.20.1.18 0.0.0.0
  network 123.20.1.25 0.0.0.0
 exit-address-family

R17(config)#do sir
D*EX  0.0.0.0/0 [170/1075200] via 123.20.1.9, 01:51:22, Ethernet0/2
      1.0.0.0/32 is subnetted, 1 subnets
B        1.2.3.4 [20/0] via 203.3.17.1, 01:50:56

R17(config)#do sh ip bg
r>  0.0.0.0          203.3.17.1                             0 20003 30000 i
 *>  1.2.3.4/32       203.3.17.1                             0 20003 30000 i





Spoke:
===========================================
interface Tunnel0
 bandwidth 1000
 ip address 123.20.1.26 255.255.255.248
 no ip redirects
 ip mtu 1400
 ip pim sparse-mode
 ip nhrp authentication 45678key
 ip nhrp map multicast 203.3.17.2
 ip nhrp map 123.20.1.25 203.3.17.2
 ip nhrp network-id 45678
 ip nhrp holdtime 300
 ip nhrp nhs 123.20.1.25
 ip nhrp shortcut
 ip tcp adjust-mss 1380
 delay 1000
 tunnel source Serial1/0
 tunnel mode gre multipoint
end

router bgp 65222
 bgp router-id 123.19.19.19
 bgp log-neighbor-changes
 neighbor 203.3.19.1 remote-as 20003
 !
 address-family ipv4
  neighbor 203.3.19.1 activate
  distance 171 203.3.19.1 0.0.0.0 1
 exit-address-family


router eigrp CCIE
 !
 address-family ipv4 unicast autonomous-system 45678
  !
  af-interface Tunnel0
   authentication mode hmac-sha-256 cisco
   authentication key-chain CCIE
  exit-af-interface
  !
  topology base
  exit-af-topology
  network 10.1.19.1 0.0.0.0
  network 123.19.19.19 0.0.0.0
  network 123.20.1.27 0.0.0.0
  eigrp stub connected summary
 exit-address-family


R19#sir
D*EX  0.0.0.0/0 [170/10803200] via 123.20.1.25, 00:33:42, Tunnel0
      1.0.0.0/32 is subnetted, 1 subnets
B        1.2.3.4 [20/0] via 203.3.19.1, 00:33:50

R19#sh ip bg
    Network          Next Hop            Metric LocPrf Weight Path
 r>  0.0.0.0          203.3.19.1                             0 20003 30000 i