VXLan

Merhaba,

Özellikle datacenter lar için işe yarayabilecek olan vxlan teknolojisinden bahsetmek istiyorum. Vxlan en temel hali ile iki farklı lokasyondaki vlanları tek bir çatı altındaymış gibi çalıştırmanızı sağlıyor. Bunun için Dell tarafında lisanslama maliyeti de yok. Peki bu ne işe yarar derseniz öncelikle klasik mimaride ne yapıyoruz onu anlatmak gerekiyor sanıyorum. Eğer çalıştığınız kurumun birden fazla lokasyonu var ise ve siz IT ekibindenseniz bilirsiniz ki her bir lokasyon için, firewall, bu lokasyonların merkeze bağlantısı için vpn yada mpls data hatları ve bir çok farklı lokasyonda bulunan her bir sorun için ayrı ayrı vpn bağlantılar ile soruna müdahale etmek gerekiyor. Vxlan ise bunun yerine tüm dış lokasyonları merkeze bağlıyor. Dolayısıyla merkezde bulunan 10,100,4000 vs gibi numaralandırdığınız vlanlarınıza şubeleriniz de dahil oluyor. Sonucunda şubede bir uygun maliyetli internet hattı ve switch ile merkezden hem kendi bilgisayarınızı örneğin vlan 10 da tutabiliyor hemde Ankara’ daki şubenizi aynı vlanda bulundurabiliyorsunuz. Yönetim tarafında ne gibi kolaylıklar getireceğini siz düşünün. Sıklıkla datacenter tarafında kullanılan bu teknolojinin alt yapısı uzun süredir noktadan noktaya metro ethernet hatları ile yapılıyordu. Şimdi ise bu kiralamaya ve maliyete gerek kalmadan bir kez yaptırılacak bir yatırım ile bunu kullanmak mümkün.

Vxlan nasıl çalışara en güzel örnek aşağıdaki görselde yer alıyor.

Kısaca bundan aklımdayken bahsetmek istedim. Yakın zamanda bu yazımı “Nasıl yapılır” dokümanına çevirmeyi hedefliyorum. Fakat şimdi biraz işe dönmeliyim 🙂

———————————————————07.10.2023———————————————————-

Çok geç kalınmış bir güncelleme, işte s3048 ve s4048 ler ile İstanbul – Ankara ofis senaryosuna göre çalışan bir konfigürasyon örneği, eğer kullanmak isterseniz bu konfigürasyona vlan larınızı eklemek yeterli

S-3048 Switch 1:

Dell#
Dell#show running-config
Current Configuration …
! Version 9.11(2.2)
! Last configuration change at Mon Dec 25 10:16:49 2017 by default
! Startup-config last updated at Mon Dec 25 10:47:04 2017 by default
!
boot system stack-unit 1 primary system://A
boot system stack-unit 1 secondary system://B
!
hostname Dell
!
protocol lldp
!
redundancy auto-synchronize full
!
stack-unit 1 provision S3048-ON
!
interface GigabitEthernet 1/1
no ip address
no shutdown
!
interface GigabitEthernet 1/2
no ip address
no shutdown
!
interface GigabitEthernet 1/3
no ip address
no shutdown
!
interface GigabitEthernet 1/4
no ip address
no shutdown
!
interface GigabitEthernet 1/5
no ip address
no shutdown
!
interface GigabitEthernet 1/6
no ip address
no shutdown
!
interface GigabitEthernet 1/7
no ip address
no shutdown
!
interface GigabitEthernet 1/8
no ip address
no shutdown
!
interface GigabitEthernet 1/9
no ip address
shutdown
!
interface GigabitEthernet 1/10
no ip address
shutdown
!
interface GigabitEthernet 1/11
no ip address
shutdown
!
interface GigabitEthernet 1/12
no ip address
shutdown
!
interface GigabitEthernet 1/13
no ip address
shutdown
!
interface GigabitEthernet 1/14
no ip address
shutdown
!
interface GigabitEthernet 1/15
no ip address
shutdown
!
interface GigabitEthernet 1/16
no ip address
shutdown
!
interface GigabitEthernet 1/17
no ip address
shutdown
!
interface GigabitEthernet 1/18
no ip address
shutdown
!
interface GigabitEthernet 1/19
no ip address
shutdown
!
interface GigabitEthernet 1/20
no ip address
portmode hybrid
switchport
no shutdown
!
interface GigabitEthernet 1/21
no ip address
shutdown
!
interface GigabitEthernet 1/22
no ip address
shutdown
!
interface GigabitEthernet 1/23
no ip address
shutdown
!
interface GigabitEthernet 1/24
no ip address
shutdown
!
interface GigabitEthernet 1/25
no ip address
shutdown
!
interface GigabitEthernet 1/26
no ip address
shutdown
!
interface GigabitEthernet 1/27
no ip address
shutdown
!
interface GigabitEthernet 1/28
no ip address
shutdown
!
interface GigabitEthernet 1/29
no ip address
shutdown
!
interface GigabitEthernet 1/30
no ip address
shutdown
!
interface GigabitEthernet 1/31
no ip address
shutdown
!
interface GigabitEthernet 1/32
no ip address
shutdown
!
interface GigabitEthernet 1/33
no ip address
shutdown
!
interface GigabitEthernet 1/34
no ip address
shutdown
!
interface GigabitEthernet 1/35
no ip address
shutdown
!
interface GigabitEthernet 1/36
no ip address
shutdown
!
interface GigabitEthernet 1/37
no ip address
shutdown
!
interface GigabitEthernet 1/38
no ip address
shutdown
!
interface GigabitEthernet 1/39
no ip address
shutdown
!
interface GigabitEthernet 1/40
no ip address
shutdown
!
interface GigabitEthernet 1/41
no ip address
shutdown
!
interface GigabitEthernet 1/42
no ip address
shutdown
!
interface GigabitEthernet 1/43
no ip address
shutdown
!
interface GigabitEthernet 1/44
no ip address
shutdown
!
interface GigabitEthernet 1/45
no ip address
shutdown
!
interface GigabitEthernet 1/46
no ip address
shutdown
!
interface GigabitEthernet 1/47
no ip address
shutdown
!
interface GigabitEthernet 1/48
no ip address
shutdown
!
interface TenGigabitEthernet 1/49
no ip address
portmode hybrid
switchport
no shutdown
!
interface TenGigabitEthernet 1/50
no ip address
no shutdown
!
interface TenGigabitEthernet 1/51
no ip address
no shutdown
!
interface TenGigabitEthernet 1/52
no ip address
no shutdown
!
interface ManagementEthernet 1/1
no ip address
no shutdown
!
interface ManagementEthernet 2/1
shutdown
!
interface ManagementEthernet 3/1
shutdown
!
interface ManagementEthernet 4/1
shutdown
!
interface ManagementEthernet 5/1
shutdown
!
interface ManagementEthernet 6/1
shutdown
!
interface Vlan 1
!untagged TenGigabitEthernet 1/49
!
interface Vlan 100
no ip address
tagged TenGigabitEthernet 1/49
untagged GigabitEthernet 1/20
no shutdown
!
wred-profile mem
!
line console 0
line vty 0
line vty 1
line vty 2
line vty 3
line vty 4
line vty 5
line vty 6
line vty 7
line vty 8
line vty 9
!
reload-type
boot-type normal-reload
config-scr-download enable
!
end

S-3048 Swtich 2:

Dell#show running-config
Current Configuration …
! Version 9.11(2.2)
! Last configuration change at Mon Dec 25 09:16:52 2017 by default
! Startup-config last updated at Mon Dec 25 10:48:01 2017 by default
!
boot system stack-unit 1 primary system://A
boot system stack-unit 1 secondary system://B
!
hostname Dell
!
protocol lldp
!
redundancy auto-synchronize full
!
stack-unit 1 provision S3048-ON
!
interface GigabitEthernet 1/1
no ip address
switchport
no shutdown
!
interface GigabitEthernet 1/2
no ip address
shutdown
!
interface GigabitEthernet 1/3
no ip address
shutdown
!
interface GigabitEthernet 1/4
no ip address
shutdown
!
interface GigabitEthernet 1/5
no ip address
shutdown
!
interface GigabitEthernet 1/6
no ip address
shutdown
!
interface GigabitEthernet 1/7
no ip address
shutdown
!
interface GigabitEthernet 1/8
no ip address
shutdown
!
interface GigabitEthernet 1/9
no ip address
shutdown
!
interface GigabitEthernet 1/10
no ip address
shutdown
!
interface GigabitEthernet 1/11
no ip address
shutdown
!
interface GigabitEthernet 1/12
no ip address
shutdown
!
interface GigabitEthernet 1/13
no ip address
shutdown
!
interface GigabitEthernet 1/14
no ip address
shutdown
!
interface GigabitEthernet 1/15
no ip address
shutdown
!
interface GigabitEthernet 1/16
no ip address
shutdown
!
interface GigabitEthernet 1/17
no ip address
shutdown
!
interface GigabitEthernet 1/18
no ip address
shutdown
!
interface GigabitEthernet 1/19
no ip address
shutdown
!
interface GigabitEthernet 1/20
no ip address
portmode hybrid
switchport
no shutdown
!
interface GigabitEthernet 1/21
no ip address
shutdown
!
interface GigabitEthernet 1/22
no ip address
shutdown
!
interface GigabitEthernet 1/23
no ip address
shutdown
!
interface GigabitEthernet 1/24
no ip address
shutdown
!
interface GigabitEthernet 1/25
no ip address
shutdown
!
interface GigabitEthernet 1/26
no ip address
shutdown
!
interface GigabitEthernet 1/27
no ip address
shutdown
!
interface GigabitEthernet 1/28
no ip address
shutdown
!
interface GigabitEthernet 1/29
no ip address
shutdown
!
interface GigabitEthernet 1/30
no ip address
shutdown
!
interface GigabitEthernet 1/31
no ip address
shutdown
!
interface GigabitEthernet 1/32
no ip address
shutdown
!
interface GigabitEthernet 1/33
no ip address
shutdown
!
interface GigabitEthernet 1/34
no ip address
shutdown
!
interface GigabitEthernet 1/35
no ip address
shutdown
!
interface GigabitEthernet 1/36
no ip address
shutdown
!
interface GigabitEthernet 1/37
no ip address
shutdown
!
interface GigabitEthernet 1/38
no ip address
shutdown
!
interface GigabitEthernet 1/39
no ip address
shutdown
!
interface GigabitEthernet 1/40
no ip address
shutdown
!
interface GigabitEthernet 1/41
no ip address
shutdown
!
interface GigabitEthernet 1/42
no ip address
shutdown
!
interface GigabitEthernet 1/43
no ip address
shutdown
!
interface GigabitEthernet 1/44
no ip address
shutdown
!
interface GigabitEthernet 1/45
no ip address
shutdown
!
interface GigabitEthernet 1/46
no ip address
shutdown
!
interface GigabitEthernet 1/47
no ip address
shutdown
!
interface GigabitEthernet 1/48
no ip address
shutdown
!
interface TenGigabitEthernet 1/49
no ip address
portmode hybrid
switchport
no shutdown
!
interface TenGigabitEthernet 1/50
no ip address
shutdown
!
interface TenGigabitEthernet 1/51
no ip address
shutdown
!
interface TenGigabitEthernet 1/52
no ip address
shutdown
!
interface ManagementEthernet 1/1
no ip address
shutdown
!
interface ManagementEthernet 2/1
shutdown
!
interface ManagementEthernet 3/1
shutdown
!
interface ManagementEthernet 4/1
shutdown
!
interface ManagementEthernet 5/1
shutdown
!
interface ManagementEthernet 6/1
shutdown
!
interface Vlan 1
!untagged TenGigabitEthernet 1/49
!
interface Vlan 100
no ip address
tagged TenGigabitEthernet 1/49
untagged GigabitEthernet 1/1,1/20
no shutdown
!
line console 0
line vty 0
line vty 1
line vty 2
line vty 3
line vty 4
line vty 5
line vty 6
line vty 7
line vty 8
line vty 9
!
reload-type
boot-type normal-reload
config-scr-download enable
!
end
Dell#

S-4048 İstanbul:

ist>
ist>
ist>enable

The SupportAssist EULA acceptance option has not been selected. SupportAssist
can be enabled once the SupportAssist EULA has been accepted. Use the:
‘support-assist activate’ command to accept EULA and enable SupportAssist.

ist#show running-config
Current Configuration …
! Version 9.11(2.6)
! Last configuration change at Mon Dec 25 18:28:26 2017 by default
! Startup-config last updated at Mon Dec 25 18:59:04 2017 by default
!
boot system stack-unit 1 primary system://A
boot system stack-unit 1 secondary system://B
!
!
no logging console
!
logging coredump stack-unit 1
logging coredump stack-unit 2
logging coredump stack-unit 3
logging coredump stack-unit 4
logging coredump stack-unit 5
logging coredump stack-unit 6
!
hostname ist
!
protocol lldp
advertise management-tlv system-capabilities system-description system-name
advertise interface-port-desc
!
redundancy auto-synchronize full
!
feature vxlan
!
vxlan-instance 1 static
local-vtep-ip 172.1.1.1
no shutdown
vni-profile IST_Profile
vnid 100
remote-vtep-ip 176.1.1.1 vni-profile IST_Profile
!
stack-unit 1 provision S4048-ON
!
interface TenGigabitEthernet 1/1
vxlan-instance 1
no ip address
portmode hybrid
switchport
!
protocol lldp
advertise management-tlv system-capabilities system-description system-name
advertise interface-port-desc
no shutdown
!
interface TenGigabitEthernet 1/2
no ip address
shutdown
!
interface TenGigabitEthernet 1/3
no ip address
shutdown
!
interface TenGigabitEthernet 1/4
no ip address
shutdown
!
interface TenGigabitEthernet 1/5
no ip address
shutdown
!
interface TenGigabitEthernet 1/6
no ip address
shutdown
!
interface TenGigabitEthernet 1/7
no ip address
shutdown
!
interface TenGigabitEthernet 1/8
no ip address
shutdown
!
interface TenGigabitEthernet 1/9
no ip address
shutdown
!
interface TenGigabitEthernet 1/10
no ip address
shutdown
!
interface TenGigabitEthernet 1/11
no ip address
shutdown
!
interface TenGigabitEthernet 1/12
no ip address
shutdown
!
interface TenGigabitEthernet 1/13
no ip address
shutdown
!
interface TenGigabitEthernet 1/14
no ip address
shutdown
!
interface TenGigabitEthernet 1/15
no ip address
shutdown
!
interface TenGigabitEthernet 1/16
no ip address
switchport
speed 1000
no shutdown
!
interface TenGigabitEthernet 1/17
no ip address
shutdown
!
interface TenGigabitEthernet 1/18
no ip address
shutdown
!
interface TenGigabitEthernet 1/19
no ip address
shutdown
!
interface TenGigabitEthernet 1/20
no ip address
switchport
speed 1000
no shutdown
!
interface TenGigabitEthernet 1/21
no ip address
shutdown
!
interface TenGigabitEthernet 1/22
no ip address
shutdown
!
interface TenGigabitEthernet 1/23
no ip address
shutdown
!
interface TenGigabitEthernet 1/24
no ip address
shutdown
!
interface TenGigabitEthernet 1/25
no ip address
shutdown
!
interface TenGigabitEthernet 1/26
no ip address
shutdown
!
interface TenGigabitEthernet 1/27
no ip address
shutdown
!
interface TenGigabitEthernet 1/28
no ip address
shutdown
!
interface TenGigabitEthernet 1/29
no ip address
shutdown
!
interface TenGigabitEthernet 1/30
no ip address
shutdown
!
interface TenGigabitEthernet 1/31
no ip address
shutdown
!
interface TenGigabitEthernet 1/32
no ip address
shutdown
!
interface TenGigabitEthernet 1/33
no ip address
shutdown
!
interface TenGigabitEthernet 1/34
no ip address
shutdown
!
interface TenGigabitEthernet 1/35
no ip address
shutdown
!
interface TenGigabitEthernet 1/36
no ip address
shutdown
!
interface TenGigabitEthernet 1/37
no ip address
shutdown
!
interface TenGigabitEthernet 1/38
no ip address
shutdown
!
interface TenGigabitEthernet 1/39
no ip address
shutdown
!
interface TenGigabitEthernet 1/40
no ip address
shutdown
!
interface TenGigabitEthernet 1/41
no ip address
shutdown
!
interface TenGigabitEthernet 1/42
no ip address
shutdown
!
interface TenGigabitEthernet 1/43
no ip address
shutdown
!
interface TenGigabitEthernet 1/44
no ip address
shutdown
!
interface TenGigabitEthernet 1/45
no ip address
shutdown
!
interface TenGigabitEthernet 1/46
no ip address
shutdown
!
interface TenGigabitEthernet 1/47
description Link_to_ospf
ip address 192.168.2.1/24
!
protocol lldp
advertise management-tlv system-capabilities system-description system-name
advertise interface-port-desc
no shutdown
!
interface TenGigabitEthernet 1/48
no ip address
no shutdown
!
interface fortyGigE 1/49
no ip address
shutdown
!
interface fortyGigE 1/50
no ip address
shutdown
!
interface fortyGigE 1/51
no ip address
shutdown
!
interface fortyGigE 1/52
no ip address
shutdown
!
interface fortyGigE 1/53
no ip address
shutdown
!
interface fortyGigE 1/54
no ip address
shutdown
!
interface ManagementEthernet 1/1
ip address 10.10.10.1/24
no shutdown
!
interface ManagementEthernet 2/1
shutdown
!
interface ManagementEthernet 3/1
shutdown
!
interface ManagementEthernet 4/1
shutdown
!
interface ManagementEthernet 5/1
shutdown
!
interface ManagementEthernet 6/1
shutdown
!
interface Loopback 0
ip address 172.1.1.1/24
no shutdown
!
interface Vlan 1
!untagged TenGigabitEthernet 1/1,1/16
!
interface Vlan 100
vxlan-vnid 100
no ip address
mtu 9216
tagged TenGigabitEthernet 1/1
untagged TenGigabitEthernet 1/20
no shutdown
!
router ospf 1
network 192.168.2.0/24 area 0
network 172.1.1.0/24 area 0
network 192.168.1.0/24 area 0
redistribute connected
!
line console 0
line vty 0
line vty 1
line vty 2
line vty 3
line vty 4
line vty 5
line vty 6
line vty 7
line vty 8
line vty 9
!
reload-type
boot-type normal-reload
config-scr-download enable
!
end

S-4048 Ankara:

Dell#ank>
ank>
ank>enable

The SupportAssist EULA acceptance option has not been selected. SupportAssist
can be enabled once the SupportAssist EULA has been accepted. Use the:
‘support-assist activate’ command to accept EULA and enable SupportAssist.

ank#show running-config
Current Configuration …
! Version 9.11(2.6)
! Last configuration change at Mon Dec 25 17:43:26 2017 by default
! Startup-config last updated at Mon Dec 25 18:58:18 2017 by default
!
boot system stack-unit 1 primary system://A
boot system stack-unit 1 secondary system://B
!
!
no logging console
!
logging coredump stack-unit 1
logging coredump stack-unit 2
logging coredump stack-unit 3
logging coredump stack-unit 4
logging coredump stack-unit 5
logging coredump stack-unit 6
!
hostname ank
!
protocol lldp
!
redundancy auto-synchronize full
!
feature vxlan
!
vxlan-instance 1 static
local-vtep-ip 176.1.1.1
no shutdown
vni-profile ANK_Profile
vnid 100
remote-vtep-ip 172.1.1.1 vni-profile ANK_Profile
!
stack-unit 1 provision S4048-ON
!
interface TenGigabitEthernet 1/1
vxlan-instance 1
no ip address
portmode hybrid
switchport
!
protocol lldp
advertise management-tlv system-capabilities system-description system-name
advertise interface-port-desc
no shutdown
!
interface TenGigabitEthernet 1/2
no ip address
shutdown
!
interface TenGigabitEthernet 1/3
no ip address
shutdown
!
interface TenGigabitEthernet 1/4
no ip address
shutdown
!
interface TenGigabitEthernet 1/5
no ip address
shutdown
!
interface TenGigabitEthernet 1/6
no ip address
shutdown
!
interface TenGigabitEthernet 1/7
no ip address
shutdown
!
interface TenGigabitEthernet 1/8
no ip address
shutdown
!
interface TenGigabitEthernet 1/9
no ip address
shutdown
!
interface TenGigabitEthernet 1/10
no ip address
shutdown
!
interface TenGigabitEthernet 1/11
no ip address
shutdown
!
interface TenGigabitEthernet 1/12
no ip address
shutdown
!
interface TenGigabitEthernet 1/13
no ip address
shutdown
!
interface TenGigabitEthernet 1/14
no ip address
shutdown
!
interface TenGigabitEthernet 1/15
no ip address
shutdown
!
interface TenGigabitEthernet 1/16
no ip address
switchport
no shutdown
!
interface TenGigabitEthernet 1/17
no ip address
shutdown
!
interface TenGigabitEthernet 1/18
no ip address
shutdown
!
interface TenGigabitEthernet 1/19
no ip address
shutdown
!
interface TenGigabitEthernet 1/20
no ip address
switchport
speed 1000
no shutdown
!
interface TenGigabitEthernet 1/21
no ip address
shutdown
!
interface TenGigabitEthernet 1/22
no ip address
shutdown
!
interface TenGigabitEthernet 1/23
no ip address
shutdown
!
interface TenGigabitEthernet 1/24
no ip address
shutdown
!
interface TenGigabitEthernet 1/25
no ip address
shutdown
!
interface TenGigabitEthernet 1/26
no ip address
shutdown
!
interface TenGigabitEthernet 1/27
no ip address
shutdown
!
interface TenGigabitEthernet 1/28
no ip address
shutdown
!
interface TenGigabitEthernet 1/29
no ip address
shutdown
!
interface TenGigabitEthernet 1/30
no ip address
shutdown
!
interface TenGigabitEthernet 1/31
no ip address
shutdown
!
interface TenGigabitEthernet 1/32
no ip address
shutdown
!
interface TenGigabitEthernet 1/33
no ip address
shutdown
!
interface TenGigabitEthernet 1/34
no ip address
shutdown
!
interface TenGigabitEthernet 1/35
no ip address
shutdown
!
interface TenGigabitEthernet 1/36
no ip address
shutdown
!
interface TenGigabitEthernet 1/37
no ip address
shutdown
!
interface TenGigabitEthernet 1/38
no ip address
shutdown
!
interface TenGigabitEthernet 1/39
no ip address
shutdown
!
interface TenGigabitEthernet 1/40
no ip address
shutdown
!
interface TenGigabitEthernet 1/41
no ip address
shutdown
!
interface TenGigabitEthernet 1/42
no ip address
shutdown
!
interface TenGigabitEthernet 1/43
no ip address
shutdown
!
interface TenGigabitEthernet 1/44
no ip address
shutdown
!
interface TenGigabitEthernet 1/45
no ip address
shutdown
!
interface TenGigabitEthernet 1/46
no ip address
shutdown
!
interface TenGigabitEthernet 1/47
description link to OSPF
ip address 192.168.2.2/24
!
protocol lldp
advertise management-tlv system-capabilities system-description system-name
advertise interface-port-desc
no shutdown
!
interface TenGigabitEthernet 1/48
no ip address
no shutdown
!
interface fortyGigE 1/49
no ip address
shutdown
!
interface fortyGigE 1/50
no ip address
shutdown
!
interface fortyGigE 1/51
no ip address
shutdown
!
interface fortyGigE 1/52
no ip address
shutdown
!
interface fortyGigE 1/53
no ip address
shutdown
!
interface fortyGigE 1/54
no ip address
shutdown
!
interface ManagementEthernet 1/1
ip address 10.20.20.1/24
no shutdown
!
interface ManagementEthernet 2/1
shutdown
!
interface ManagementEthernet 3/1
shutdown
!
interface ManagementEthernet 4/1
shutdown
!
interface ManagementEthernet 5/1
shutdown
!
interface ManagementEthernet 6/1
shutdown
!
interface Loopback 0
ip address 176.1.1.1/24
no shutdown
!
interface Vlan 1
!untagged TenGigabitEthernet 1/1,1/16
!
interface Vlan 100
vxlan-vnid 100
no ip address
mtu 9216
tagged TenGigabitEthernet 1/1
untagged TenGigabitEthernet 1/20
no shutdown
!
router ospf 1
network 192.168.1.0/24 area 0
network 176.1.1.0/24 area 0
network 192.168.2.0/24 area 0
redistribute connected
!
line console 0
line vty 0
line vty 1
line vty 2
line vty 3
line vty 4
line vty 5
line vty 6
line vty 7
line vty 8
line vty 9
!
reload-type
boot-type normal-reload
config-scr-download enable
!
end