简体   繁体   English

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

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

When I built the EVPN VxLAN simulation environment in GNS3, I found that the learned overlay routing entries and underlay routing entries are as follows for SW-1:我在GNS3搭建EVPN VxLAN仿真环境的时候,发现对于SW-1学习到的overlay路由表项和underlay路由表项如下:

Test TOPO测试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 

So can routes between different VRFs be shared?(192.168.2.0/24 -> 2.2.2.2/32)But what I know is that the routing entries for VRF are independent and can not be shared between different VRFs.那么不同VRF之间的路由是否可以共享呢?(192.168.2.0/24 -> 2.2.2.2/32)但是我知道VRF的路由表项是独立的,不同VRF之间是不能共享的。

Is recursive routing lookup across VRFs legal in this case and how to explain it?在这种情况下,跨 VRF 的递归路由查找是否合法?如何解释?

No, VRFs, by definition, are independent, so recursive look ups between them should not possible.不,根据定义,VRF 是独立的,因此它们之间的递归查找应该是不可能的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 了解BGP路由 - Understanding BGP routing 两个 VPC 之间的 BGP 协议配置 - BGP Protocol configuration between two VPC BGP NLRI / 可以发送多少前缀 - BGP NLRI / how much prefixes can be sent BGP/TCP 循环:2 个端点如何到达其他端点? - BGP/TCP Circularity: How can 2 endpoints reach it other? 为什么路由信息协议 RIP(距离矢量路由协议)不能使用 Dijkstra 而不是 bellman ford? - Why cant Routing Information Protocol RIP (distance-vector routing protocol) use Dijkstra instead of bellman ford? BGP ASN设计-从同一AS中不同位置通告不同的前缀 - BGP ASN design - advertise different prefixes from different locations in same AS 我可以使用Cloud Router从本地到达私有GKE主端点吗? - Can I use Cloud Router to reach a private GKE master endpoint from on-premises? 不同主机中的 Pod 和服务以及 Pod 之间的 calico 网络连接失败 - calico network connectivity failing between pods and services and pods in different hosts 当一台路由器将整个Internet路由表发送到另一台时会发生什么? 是否将BGP重新分配给IGP - What happens when one router sends whole Internet routing table to another? Is it redistribution of BGP to IGP 具有动态路由的 AWS &lt;-&gt; GCP S2S VPN - 过滤/优先级调整 - AWS <-> GCP S2S VPN with dynamic routing - filtering/priority adjustments
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM