簡體   English   中英

EVPN VxLAN 中的路由條目是否可以在不同的 VRF 之間共享?

[英]Can routing entries in EVPN VxLAN be shared between different VRFs?

我在GNS3搭建EVPN VxLAN仿真環境的時候,發現對於SW-1學習到的overlay路由表項和underlay路由表項如下:

測試TOPO

SW-1# show ip route 
Codes:  K - kernel route, C - connected, S - static, B - BGP, O - OSPF
        > - selected route, * - FIB route, q - queued route, r - rejected route, # - not installed in hardware
       Destination                  Gateway                                                Dist/Metric   Uptime      
-------------------------------------------------------------------------------------------------------------------
 C>*   1.1.1.1/32                   Direct                        Loopback0                0/0           00:10:24    
 B>*   2.2.2.2/32                   via 10.1.0.5                  Ethernet8                200/0         00:10:01    
 C>*   10.1.0.4/31                  Direct                        Ethernet8                0/0           00:10:14    
SW-1# 
SW-1# show ip route vrf Vrf01
Codes:  K - kernel route, C - connected, S - static, B - BGP, O - OSPF
        > - selected route, * - FIB route, q - queued route, r - rejected route, # - not installed in hardware
       Destination                  Gateway                                                Dist/Metric   Uptime      
-------------------------------------------------------------------------------------------------------------------
 C>*   192.168.1.0/24               Direct                        Vlan10                   0/0           00:10:05    
 B>*   192.168.2.0/24               via 2.2.2.2                   Vlan30                   200/0         00:10:01 

那么不同VRF之間的路由是否可以共享呢?(192.168.2.0/24 -> 2.2.2.2/32)但是我知道VRF的路由表項是獨立的,不同VRF之間是不能共享的。

在這種情況下,跨 VRF 的遞歸路由查找是否合法?如何解釋?

不,根據定義,VRF 是獨立的,因此它們之間的遞歸查找應該是不可能的。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM