(继续上一篇的5、结果验证)
5.3、同网段,不同Leaf服务器Ping测试

执行操作:172.16.1.10 Ping 172.16.1.20,并在Leaf1连Spine1端口抓包。
在Serv1上执行 Ping 172.16.1.20
PC>ping 172.16.1.20
Ping 172.16.1.20: 32 data bytes, Press Ctrl_C to break
From 172.16.1.10: Destination host unreachable
From 172.16.1.10: Destination host unreachable
From 172.16.1.10: Destination host unreachable
From 172.16.1.10: Destination host unreachable
From 172.16.1.10: Destination host unreachable
如果Ping不通,可能是ENSP bug,此时重新配置业务接入点的bridge-domain,可以解决:
#
[Leaf2]int g1/0/1.3
[Leaf2-GE1/0/1.3]undo bri
[Leaf2-GE1/0/1.3]undo bridge-domain
[Leaf2-GE1/0/1.3]bri
[Leaf2-GE1/0/1.3]bridge-domain 300
[Leaf2-GE1/0/1.3]
再次执行Ping操作,可以Ping通。
PC>ping 172.16.1.20
Ping 172.16.1.20: 32 data bytes, Press Ctrl_C to break
From 172.16.1.20: bytes=32 seq=1 ttl=128 time=78 ms
From 172.16.1.20: bytes=32 seq=2 ttl=128 time=79 ms
From 172.16.1.20: bytes=32 seq=3 ttl=128 time=62 ms
From 172.16.1.20: bytes=32 seq=4 ttl=128 time=47 ms
From 172.16.1.20: bytes=32 seq=5 ttl=128 time=62 ms
观察网络状态:
Serv1有远端地址mac信息:
PC>arp -a
Internet Address Physical Address Type
172.16.1.20 54-89-98-E3-2A-D7 dynamic
Leaf1上:
bridge-domain 100有相关mac信息:
[Leaf1]dis mac-address bridge-domain 100
Flags: * - Backup
BD : bridge-domain Age : dynamic MAC learned time in seconds
-------------------------------------------------------------------------------
MAC Address VLAN/VSI/BD Learned-From Type Age
-------------------------------------------------------------------------------
5489-98b3-20fb -/-/100 GE1/0/1.1 dynamic -
5489-98e3-2ad7 -/-/100 30.30.30.30 dynamic -
5489-98b3-20fb -/-/100 GE1/0/1.1 dynamic -
5489-98e3-2ad7 -/-/100 30.30.30.30 dynamic -
-------------------------------------------------------------------------------
Total items: 4
但BGP EVPN没有相关mac的学习信息,
通过Wireshark查看,没有BGP Update信息。
Leaf1 bgp evpn mac route没有变化:
[Leaf1]dis bgp evpn all routing-table mac-route
Local AS number : 100
BGP Local router ID is 2.2.2.2
Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
EVPN address family:
Number of Mac Routes: 2
Route Distinguisher: 20:1
Network(EthTagId/MacAddrLen/MacAddr/IpAddrLen/IpAddr) NextHop
*> 0:48:0001-0001-0001:0:0.0.0.0 0.0.0.0
Route Distinguisher: 30:1
Network(EthTagId/MacAddrLen/MacAddr/IpAddrLen/IpAddr) NextHop
*>i 0:48:0001-0001-0001:0:0.0.0.0 30.30.30.30
EVPN-Instance 100:
Number of Mac Routes: 2
Network(EthTagId/MacAddrLen/MacAddr/IpAddrLen/IpAddr) NextHop
*> 0:48:0001-0001-0001:0:0.0.0.0 0.0.0.0
* i 30.30.30.30
[Leaf1]
Leaf1上的bgp evpn prefix-route也没有变化:
[Leaf1]dis bgp evpn all routing-table prefix-route
Local AS number : 100
BGP Local router ID is 2.2.2.2
Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
EVPN address family:
Number of Ip Prefix Routes: 8
Route Distinguisher: 200:1
Network(EthTagId/IpPrefix/IpPrefixLen) NextHop
*> 0:172.16.1.0:24 0.0.0.0
*> 0:10.10.10.0:24 0.0.0.0
*> 0:172.16.1.1:32 0.0.0.0
*> 0:10.10.10.1:32 0.0.0.0
Route Distinguisher: 300:1
Network(EthTagId/IpPrefix/IpPrefixLen) NextHop
*>i 0:172.16.1.0:24 30.30.30.30
*>i 0:172.16.1.1:32 30.30.30.30
Route Distinguisher: 400:1
Network(EthTagId/IpPrefix/IpPrefixLen) NextHop
*>i 0:182.1.1.0:24 40.40.40.40
*>i 0:182.1.1.1:32 40.40.40.40
EVPN-Instance __RD_1_200_1__:
Number of Ip Prefix Routes: 8
Network(EthTagId/IpPrefix/IpPrefixLen) NextHop
*>i 0:182.1.1.0:24 40.40.40.40
*> 0:172.16.1.0:24 0.0.0.0
* i 30.30.30.30
*> 0:10.10.10.0:24 0.0.0.0
*>i 0:182.1.1.1:32 40.40.40.40
*> 0:172.16.1.1:32 0.0.0.0
* i 30.30.30.30
*> 0:10.10.10.1:32 0.0.0.0
[Leaf1]
所以,单纯从ENSPLAB观察,同网段Ping通,完全依靠数据平面arp完成,控制平面的BGP EVPN没有触发任何动作(没有update,没有mac学习)。
因为同网段Ping,并不解析网关地址,所以没有触发bgp evpn控制平面学习。
5.4、不同网段,同一Leaf下服务器Ping测试
(Leaf1 GE1/0/0 wireshark抓包)

1、Ping之前检查Leaf1的evpn prefix-route(type 5):
[~Leaf1]dis bgp evpn all routing-table prefix-route
Local AS number : 100
BGP Local router ID is 2.2.2.2
Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
EVPN address family:
Number of Ip Prefix Routes: 8
Route Distinguisher: 200:1
Network(EthTagId/IpPrefix/IpPrefixLen) NextHop
*> 0:172.16.1.0:24 0.0.0.0
*> 0:10.10.10.0:24 0.0.0.0
*> 0:172.16.1.1:32 0.0.0.0
*> 0:10.10.10.1:32 0.0.0.0
Route Distinguisher: 300:1
Network(EthTagId/IpPrefix/IpPrefixLen) NextHop
*>i 0:172.16.1.0:24 30.30.30.30
*>i 0:172.16.1.1:32 30.30.30.30
Route Distinguisher: 400:1
Network(EthTagId/IpPrefix/IpPrefixLen) NextHop
*>i 0:182.1.1.0:24 40.40.40.40
*>i 0:182.1.1.1:32 40.40.40.40
EVPN-Instance __RD_1_200_1__:
Number of Ip Prefix Routes: 8
Network(EthTagId/IpPrefix/IpPrefixLen) NextHop
*>i 0:182.1.1.0:24 40.40.40.40
*> 0:172.16.1.0:24 0.0.0.0
* i 30.30.30.30
*> 0:10.10.10.0:24 0.0.0.0
*>i 0:182.1.1.1:32 40.40.40.40
*> 0:172.16.1.1:32 0.0.0.0
* i 30.30

这篇博客详细记录了在ENSP环境中使用EVPN路由协议进行网络通信时遇到的问题及解决过程。首先,对于同网段的服务器,通过Ping测试发现可能存在的ENSP软件Bug,通过重新配置业务接入点的bridge-domain解决了问题。接着,针对不同网段的服务器,通过Wireshark抓包分析,展示了从ARP请求到EVPN IRB路由的生成过程,解释了为何初始时无法Ping通。在修复ENSP Bug后,网络通信恢复正常。最后,讨论了ARP和MAC地址表的关系,以及如何通过调整超时时间保持两者同步,确保网络通信的稳定性。
(Part2&spm=1001.2101.3001.5002&articleId=123541069&d=1&t=3&u=cf7b7e9c148f479d84db4682490ef83d)
3724

被折叠的 条评论
为什么被折叠?



