EVPN MAC 广告路由未安装到 L2 转发表

网络工程 杜松 evpn
2021-07-06 04:52:39

我有一个基于 VLAN 的 EVPN,它根据第一天:将以太网 VPN 用于数据中心互连一书中描述的网络拓扑连接实验室环境中的两个站点

EVPN 测试设置

出于某种原因,看起来来自远程 PE 的 MAC 通告路由没有安装到mac-table本地 PE 的。例如,存在一种用于MAC地址的路由fe:86:dd:0e:ff:f3EVPN-1.evpn.0表中:

2:11.11.11.11:1::100::fe:86:dd:0e:ff:f3/304 MAC/IP (1 entry, 1 announced)
        *BGP    Preference: 170/-101
                Route Distinguisher: 11.11.11.11:1
                Next hop type: Indirect, Next hop index: 0
                Address: 0xcf04ff0
                Next-hop reference count: 35
                Source: 1.1.1.1
                Protocol next hop: 11.11.11.11
                Indirect next hop: 0x2 no-forward INH Session ID: 0x0
                State: <Secondary Active Int Ext>
                Local AS: 65000 Peer AS: 65000
                Age: 15:11:12   Metric2: 2
                Validation State: unverified
                Task: BGP_65000.1.1.1.1+179
                Announcement bits (1): 0-EVPN-1-evpn
                AS path: I  (Originator)
                Cluster list:  1.1.1.1
                Originator ID: 11.11.11.11
                Communities: target:65000:1
                Import Accepted
                Route Label: 299888
                ESI: 00:11:11:11:11:11:11:11:11:11
                Localpref: 100
                Router ID: 1.1.1.1
                Primary Routing Table bgp.evpn.0
                Indirect next hops: 1
                        Protocol next hop: 11.11.11.11 Metric: 2
                        Indirect next hop: 0x2 no-forward INH Session ID: 0x0
                        Indirect path forwarding next hops: 1
                                Next hop type: Router
                                Next hop: 10.21.1.1 via ge-0/0/5.0
                                Session Id: 0x0
                                11.11.11.11/32 Originating RIB: inet.3
                                  Metric: 2     Node path count: 1
                                  Forwarding nexthops: 1
                                        Nexthop: 10.21.1.1 via ge-0/0/5.0
                                        Session Id: 0

我希望fe:86:dd:0e:ff:f3在设置mac-table了标志R(远程 PE MAC)的本地 PE 中看到 MAC 地址,但它不存在:

root@PE21> show evpn mac-table

MAC flags       (S -static MAC, D -dynamic MAC, L -locally learned, C -Control MAC
    O -OVSDB MAC, SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC, P -Pinned MAC)

Routing instance : EVPN-1
 Bridging domain : __EVPN-1__, VLAN : 100
   MAC                 MAC      Logical          NH     MAC         active
   address             flags    interface        Index  property    source
   fe:96:dd:0e:ff:f4   D        ae0.100

root@PE21>

本地 PE( PE21) 和远程 PE( PE11)上的 EVPN 配置如下所示:

root@PE21> show configuration routing-instances EVPN-1
instance-type evpn;
vlan-id 100;
interface ae0.100;
routing-interface irb.100;
route-distinguisher 21.21.21.21:1;
vrf-target target:65000:1;
protocols {
    evpn {
        default-gateway do-not-advertise;
    }
}

root@PE21>


root@PE11> show configuration routing-instances EVPN-1
instance-type evpn;
vlan-id 100;
interface ae0.100;
routing-interface irb.100;
route-distinguisher 11.11.11.11:1;
vrf-target target:65000:1;
protocols {
    evpn {
        default-gateway do-not-advertise;
    }
}

root@PE11>

本地CE端口配置如下:

root@CE20> show configuration interfaces ae0
aggregated-ether-options {
    lacp {
        active;
        periodic fast;
    }
}
unit 0 {
    family bridge {
        interface-mode trunk;
        vlan-id-list [ 100 200 201 202 222 ];
    }
}

root@CE20>

什么可能导致这种行为?

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