From 6100412c415b86d00828924989320395610df899 Mon Sep 17 00:00:00 2001 From: Ivan Pepelnjak Date: Thu, 10 Oct 2024 17:59:27 +0200 Subject: [PATCH] EVPN over EBGP: we don't need IBGP session between S1 and S2 --- EVPN/ebgp/eos/S1.cfg | 4 ---- EVPN/ebgp/eos/S2.cfg | 4 ---- EVPN/ebgp/frr/S1.cfg | 3 --- EVPN/ebgp/frr/S2.cfg | 3 --- EVPN/ebgp/topology.yml | 5 +++-- 5 files changed, 3 insertions(+), 16 deletions(-) diff --git a/EVPN/ebgp/eos/S1.cfg b/EVPN/ebgp/eos/S1.cfg index e324a6b..c446ccf 100644 --- a/EVPN/ebgp/eos/S1.cfg +++ b/EVPN/ebgp/eos/S1.cfg @@ -120,10 +120,6 @@ router bgp 65100 neighbor ebgp_intf_Ethernet4 remote-as 65004 neighbor ebgp_intf_Ethernet4 description L4 neighbor ebgp_intf_Ethernet4 send-community standard extended large - neighbor 10.0.0.6 remote-as 65100 - neighbor 10.0.0.6 update-source Loopback0 - neighbor 10.0.0.6 description S2 - neighbor 10.0.0.6 send-community standard extended large neighbor interface Et1 peer-group ebgp_intf_Ethernet1 neighbor interface Et2 peer-group ebgp_intf_Ethernet2 neighbor interface Et3 peer-group ebgp_intf_Ethernet3 diff --git a/EVPN/ebgp/eos/S2.cfg b/EVPN/ebgp/eos/S2.cfg index 0c15021..694f057 100644 --- a/EVPN/ebgp/eos/S2.cfg +++ b/EVPN/ebgp/eos/S2.cfg @@ -120,10 +120,6 @@ router bgp 65100 neighbor ebgp_intf_Ethernet4 remote-as 65004 neighbor ebgp_intf_Ethernet4 description L4 neighbor ebgp_intf_Ethernet4 send-community standard extended large - neighbor 10.0.0.5 remote-as 65100 - neighbor 10.0.0.5 update-source Loopback0 - neighbor 10.0.0.5 description S1 - neighbor 10.0.0.5 send-community standard extended large neighbor interface Et1 peer-group ebgp_intf_Ethernet1 neighbor interface Et2 peer-group ebgp_intf_Ethernet2 neighbor interface Et3 peer-group ebgp_intf_Ethernet3 diff --git a/EVPN/ebgp/frr/S1.cfg b/EVPN/ebgp/frr/S1.cfg index 0b40048..32b4804 100644 --- a/EVPN/ebgp/frr/S1.cfg +++ b/EVPN/ebgp/frr/S1.cfg @@ -51,9 +51,6 @@ router bgp 65100 neighbor eth3 description L3 neighbor eth4 interface remote-as 65004 neighbor eth4 description L4 - neighbor 10.0.0.6 remote-as 65100 - neighbor 10.0.0.6 description S2 - neighbor 10.0.0.6 update-source lo ! address-family ipv4 unicast network 10.0.0.5/32 diff --git a/EVPN/ebgp/frr/S2.cfg b/EVPN/ebgp/frr/S2.cfg index 6383940..2552886 100644 --- a/EVPN/ebgp/frr/S2.cfg +++ b/EVPN/ebgp/frr/S2.cfg @@ -51,9 +51,6 @@ router bgp 65100 neighbor eth3 description L3 neighbor eth4 interface remote-as 65004 neighbor eth4 description L4 - neighbor 10.0.0.5 remote-as 65100 - neighbor 10.0.0.5 description S1 - neighbor 10.0.0.5 update-source lo ! address-family ipv4 unicast network 10.0.0.6/32 diff --git a/EVPN/ebgp/topology.yml b/EVPN/ebgp/topology.yml index 6f7f08d..2c14e3b 100644 --- a/EVPN/ebgp/topology.yml +++ b/EVPN/ebgp/topology.yml @@ -5,8 +5,9 @@ plugin: [ fabric ] addressing.p2p.ipv4: True evpn.as: 65000 -evpn.session: [ ebgp ] -bgp.community.ebgp: [ standard, extended ] +evpn.session: [ ebgp ] # Activate EVPN on EBGP sessions +bgp.community.ebgp: [ standard, extended ] # Propagate extended community over EBGP +bgp.sessions.ipv4: [ ebgp ] # ... and activate IPv4 AF only on EBGP sessions fabric: spines: 2