Hello,
I have problem with linux bonding configuration. I try to set up config according to this document:
https://www.juniper.net/assets/us/en/local/pdf/whitepapers/2000606-en.pdf
All seems to work ok but when i shut down only one uplink port on ex4200-1 traffic stops between Centos and this switch ex4200-1. In the same time traffic between ex4200-1 and ex4200-2 works. When i turn on uplink port all works correct.
On centos in arp table i see incomplete entry. Bond.conf on centos is typical, thanks for any help or clue
# cat /etc/sysconfig/network-scripts/ifcfg-eth2 BOOTPROTO=none NM_CONTROLLED=no DEVICE=eth2 ONBOOT=yes MASTER=bond0 SLAVE=yes [root@ ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth4 BOOTPROTO=none NM_CONTROLLED=no DEVICE=eth4 ONBOOT=yes MASTER=bond0 SLAVE=yes [root@ ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0 IPADDR=10.100.0.10 NETMASK=255.255.255.0 BROADCAST=10.100.0.255 NETWORK=10.100.0.0 GATEWAY=10.100.0.254 NAME=bond0 DEVICE=bond0 USERCTL=no ONBOOT=yes
~]# cat /etc/modprobe.d/bonding.conf alias bond0 bonding options bond0 miimon=100 mode=4 lacp_rate=1
My ex4200-1 config:
root# show interfaces ae0 | display set set interfaces ae0 aggregated-ether-options lacp active set interfaces ae0 aggregated-ether-options lacp periodic fast set interfaces ae0 unit 0 family inet address 10.100.0.1/24
My LEAFs, both configs of LEAFS are almost identical
set version 14.1X53-D35.3 set interfaces xe-0/0/0 ether-options 802.3ad ae10 set interfaces xe-0/0/1 ether-options 802.3ad ae11 set interfaces xe-0/0/2 ether-options 802.3ad ae12 set interfaces ae10 esi 00:00:00:10:00:10:01:10:02:10 set interfaces ae10 esi all-active set interfaces ae10 aggregated-ether-options lacp active set interfaces ae10 aggregated-ether-options lacp system-id 10:10:01:10:02:10 set interfaces ae10 unit 0 family ethernet-switching interface-mode access set interfaces ae10 unit 0 family ethernet-switching vlan members VXLAN11 set interfaces ae11 esi 00:00:00:10:00:10:01:10:02:11 set interfaces ae11 esi all-active set interfaces ae11 aggregated-ether-options lacp active set interfaces ae11 aggregated-ether-options lacp system-id 10:10:01:10:02:11 set interfaces ae11 unit 0 family ethernet-switching interface-mode access set interfaces ae11 unit 0 family ethernet-switching vlan members VXLAN11 set interfaces ae12 esi 00:00:00:10:00:10:01:10:02:12 set interfaces ae12 esi all-active set interfaces ae12 aggregated-ether-options lacp active set interfaces ae12 aggregated-ether-options lacp system-id 10:10:01:10:02:12 set interfaces ae12 unit 0 family ethernet-switching interface-mode access set interfaces ae12 unit 0 family ethernet-switching vlan members VXLAN11 set routing-options router-id 10.10.10.2 set routing-options autonomous-system 202 set routing-options forwarding-table export PFE-LB set routing-options forwarding-table ecmp-fast-reroute set protocols bgp log-updown set protocols bgp graceful-restart set protocols bgp group underlay type external set protocols bgp group underlay advertise-peer-as set protocols bgp group underlay mtu-discovery set protocols bgp group underlay import bgp-in set protocols bgp group underlay export bgp-out set protocols bgp group underlay bfd-liveness-detection minimum-interval 350 set protocols bgp group underlay bfd-liveness-detection multiplier 3 set protocols bgp group underlay bfd-liveness-detection session-mode single-hop deactivate protocols bgp group underlay bfd-liveness-detection session-mode set protocols bgp group underlay multipath multiple-as set protocols bgp group EVPN_VXLAN_CORE type external set protocols bgp group EVPN_VXLAN_CORE multihop ttl 255 set protocols bgp group EVPN_VXLAN_CORE multihop no-nexthop-change set protocols bgp group EVPN_VXLAN_CORE local-address 10.10.10.2 set protocols bgp group EVPN_VXLAN_CORE family evpn signaling set protocols bgp group EVPN_VXLAN_CORE neighbor 10.10.10.1 peer-as 100 set protocols bgp group LEAFY type external set protocols bgp group LEAFY multihop ttl 254 deactivate protocols bgp group LEAFY multihop ttl set protocols bgp group LEAFY multihop no-nexthop-change deactivate protocols bgp group LEAFY multihop no-nexthop-change set protocols bgp group LEAFY local-address 10.10.10.2 set protocols bgp group LEAFY family evpn signaling set protocols bgp group LEAFY peer-as 203 set protocols bgp group LEAFY neighbor 10.10.10.3 description "do leafa L3" set protocols evpn vni-options vni 11 vrf-target export target:1:11 set protocols evpn vni-options vni 12 vrf-target export target:1:12 set protocols evpn vni-options vni 20 vrf-target export target:1:20 set protocols evpn encapsulation vxlan set protocols evpn extended-vni-list all set protocols evpn multicast-mode ingress-replication set protocols l2-learning decapsulate-accept-inner-vlan set protocols lldp port-id-subtype interface-name set protocols lldp interface all set protocols lldp-med interface all set protocols igmp-snooping vlan default set policy-options prefix-list local-adresses apply-path "interfaces <*> unit <*> family inet address <*>" set policy-options prefix-list bgp-peers apply-path "protocols bgp group <*> neighbor <*>" set policy-options prefix-list interal-bgp-peers apply-path "protocols bgp group <[underlay|EVPN_VXLAN_CORE|EVPN_VXLAN_LEAF]*> neighbor <*>" set policy-options policy-statement LB then load-balance per-packet set policy-options policy-statement PFE-LB then load-balance per-packet set policy-options policy-statement VRF-IMPORT term VXLAN11 from community VXLAN11 set policy-options policy-statement VRF-IMPORT term VXLAN11 then accept set policy-options community VXLAN11 members target:1:11 set switch-options vtep-source-interface lo0.0 set switch-options route-distinguisher 10.10.10.2:1 set switch-options vrf-import VRF-IMPORT set switch-options vrf-target target:1:20 set vlans VXLAN11 vlan-id 11 set vlans VXLAN11 vxlan vni 11 set vlans VXLAN11 vxlan ingress-node-replication
and my SPINE:
set routing-options router-id 10.10.10.3 set routing-options autonomous-system 100 set routing-options forwarding-table export PFE-LB set routing-options forwarding-table ecmp-fast-reroute set protocols bgp log-updown set protocols bgp graceful-restart set protocols bgp group underlay type external set protocols bgp group underlay multihop set protocols bgp group underlay advertise-peer-as set protocols bgp group underlay mtu-discovery set protocols bgp group underlay import bgp-in set protocols bgp group underlay family inet unicast loops 2 set protocols bgp group underlay export bgp-out set protocols bgp group underlay bfd-liveness-detection minimum-interval 350 set protocols bgp group underlay bfd-liveness-detection multiplier 3 set protocols bgp group underlay bfd-liveness-detection session-mode single-hop deactivate protocols bgp group underlay bfd-liveness-detection session-mode set protocols bgp group underlay multipath multiple-as set protocols bgp group underlay neighbor 192.168.0.1 peer-as 202 set protocols bgp group underlay neighbor 192.168.0.3 peer-as 203 set protocols bgp group LEAFy multihop ttl 255 set protocols bgp group LEAFy multihop no-nexthop-change set protocols bgp group LEAFy local-address 10.10.10.1 set protocols bgp group LEAFy family evpn signaling set protocols bgp group LEAFy neighbor 10.10.10.2 peer-as 202 set protocols bgp group LEAFy neighbor 10.10.10.3 peer-as 203 set protocols lldp interface all set protocols lldp-med interface all set protocols igmp-snooping vlan default