Resolve a BGP next-hop with another BGP route
Alarig Le Lay
alarig at swordarmor.fr
Sun Sep 29 20:49:57 CEST 2019
Hello,
It seems that bird can’t resolve the next-hop in that case. But there is
no issue when the next-hop is announced by OSPF.
bird> show route all for 45.91.127.1
Table master4:
45.91.127.0/24 unreachable [ibgp_hv02_ipv4 16:16:24.927 from 89.234.186.40] * (100/-) [i]
Type: BGP univ
BGP.origin: IGP
BGP.as_path:
BGP.next_hop: 89.234.186.116
BGP.local_pref: 100
unreachable [ibgp_nominoe_ipv4 16:01:40.402 from 89.234.186.33] (100/-) [i]
Type: BGP univ
BGP.origin: IGP
BGP.as_path:
BGP.next_hop: 89.234.186.116
BGP.med: 150
BGP.local_pref: 100
BGP.originator_id: 89.234.186.40
BGP.cluster_list: 89.234.186.33
bird> show route all for 89.234.186.116
Table master4:
89.234.186.116/32 unicast [ibgp_hv02_ipv4 16:21:11.352] * (100/0) [i]
via 89.234.186.40 on enp3s0f1.33
Type: BGP univ
BGP.origin: IGP
BGP.as_path:
BGP.next_hop: 89.234.186.40
BGP.local_pref: 100
unicast [ibgp_nominoe_ipv4 16:20:22.754 from 89.234.186.33] (100/0) [i]
via 89.234.186.40 on enp3s0f1.33
Type: BGP univ
BGP.origin: IGP
BGP.as_path:
BGP.next_hop: 89.234.186.40
BGP.med: 150
BGP.local_pref: 100
BGP.originator_id: 89.234.186.40
BGP.cluster_list: 89.234.186.33
But cisco works well:
asbr01#sh ip route 45.91.127.1
Routing entry for 45.91.127.0/24
Known via "bgp 204092", distance 200, metric 150, type internal
Last update from 89.234.186.116 00:07:07 ago
Routing Descriptor Blocks:
* 89.234.186.116, from 89.234.186.40, 00:07:07 ago
Route metric is 150, traffic share count is 1
AS Hops 0
MPLS label: none
asbr01#ping 45.91.127.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 45.91.127.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
asbr01#
asbr01#sh ip route 89.234.186.116
Routing entry for 89.234.186.116/32
Known via "bgp 204092", distance 200, metric 150, type internal
Last update from 89.234.186.40 01:13:29 ago
Routing Descriptor Blocks:
* 89.234.186.40, from 89.234.186.40, 01:13:29 ago
Route metric is 150, traffic share count is 1
AS Hops 0
MPLS label: none
Am I missing something?
Regards,
--
Alarig
More information about the Bird-users
mailing list