Quagga BGP 不宣布从一个邻居到另一个邻居的路由

网络工程 斑驴 bgp-ipv6
2022-03-03 17:23:19

我在宣布从一个 BGP 邻居到另一个邻居的路由时遇到问题 这是我的/etc/quagga/bgpd.conf

router bgp 208xxx
 bgp router-id 78.x.x.x
 neighbor 2001:19f0:ffff::1 remote-as 645xx
 neighbor 2001:19f0:ffff::1 ebgp-multihop 2
 neighbor 2a06:e881:670e:3::2 remote-as 207xxx
!
 address-family ipv6
 neighbor 2001:19f0:ffff::1 activate
 neighbor 2a06:e881:670e:3::2 activate
 network 2a06:e881:6700::/44
 network 2a0f:85c0:910::/44
 neighbor 2001:19f0:ffff::1 prefix-list no-input-v6 in
 neighbor 2001:19f0:ffff::1 prefix-list v-ipv6 out
 neighbor 2a06:e881:670e:3::2 prefix-list no-output out
 neighbor 2a06:e881:670e:3::2 prefix-list announce-c1in in
 exit-address-family
!
ipv6 prefix-list no-input-v6 seq 11 deny ::/0
ipv6 prefix-list v-ipv6 seq 10 permit 2a06:e881:6700::/44
ipv6 prefix-list v-ipv6 seq 11 permit 2a0f:85c0:910::/44
ipv6 prefix-list v-ipv6 seq 12 permit 2a0f:85c0:920::/48
ipv6 prefix-list no-output seq 10 deny ::/0
ipv6 prefix-list announce-c1in seq 10 permit 2a0f:85c0:x::/48

邻居使用他的 AS 向我2a06:e881:670e:3::2宣布。2a0f:85c0:920::/48但是,我希望将路由转发到2001:19f0:ffff::1.

当我跑步时,sh ipv6 bgp neighbors 2001:19f0:ffff::1 advertised-routes我得到了这个:

BGP table version is 0, local router ID is 78.141.208.19
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
              i internal, r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 2a06:e881:6700::/44
                    2001:19f0:5001:65f:5400:2ff:fe3c:7741
                                             0          32768 i
*> 2a0f:85c0:910::/44
                    2001:19f0:5001:65f:5400:2ff:fe3c:7741
                                             0          32768 i

当我跑步时,sh ipv6 bgp 2a0f:85c0:920::/48我得到了这个:

BGP routing table entry for 2a0f:85c0:920::/48
Paths: (1 available, best #1, table Default-IP-Routing-Table)
  Advertised to non peer-group peers:
  2001:19f0:ffff::1
  207xxx
    2a06:e881:670e:3::2 from 2a06:e881:670e:3::2 (192.168.1.144)
    (fe80::xxxx:xxxx:xxxx:xxxx)
      Origin IGP, localpref 100, valid, external, best
      Last update: Wed Dec 18 14:41:18 2019

我在过滤方面做错了吗?还是我在其他地方犯了错误?我已经看了几个小时,但不知道错误是什么。

更新:根据评论的要求,这里是路由表的片段:

Destination                    Next Hop                   Flag Met Ref Use If
::1/128                        ::                         U    256 1     0 lo
2a0f:85c0:910::/44             fe80::e11:8eff:fe12:1401   UG   20  1     0 ens4
fe80::/64                      ::                         U    256 1     0 ens4

上面的 2a0f 路由是从 BGP 学习的。

0个回答
没有发现任何回复~