Hi, all:
as title, below is my topology. if I remove tor1 and tor2 tier 1 switch, spine and leaf architecture host can ping each other, but when I add tor1 and tor2 switch, server1 can reach 172.16.1.1 in leaf1 (is VLAN100). If I ping 172.16.2.101 will show can’t reach host, server1 to leaf01 is access mode, tor1 switch to leaf01 is trunk mode, I have no idea how to setting in leaf01 will drive bgp to route to another host, below is my setting, thanks.
spine01:
net add loopback lo ip address 10.0.0.21/32
net add bgp autonomous-system 65020
net add bgp router-id 10.0.0.21
net add bgp ipv4 unicast network 10.0.0.21/32
net add bgp neighbor fabric peer-group
net add bgp neighbor fabric remote-as external
net add bgp neighbor swp1-4 interface peer-group fabric
spine02:
net add loopback lo ip address 10.0.0.22/32
net add bgp autonomous-system 65020
net add bgp router-id 10.0.0.22
net add bgp ipv4 unicast network 10.0.0.22/32
net add bgp neighbor fabric peer-group
net add bgp neighbor fabric remote-as external
net add bgp neighbor swp1-4 interface peer-group fabric
leaf01:
net add loopback lo ip address 10.0.0.11/32
net add bgp autonomous-system 65011
net add bgp router-id 10.0.0.11
net add bgp ipv4 unicast network 10.0.0.11/32
net add bgp neighbor fabric peer-group
net add bgp neighbor fabric remote-as external
net add bgp neighbor swp1-2 interface peer-group fabric
net add vlan 100 ip address 172.16.1.253/24
net add vlan 100 ip address-virtual 00:00:5E:00:01:01 172.16.1.1/24
net add bgp ipv4 unicast network 172.16.1.1/24
net add clag peer sys-mac 44:38:39:FF:00:01 interface swp5-6 primary backup-ip 192.168.122.12
net add clag port bond bond1 interface swp3-4 clag-id 2
net add bond bond1 bridge access 100
leaf03:
net add loopback lo ip address 10.0.0.13/32
net add bgp autonomous-system 65013
net add bgp router-id 10.0.0.13
net add bgp ipv4 unicast network 10.0.0.13/32
net add bgp neighbor fabric peer-group
net add bgp neighbor fabric remote-as external
net add bgp neighbor swp1-2 interface peer-group fabric
net add vlan 200 ip address 172.16.2.253/24
net add vlan 200 ip address-virtual 00:00:5E:00:01:02 172.16.2.1/24
net add bgp ipv4 unicast network 172.16.2.1/24
net add clag peer sys-mac 44:38:39:FF:00:02 interface swp5-6 primary backup-ip 192.168.122.14
net add clag port bond server3 interface swp3 clag-id 1
net add clag port bond server4 interface swp4 clag-id 2
net add bond server3-4 bridge access 200
net add bond server3-4 stp portadminedge
net add bond server3-4 stp bpduguard
Tor1:
net add loopback lo ip address 10.0.0.1/24
net add clag peer sys-mac 00:00:5E:00:01:03 interface swp5-6 primary backup-ip 192.168.122.12
net add clag port bond bond1 interface swp3-4 clag-id 1
net add clag port bond server1 interface swp1 clag-id 2
net add clag port bond server2 interface swp2 clag-id 3
net add bond server1-2 bridge access 100
net add bond server1-2 stp portadminedge
net add bond server1-2 stp bpduguard
Tor2:
net add loopback lo ip address 10.0.0.2/24
net add clag peer sys-mac 00:00:5E:00:01:03 interface swp5-6 secondary backup-ip 192.168.122.11
net add clag port bond bond1 interface swp3-4 clag-id 1
net add clag port bond server1 interface swp1 clag-id 2
net add clag port bond server2 interface swp2 clag-id 3
net add bond server1-2 bridge access 100
net add bond server1-2 stp portadminedge
net add bond server1-2 stp bpduguard
server1:
auto ens4
iface ens4 inet manual
link-speed 1000
link-duplex full
bond-master uplink
auto ens5
iface ens5 inet manual
link-speed 1000
link-duplex full
bond-master uplink
auto uplink
iface uplink inet static
bond-slaves none
bond-mode 802.3ad
bond-miimon 100
bond-lacp-rate 1
bond-min-links 1
bond-xmit-hash-policy layer3+4
address 172.16.1.101
netmask 255.255.255.0