SlideShare a Scribd company logo
1
Configuring a VXLAN with Cumulus
This is the physical topology created on GNS3 to realize a VXLAN TUNNEL
SWITCH 1/2 are Cumulus Vx version 2.5.3 running in virtual Box each with 5 interfaces Intel PRO/1000 MT
R1/2/3 are router Cisco version c7200 working as workstation each of them has been configured with IP
Configuring a VXLAN with Cumulus
2
The image below is the logical topology resulting from physical
Configuring a VXLAN with Cumulus
3
Main components of logical topology are:
• A layer 3 connection between SWITCH1 and SWITCH2 realized with OSPF protocol working on
Cumulus
• two bridge BR created on SWITCH1 and SWITCH2 connected to R1 R2 and R3 by swp2 swp3
• tunnel VXLAN create between the two bridge BR using VTEP( VXLAN Tunnel Endpoint) interface
for frame encapsulation
Let's see how work it out step by step
STEP1 - Creating layer 3 infrastructure
On SWITCH1 we're going to create a loopback interface and assign an IP address and assign an IP address
to interface swp1
auto lo
iface lo inet loopback
address 172.10.1.1
netmask 255.255.255.255
Configuring a VXLAN with Cumulus
4
auto swp1
iface swp1 inet static
address 192.168.168.1
netmask 255.255.255.0
After that we need to enable ospf protocol setting zebra = yes and ospf = yes in file /etc/quagga/daemons
cumulus@SWITCH1$ cat /etc/quagga/daemons
zebra=yes
bgpd=no
ospfd=yes
ospf6d=no
ripd=no
ripngd=no
isisd=no
babeld=no
configuring loopback interface in area 1 and swp1 in area 0 backbone
router ospf
network 172.10.1.0/24 area 0.0.0.1
network 192.168.168.0/24 area 0.0.0.0
on SWITCH2
auto lo
iface lo inet loopback
address 172.20.1.1
netmask 255.255.255.255
auto swp1
iface swp1 inet static
address 192.168.168.2
netmask 255.255.255.0
configuring loopback interface in area 2 and swp1 in area 0 backbone
router ospf
network 172.20.1.0/24 area 0.0.0.2
network 192.168.168.0/24 area 0.0.0.0
In SWITCH1 there will be a rote to 172.20.1.1
cumulus@SWITCH1$ sudo vtysh
sudo: unable to resolve host SWITCH1
[sudo] password for cumulus:
Configuring a VXLAN with Cumulus
5
Hello, this is Quagga (version 0.99.23.1).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
SWITCH1# sh ip ro
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, A - Babel, T - Table,
> - selected route, * - FIB route
K>* 0.0.0.0/0 via 10.0.2.2, eth0
C>* 10.0.2.0/24 is directly connected, eth0
O 172.10.1.1/32 [110/10] is directly connected, lo, 04:26:32
C>* 172.10.1.1/32 is directly connected, lo
O>* 172.20.1.1/32 [110/20] via 192.168.168.2, swp1, 04:26:18
O 192.168.168.0/24 [110/10] is directly connected, swp1, 04:26:32
C>* 192.168.168.0/24 is directly connected, swp1
In SWITCH2 there will be a rote to 172.10.1.1
cumulus@SWITCH2$ sudo vtysh
sudo: unable to resolve host SWITCH2
[sudo] password for cumulus:
Hello, this is Quagga (version 0.99.23.1).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
SWITCH2# sh ip ro
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, A - Babel, T - Table,
> - selected route, * - FIB route
K>* 0.0.0.0/0 via 10.0.2.2, eth0
C>* 10.0.2.0/24 is directly connected, eth0
O>* 172.10.1.1/32 [110/20] via 192.168.168.1, swp1, 04:24:45
O 172.20.1.1/32 [110/10] is directly connected, lo, 04:51:40
C>* 172.20.1.1/32 is directly connected, lo
O 192.168.168.0/24 [110/10] is directly connected, swp1, 04:51:40
C>* 192.168.168.0/24 is directly connected, swp1
Configuring a VXLAN with Cumulus
6
SWITCH1# ping 172.20.1.1
PING 172.20.1.1 (172.20.1.1) 56(84) bytes of data.
64 bytes from 172.20.1.1: icmp_req=1 ttl=64 time=0.571 ms
64 bytes from 172.20.1.1: icmp_req=2 ttl=64 time=0.465 ms
^C
When a layer3 infrastructure is ready we can configure Cumulus Switch
On SWITCH1 we're going to create a bridge br with swp2 and swp3 and vetp1000
Vtep1000 is an interface which permits to reach IP 10.1.1.3 configured on fa 0/0 on R3 ( mac address
ca:03:5d:5c:00:00 )
Layer 2 Traffic to R3 is incapsuled in layer3 packet with source IP 172.10.1.1 dest IP 172.20.1.1 and VXLAN
network indentifier 1000
auto vtep1000
iface vtep1000 inet static
vxlan-id 1000
vxlan-local-tunnelip 172.10.1.1
auto br
iface br
bridge-ports swp2 swp3 vtep1000
post-up bridge fdb add ca:03:5d:5c:00:00 dev vtep1000 dst 172.20.1.1 vni 1000
On SWITCH2 we're going to create a bridge br with swp2 and swp3 and vetp1000
Vtep1000 is an interface which permits to reach IP 10.1.1.1 and 10.1.1.2 configured on fa 0/0 of R1 and R2
( respectively mac address ca:01:45:0c:00:00 and ca:01:4f:0c:00:00 )
Layer 2 Traffic to R1 and R2 is incapsuled in layer3 packet with source IP 172.20.1.1 dest IP 172.10.1.1 and
VXLAN network indentifier 1000
auto vtep1000
iface vtep1000 inet static
vxlan-id 1000
vxlan-local-tunnelip 172.20.1.1
auto br
iface br
Configuring a VXLAN with Cumulus
7
bridge-ports swp2 swp3 vtep1000
post-up bridge fdb add ca:01:45:0c:00:00 dev vtep1000 dst 172.10.1.1 vni 1000
post-up bridge fdb add ca:02:4f:08:00:00 dev vtep1000 dst 172.10.1.1 vni 1000
On R1,R2 and R3 we need to configure IP
! on R1
interface FastEthernet0/0
ip address 10.1.1.1 255.255.255.0
! onR2
interface FastEthernet0/0
ip address 10.1.1.2 255.255.255.0
!R3
interface FastEthernet0/0
ip address 10.1.1.3 255.255.255.0
and arp resolution
!R1 and R2
arp 10.1.1.3 ca03.5d5c.0000 ARPA
!R3
arp 10.1.1.1 ca01.450c.0000 ARPA
arp 10.1.1.2 ca02.4f08.0000 ARPA
In the end we can test our infrastructure with ping from R2 to R3
As we can see l2 frame source mac ca02.4f08.0000 dest mac ca03.5d5c.0000 is encapsulate in l3 packet
source IP 172.10.1.1 dest IP 172.20.1.1
Configuring a VXLAN with Cumulus
8

More Related Content

What's hot

Introduction to vxlan
Introduction to vxlanIntroduction to vxlan
Introduction to vxlan
Mohammed Umair
 
PLNOG15: Is there something less complicated than connecting two LAN networks...
PLNOG15: Is there something less complicated than connecting two LAN networks...PLNOG15: Is there something less complicated than connecting two LAN networks...
PLNOG15: Is there something less complicated than connecting two LAN networks...
PROIDEA
 
Vxlan frame format and forwarding
Vxlan frame format and forwardingVxlan frame format and forwarding
Vxlan frame format and forwarding
Mohammed Umair
 
An Overview of Linux Networking Options
An Overview of Linux Networking OptionsAn Overview of Linux Networking Options
An Overview of Linux Networking Options
Scott Lowe
 
VXLAN
VXLANVXLAN
VXLAN
SAliyev1
 
Sdnds tw-meetup-2
Sdnds tw-meetup-2Sdnds tw-meetup-2
Sdnds tw-meetup-2
Fei Ji Siao
 
Open vSwitch Implementation Options
Open vSwitch Implementation Options Open vSwitch Implementation Options
Open vSwitch Implementation Options
Netronome
 
OVS-NFV Tutorial
OVS-NFV TutorialOVS-NFV Tutorial
Open VSwitch .. Use it for your day to day needs
Open VSwitch .. Use it for your day to day needsOpen VSwitch .. Use it for your day to day needs
Open VSwitch .. Use it for your day to day needs
rranjithrajaram
 
Dynamische Routingprotokolle Aufzucht und Pflege - OSPF
Dynamische Routingprotokolle Aufzucht und Pflege - OSPFDynamische Routingprotokolle Aufzucht und Pflege - OSPF
Dynamische Routingprotokolle Aufzucht und Pflege - OSPF
Maximilan Wilhelm
 
Tech Talk by Ben Pfaff: Open vSwitch - Part 2
Tech Talk by Ben Pfaff: Open vSwitch - Part 2Tech Talk by Ben Pfaff: Open vSwitch - Part 2
Tech Talk by Ben Pfaff: Open vSwitch - Part 2
nvirters
 
Virtual Extensible LAN (VXLAN)
Virtual Extensible LAN (VXLAN)Virtual Extensible LAN (VXLAN)
Virtual Extensible LAN (VXLAN)
KHNOG
 
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration
James Denton
 
Docker networking basics & coupling with Software Defined Networks
Docker networking basics & coupling with Software Defined NetworksDocker networking basics & coupling with Software Defined Networks
Docker networking basics & coupling with Software Defined Networks
Adrien Blind
 
Elephants and Mice
Elephants and MiceElephants and Mice
Elephants and Mice
martin_casado
 
Linux Networking Explained
Linux Networking ExplainedLinux Networking Explained
Linux Networking Explained
Thomas Graf
 
Docker Multihost Networking
Docker Multihost Networking Docker Multihost Networking
Docker Multihost Networking
Nicola Kabar
 
20171010 multitenancy in openshift
20171010 multitenancy in openshift20171010 multitenancy in openshift
20171010 multitenancy in openshift
Smals
 
Docker networking tutorial 102
Docker networking tutorial 102Docker networking tutorial 102
Docker networking tutorial 102
LorisPack Project
 
LF_OVS_17_Ingress Scheduling
LF_OVS_17_Ingress SchedulingLF_OVS_17_Ingress Scheduling
LF_OVS_17_Ingress Scheduling
LF_OpenvSwitch
 

What's hot (20)

Introduction to vxlan
Introduction to vxlanIntroduction to vxlan
Introduction to vxlan
 
PLNOG15: Is there something less complicated than connecting two LAN networks...
PLNOG15: Is there something less complicated than connecting two LAN networks...PLNOG15: Is there something less complicated than connecting two LAN networks...
PLNOG15: Is there something less complicated than connecting two LAN networks...
 
Vxlan frame format and forwarding
Vxlan frame format and forwardingVxlan frame format and forwarding
Vxlan frame format and forwarding
 
An Overview of Linux Networking Options
An Overview of Linux Networking OptionsAn Overview of Linux Networking Options
An Overview of Linux Networking Options
 
VXLAN
VXLANVXLAN
VXLAN
 
Sdnds tw-meetup-2
Sdnds tw-meetup-2Sdnds tw-meetup-2
Sdnds tw-meetup-2
 
Open vSwitch Implementation Options
Open vSwitch Implementation Options Open vSwitch Implementation Options
Open vSwitch Implementation Options
 
OVS-NFV Tutorial
OVS-NFV TutorialOVS-NFV Tutorial
OVS-NFV Tutorial
 
Open VSwitch .. Use it for your day to day needs
Open VSwitch .. Use it for your day to day needsOpen VSwitch .. Use it for your day to day needs
Open VSwitch .. Use it for your day to day needs
 
Dynamische Routingprotokolle Aufzucht und Pflege - OSPF
Dynamische Routingprotokolle Aufzucht und Pflege - OSPFDynamische Routingprotokolle Aufzucht und Pflege - OSPF
Dynamische Routingprotokolle Aufzucht und Pflege - OSPF
 
Tech Talk by Ben Pfaff: Open vSwitch - Part 2
Tech Talk by Ben Pfaff: Open vSwitch - Part 2Tech Talk by Ben Pfaff: Open vSwitch - Part 2
Tech Talk by Ben Pfaff: Open vSwitch - Part 2
 
Virtual Extensible LAN (VXLAN)
Virtual Extensible LAN (VXLAN)Virtual Extensible LAN (VXLAN)
Virtual Extensible LAN (VXLAN)
 
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration
2014 OpenStack Summit - Neutron OVS to LinuxBridge Migration
 
Docker networking basics & coupling with Software Defined Networks
Docker networking basics & coupling with Software Defined NetworksDocker networking basics & coupling with Software Defined Networks
Docker networking basics & coupling with Software Defined Networks
 
Elephants and Mice
Elephants and MiceElephants and Mice
Elephants and Mice
 
Linux Networking Explained
Linux Networking ExplainedLinux Networking Explained
Linux Networking Explained
 
Docker Multihost Networking
Docker Multihost Networking Docker Multihost Networking
Docker Multihost Networking
 
20171010 multitenancy in openshift
20171010 multitenancy in openshift20171010 multitenancy in openshift
20171010 multitenancy in openshift
 
Docker networking tutorial 102
Docker networking tutorial 102Docker networking tutorial 102
Docker networking tutorial 102
 
LF_OVS_17_Ingress Scheduling
LF_OVS_17_Ingress SchedulingLF_OVS_17_Ingress Scheduling
LF_OVS_17_Ingress Scheduling
 

Similar to VXLAN with Cumulus

Icnd210 s04l01
Icnd210 s04l01Icnd210 s04l01
Icnd210 s04l01
computerlenguyen
 
Lab 9 instructions
Lab 9 instructionsLab 9 instructions
Lab 9 instructions
trayyoo
 
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdfLab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
EnRios1
 
Thebasicintroductionofopenvswitch
ThebasicintroductionofopenvswitchThebasicintroductionofopenvswitch
Thebasicintroductionofopenvswitch
Ramses Ramirez
 
Openstack openswitch basics
Openstack openswitch basicsOpenstack openswitch basics
Openstack openswitch basics
nshah061
 
Lab 3.5.1 basic frame relay
Lab 3.5.1 basic frame relayLab 3.5.1 basic frame relay
Lab 3.5.1 basic frame relay
Manuel Garcia Meza
 
Automating auto-scaled load balancer based on linux and vm orchestrator
Automating auto-scaled load balancer based on linux and vm orchestratorAutomating auto-scaled load balancer based on linux and vm orchestrator
Automating auto-scaled load balancer based on linux and vm orchestrator
Andrew Yongjoon Kong
 
Packettracersimulationlabl3routing 130306235157-phpapp02
Packettracersimulationlabl3routing 130306235157-phpapp02Packettracersimulationlabl3routing 130306235157-phpapp02
Packettracersimulationlabl3routing 130306235157-phpapp02
A.S.M Shmimul Islam.
 
VXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building BlocksVXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building Blocks
APNIC
 
Cisco CCNA- How to Configure Multi-Layer Switch
Cisco CCNA- How to Configure Multi-Layer SwitchCisco CCNA- How to Configure Multi-Layer Switch
Cisco CCNA- How to Configure Multi-Layer Switch
Hamed Moghaddam
 
VoiceBootcamp Ccnp collaboration lab guide v1.0 sample
VoiceBootcamp Ccnp collaboration lab guide v1.0 sampleVoiceBootcamp Ccnp collaboration lab guide v1.0 sample
VoiceBootcamp Ccnp collaboration lab guide v1.0 sample
Faisal Khan
 
CCIE R&S Real Lab Workbbok 2018 updated
CCIE R&S Real Lab Workbbok 2018 updatedCCIE R&S Real Lab Workbbok 2018 updated
CCIE R&S Real Lab Workbbok 2018 updated
CCIERNSTRICKS.COM
 
CCIE R&S Real TS-1 Config
CCIE R&S Real TS-1 ConfigCCIE R&S Real TS-1 Config
CCIE R&S Real TS-1 Config
CCIERNSTRICKS.COM
 
CCIE R&S Real Lab H3 Config
CCIE R&S Real Lab H3 ConfigCCIE R&S Real Lab H3 Config
CCIE R&S Real Lab H3 Config
CCIERNSTRICKS.COM
 
CCIE R&S Real Lab H2 Config
CCIE R&S Real Lab H2 ConfigCCIE R&S Real Lab H2 Config
CCIE R&S Real Lab H2 Config
CCIERNSTRICKS.COM
 
CCIE R&S Real Lab H1 Config
CCIE R&S Real Lab H1 ConfigCCIE R&S Real Lab H1 Config
CCIE R&S Real Lab H1 Config
CCIERNSTRICKS.COM
 
CCIE Lab - IGP Routing
CCIE Lab -  IGP Routing  CCIE Lab -  IGP Routing
CCIE Lab - IGP Routing
Kristof De Brouwer
 

Similar to VXLAN with Cumulus (20)

Icnd210 s04l01
Icnd210 s04l01Icnd210 s04l01
Icnd210 s04l01
 
Lab 9 instructions
Lab 9 instructionsLab 9 instructions
Lab 9 instructions
 
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdfLab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
 
Thebasicintroductionofopenvswitch
ThebasicintroductionofopenvswitchThebasicintroductionofopenvswitch
Thebasicintroductionofopenvswitch
 
Openstack openswitch basics
Openstack openswitch basicsOpenstack openswitch basics
Openstack openswitch basics
 
Lab 3.5.1 basic frame relay
Lab 3.5.1 basic frame relayLab 3.5.1 basic frame relay
Lab 3.5.1 basic frame relay
 
Automating auto-scaled load balancer based on linux and vm orchestrator
Automating auto-scaled load balancer based on linux and vm orchestratorAutomating auto-scaled load balancer based on linux and vm orchestrator
Automating auto-scaled load balancer based on linux and vm orchestrator
 
Packettracersimulationlabl3routing 130306235157-phpapp02
Packettracersimulationlabl3routing 130306235157-phpapp02Packettracersimulationlabl3routing 130306235157-phpapp02
Packettracersimulationlabl3routing 130306235157-phpapp02
 
Ccna2 project
Ccna2 projectCcna2 project
Ccna2 project
 
VXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building BlocksVXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building Blocks
 
Cisco CCNA- How to Configure Multi-Layer Switch
Cisco CCNA- How to Configure Multi-Layer SwitchCisco CCNA- How to Configure Multi-Layer Switch
Cisco CCNA- How to Configure Multi-Layer Switch
 
VoiceBootcamp Ccnp collaboration lab guide v1.0 sample
VoiceBootcamp Ccnp collaboration lab guide v1.0 sampleVoiceBootcamp Ccnp collaboration lab guide v1.0 sample
VoiceBootcamp Ccnp collaboration lab guide v1.0 sample
 
CCIE R&S Real Lab Workbbok 2018 updated
CCIE R&S Real Lab Workbbok 2018 updatedCCIE R&S Real Lab Workbbok 2018 updated
CCIE R&S Real Lab Workbbok 2018 updated
 
CCIE R&S Real TS-1 Config
CCIE R&S Real TS-1 ConfigCCIE R&S Real TS-1 Config
CCIE R&S Real TS-1 Config
 
CCIE R&S Real Lab H3 Config
CCIE R&S Real Lab H3 ConfigCCIE R&S Real Lab H3 Config
CCIE R&S Real Lab H3 Config
 
CCIE R&S Real Lab H2 Config
CCIE R&S Real Lab H2 ConfigCCIE R&S Real Lab H2 Config
CCIE R&S Real Lab H2 Config
 
CCIE R&S Real Lab H1 Config
CCIE R&S Real Lab H1 ConfigCCIE R&S Real Lab H1 Config
CCIE R&S Real Lab H1 Config
 
Switching
SwitchingSwitching
Switching
 
Lab6.4.1
Lab6.4.1Lab6.4.1
Lab6.4.1
 
CCIE Lab - IGP Routing
CCIE Lab -  IGP Routing  CCIE Lab -  IGP Routing
CCIE Lab - IGP Routing
 

Recently uploaded

This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
Output determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CCOutput determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CC
ShahulHameed54211
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
natyesu
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Sanjeev Rampal
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptxLiving-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
TristanJasperRamos
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
Himani415946
 

Recently uploaded (16)

This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
Output determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CCOutput determination SAP S4 HANA SAP SD CC
Output determination SAP S4 HANA SAP SD CC
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptxLiving-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
Living-in-IT-era-Module-7-Imaging-and-Design-for-Social-Impact.pptx
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
 

VXLAN with Cumulus

  • 1. 1 Configuring a VXLAN with Cumulus This is the physical topology created on GNS3 to realize a VXLAN TUNNEL SWITCH 1/2 are Cumulus Vx version 2.5.3 running in virtual Box each with 5 interfaces Intel PRO/1000 MT R1/2/3 are router Cisco version c7200 working as workstation each of them has been configured with IP
  • 2. Configuring a VXLAN with Cumulus 2 The image below is the logical topology resulting from physical
  • 3. Configuring a VXLAN with Cumulus 3 Main components of logical topology are: • A layer 3 connection between SWITCH1 and SWITCH2 realized with OSPF protocol working on Cumulus • two bridge BR created on SWITCH1 and SWITCH2 connected to R1 R2 and R3 by swp2 swp3 • tunnel VXLAN create between the two bridge BR using VTEP( VXLAN Tunnel Endpoint) interface for frame encapsulation Let's see how work it out step by step STEP1 - Creating layer 3 infrastructure On SWITCH1 we're going to create a loopback interface and assign an IP address and assign an IP address to interface swp1 auto lo iface lo inet loopback address 172.10.1.1 netmask 255.255.255.255
  • 4. Configuring a VXLAN with Cumulus 4 auto swp1 iface swp1 inet static address 192.168.168.1 netmask 255.255.255.0 After that we need to enable ospf protocol setting zebra = yes and ospf = yes in file /etc/quagga/daemons cumulus@SWITCH1$ cat /etc/quagga/daemons zebra=yes bgpd=no ospfd=yes ospf6d=no ripd=no ripngd=no isisd=no babeld=no configuring loopback interface in area 1 and swp1 in area 0 backbone router ospf network 172.10.1.0/24 area 0.0.0.1 network 192.168.168.0/24 area 0.0.0.0 on SWITCH2 auto lo iface lo inet loopback address 172.20.1.1 netmask 255.255.255.255 auto swp1 iface swp1 inet static address 192.168.168.2 netmask 255.255.255.0 configuring loopback interface in area 2 and swp1 in area 0 backbone router ospf network 172.20.1.0/24 area 0.0.0.2 network 192.168.168.0/24 area 0.0.0.0 In SWITCH1 there will be a rote to 172.20.1.1 cumulus@SWITCH1$ sudo vtysh sudo: unable to resolve host SWITCH1 [sudo] password for cumulus:
  • 5. Configuring a VXLAN with Cumulus 5 Hello, this is Quagga (version 0.99.23.1). Copyright 1996-2005 Kunihiro Ishiguro, et al. SWITCH1# sh ip ro Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, A - Babel, T - Table, > - selected route, * - FIB route K>* 0.0.0.0/0 via 10.0.2.2, eth0 C>* 10.0.2.0/24 is directly connected, eth0 O 172.10.1.1/32 [110/10] is directly connected, lo, 04:26:32 C>* 172.10.1.1/32 is directly connected, lo O>* 172.20.1.1/32 [110/20] via 192.168.168.2, swp1, 04:26:18 O 192.168.168.0/24 [110/10] is directly connected, swp1, 04:26:32 C>* 192.168.168.0/24 is directly connected, swp1 In SWITCH2 there will be a rote to 172.10.1.1 cumulus@SWITCH2$ sudo vtysh sudo: unable to resolve host SWITCH2 [sudo] password for cumulus: Hello, this is Quagga (version 0.99.23.1). Copyright 1996-2005 Kunihiro Ishiguro, et al. SWITCH2# sh ip ro Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, A - Babel, T - Table, > - selected route, * - FIB route K>* 0.0.0.0/0 via 10.0.2.2, eth0 C>* 10.0.2.0/24 is directly connected, eth0 O>* 172.10.1.1/32 [110/20] via 192.168.168.1, swp1, 04:24:45 O 172.20.1.1/32 [110/10] is directly connected, lo, 04:51:40 C>* 172.20.1.1/32 is directly connected, lo O 192.168.168.0/24 [110/10] is directly connected, swp1, 04:51:40 C>* 192.168.168.0/24 is directly connected, swp1
  • 6. Configuring a VXLAN with Cumulus 6 SWITCH1# ping 172.20.1.1 PING 172.20.1.1 (172.20.1.1) 56(84) bytes of data. 64 bytes from 172.20.1.1: icmp_req=1 ttl=64 time=0.571 ms 64 bytes from 172.20.1.1: icmp_req=2 ttl=64 time=0.465 ms ^C When a layer3 infrastructure is ready we can configure Cumulus Switch On SWITCH1 we're going to create a bridge br with swp2 and swp3 and vetp1000 Vtep1000 is an interface which permits to reach IP 10.1.1.3 configured on fa 0/0 on R3 ( mac address ca:03:5d:5c:00:00 ) Layer 2 Traffic to R3 is incapsuled in layer3 packet with source IP 172.10.1.1 dest IP 172.20.1.1 and VXLAN network indentifier 1000 auto vtep1000 iface vtep1000 inet static vxlan-id 1000 vxlan-local-tunnelip 172.10.1.1 auto br iface br bridge-ports swp2 swp3 vtep1000 post-up bridge fdb add ca:03:5d:5c:00:00 dev vtep1000 dst 172.20.1.1 vni 1000 On SWITCH2 we're going to create a bridge br with swp2 and swp3 and vetp1000 Vtep1000 is an interface which permits to reach IP 10.1.1.1 and 10.1.1.2 configured on fa 0/0 of R1 and R2 ( respectively mac address ca:01:45:0c:00:00 and ca:01:4f:0c:00:00 ) Layer 2 Traffic to R1 and R2 is incapsuled in layer3 packet with source IP 172.20.1.1 dest IP 172.10.1.1 and VXLAN network indentifier 1000 auto vtep1000 iface vtep1000 inet static vxlan-id 1000 vxlan-local-tunnelip 172.20.1.1 auto br iface br
  • 7. Configuring a VXLAN with Cumulus 7 bridge-ports swp2 swp3 vtep1000 post-up bridge fdb add ca:01:45:0c:00:00 dev vtep1000 dst 172.10.1.1 vni 1000 post-up bridge fdb add ca:02:4f:08:00:00 dev vtep1000 dst 172.10.1.1 vni 1000 On R1,R2 and R3 we need to configure IP ! on R1 interface FastEthernet0/0 ip address 10.1.1.1 255.255.255.0 ! onR2 interface FastEthernet0/0 ip address 10.1.1.2 255.255.255.0 !R3 interface FastEthernet0/0 ip address 10.1.1.3 255.255.255.0 and arp resolution !R1 and R2 arp 10.1.1.3 ca03.5d5c.0000 ARPA !R3 arp 10.1.1.1 ca01.450c.0000 ARPA arp 10.1.1.2 ca02.4f08.0000 ARPA In the end we can test our infrastructure with ping from R2 to R3 As we can see l2 frame source mac ca02.4f08.0000 dest mac ca03.5d5c.0000 is encapsulate in l3 packet source IP 172.10.1.1 dest IP 172.20.1.1
  • 8. Configuring a VXLAN with Cumulus 8