Hi All! I'd like to ask for help with some strange issue. I have a L2TP tunnel between two routers. Both routers are running on bird 1.4.5 and CentOS. L2TP tunnel has /30 addressing. For some strange reason bird does not install next-hop received by BGP: bird> show route 185.61.136.0/22 all 185.61.136.0/22 via 185.11.144.1 on ens1f0 [kiev_rtr 2015-02-12 11:13:17 from 185.61.139.5] * (100/?) [i] Type: BGP unicast univ BGP.origin: IGP BGP.as_path: BGP.next_hop: 185.61.139.5 BGP.local_pref: 100 185.61.139.5 is reachable: [root@tunnel etc]# ping 185.61.139.5 PING 185.61.139.5 (185.61.139.5) 56(84) bytes of data. 64 bytes from 185.61.139.5: icmp_seq=1 ttl=54 time=40.8 ms ^C --- 185.61.139.5 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 40.818/40.818/40.818/0.000 ms [root@tunnel etc]# arp -n 185.61.139.5 Address HWtype HWaddress Flags Mask Iface 185.61.139.5 ether aa:8a:10:bb:91:02 C tun1 Please advice. Thanks! -- Alexander Shikov Technical Staff, Digital Telecom IX
On Thu, Feb 12, 2015 at 11:41:47AM +0200, Alexander Shikov wrote:
Hi All!
I'd like to ask for help with some strange issue. I have a L2TP tunnel between two routers. Both routers are running on bird 1.4.5 and CentOS. L2TP tunnel has /30 addressing.
For some strange reason bird does not install next-hop received by BGP:
bird> show route 185.61.136.0/22 all 185.61.136.0/22 via 185.11.144.1 on ens1f0 [kiev_rtr 2015-02-12 11:13:17 from 185.61.139.5] * (100/?) [i] Type: BGP unicast univ BGP.origin: IGP BGP.as_path: BGP.next_hop: 185.61.139.5 BGP.local_pref: 100
Hi BIRD requires that the next hop is in address range of the interface (one reported by 'ip a l' or 'birdc show interfaces'), just having a device route for the /30 tunnel range is not enough (although it is enough for ping). -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Alexander Shikov -
Ondrej Zajicek