GNS3 Üzerinde MPBGP EVPN ile VXLAN UYGULAMASI

YAZI HENÜZ TAMAMLANMAMIŞTIR!!!

 

ADIM ADIM VXLAN

 

ADIM 1

feature’ların aktif edilmesi
Tüm switchlerde

conf t
nv overlay evpn
feature nv overlay
feature interface-vlan
feature vn-segment-vlan-based
end
!
conf t
feature ospf
feature bgp
feature pim
!
end

 

ADIM 2

OSPF Routinglerin açılması

—SPINE 1

router ospf ALTYAPI

interface ethernet 1/1-2
ip router ospf ALTYAPI area 0
ip pim sparse-mode
interface loopback 1
ip router ospf ALTYAPI area 0
ip pim sparse-mode

—LEAF 1-2

router ospf ALTYAPI

interface ethernet 1/1
ip router ospf ALTYAPI area 0
ip pim sparse-mode
interface loopback 1
ip router ospf ALTYAPI area 0
ip pim sparse-mode

 

ADIM 3

MULTICAST için RP( rendezvous points )

—TUM SWLERDE

ip pim rp-address 9.9.9.9

 

ADIM 4

Sunucular için VLAN açılması ve VXLAN

—LEAF 1-2

vlan 100
name MUSTERI-1
vn-segment 10100

vlan 999
vn-segment 10999
name L3-VNI-VLAN-999

vrf context MUSTERI-1
vni 10999
rd auto
address-family ipv4 unicast
route-target both auto
route-target both auto evpn
fabric forwarding anycast-gateway-mac 0001.0001.0001

interface Vlan100
no shutdown
vrf member MUSTERI-1
ip address 172.16.100.1/24
fabric forwarding mode anycast-gateway

interface vlan 999
no shu
vrf member MUSTERI-1
ip forward

int nve1
no shu
source-interface lo1
host-reachability protocol bgp
member vni 10999 associate-vrf
member vni 10100
mcast-group 239.1.1.100

 

ADIM 5

EVPN Kontrol Düzleminin BGP ile ayarlanması

—SPINE

router bgp 65000
log-neighbor-changes
address-family ipv4 unicast
address-family l2vpn evpn
retain route-target all
template peer VTEPLER
remote-as 65000
update-source lo0
address-family ipv4 unicast
send-community both
route-reflector-client
address-family l2vpn evpn
send-community both
route-reflector-client
neighbor 1.1.1.1
inherit peer VTEPLER
neighbor 2.2.2.2
inherit peer VTEPLER
end

—LEAF 1-2

router bgp 65000
address-family ipv4 unicast
address-family l2vpn evpn
neighbor 9.9.9.9
remote-as 65000
update-source lo0
address-family ipv4 unicast
address-family l2vpn evpn
send-community extended
vrf EVPN-L3-VNI-VLAN-10
address-family ipv4 unicast
advertise l2vpn evpn
exit

evpn
vni 10100 l2
rd auto
route-target import auto
route-target export auto
exit