SlideShare uma empresa Scribd logo
1 de 33
Networking in Openstack - Neutron 101
Mochamad Taufik Romdony
Cloud Network & Datacenter Engineer
Openstack Indonesia - Meetup #6
Bandung, 2019::10:26
My Journey
2012 2013 20192016
Agenda
• History of cloud computing
• Openstack Introduction
• About Openstack
• Openstack Core Service
• Openstack Neutron
• Neutron Architecture
• Neutron plugin & service
The History of cloud computing
Openstack Indonesia Meetup #6
Bandung, 26/10/2019
The History of cloud computing
1950
Mainframe
1969
J.C.R.
Licklider
developed the
ARPANET
1970
IBM
released
VMs
1960
John McCarthy,
Douglas Parkhill
“idea of time-
sharing
computing”
1980 - 1990
● Apple launches Macintosh,
Microsoft launches Windows
● FOSS, GNU/Linux
● CERN launches WWW
● Web hosting service provider
began intern infrastructure
2006
AWS launches
S3 & EC2
1999 - 2005 Server Virtualization
- 1999, VMware introduced the x86 virtualization
- 2000, Xen the open-source x86 hypervisor,
- 2005, Intel released two models of Pentium 4 as
the first Intel processors to support VT-x
- 2007, the Kernel-based Virtual Machine (KVM)
hypervisor created included in the Linux kernel
2010
Rackspace Hosting and NASA, launched the
open source cloud initiative OpenStack
Now
Public cloud, big data, machine learning, IOT,
software defined everything and more
Cloud Service Model
Cloud Deployment Model
Openstack Introduction
Openstack Indonesia Meetup #6
Bandung, 26/10/2019
Openstack History
https://www.nasa.gov/home/hqnews/2010/jul/HQ_10-172_Nebula_Initiative.html
What is Openstack?
OpenStack is a cloud operating system that
controls large pools of compute, storage,
and networking resources throughout a
datacenter, all managed and provisioned
through APIs with common authentication
mechanisms.
Openstack Landscape
OpenStack is broken
up into services to
allow you to plug and
play components
depending on your
needs. The openstack
map gives you an “at
a glance” view of the
openstack landscape
to see where those
services fit and how
they can work
together
Network as a service in Openstack
Openstack Indonesia Meetup #6
Bandung, 26/10/2019
History of Openstack Networking
● In the first openstack release Austin (Oct 2010) the
networking functionality was hard-coded into Nova
● Networking and compute features could not be updated
independently
● Quantum was added as a separate networking service as
part of the Folsom (Sept 2012) release
● The name of networking project was changed to Neutron
as part Havana (Oct 2013) release
● The name change was due to a trademark conflict
● With Neutron, Networking became modular and could
evolve independently
What is Neutron?
● Neutron is networking-as-a-service project in openstack
● Neutron has a server component running on the controller
node
● Neutron has a set of APIs, Plugins, SQL DB and
authentication software
● Neutron has several distributed agent programs
● Neutron enables network devices and technologies to
work together in IaaS environment
Neutron Configuration Overview
Virtual Router
Floating IP/SNAT
Virtual L2 Network
Virtual Subnet
Virtual Port
Virtual Interface
(VIF)
Virtual Server
Namespace
Basic functions of Neutron
● L2 network
Create L2 network between multiple Nova
Compute
● L3 network
Virtual network routing, external network
connection, SNAT, Floating IP
● DHCP server
DHCP server that assigns IP addresses to
virtual machines
● Metadata
Acts as a proxy for the metadata server
Basic functions of Neutron - Cont
● L2 network
Create L2 network between multiple Nova
Compute
● L3 network
Virtual network routing, external network
connection, SNAT, Floating IP
● DHCP server
DHCP server that assigns IP addresses to
virtual machines
● Metadata
Acts as a proxy for the metadata server
Type of Network Traffic
● Management
Internal communication
between services
● API
Exposes Openstack APIs
to users of the cloud
● Guest
A network dedicated to
instance traffic
● External
Provides neutron routers
with network access
Neutron Architecture
Neutron Plugin
● Open vSwitch Plugin
● Cisco UCS/Nexus Plugin
● Cisco Nexus1000v Plugin
● Linux Bridge Plugin
● Modular Layer 2 Plugin (ML2 Plugin)
● Nicira Network Virtualization Platform (NVP) Plugin
● Ryu OpenFlow Controller Plugin
● NEC OpenFlow Plugin
● Big Switch Controller Plugin
● Brocade Neutron Plugin Brocade Neutron Plugin
● Cloudbase Hyper-V Plugin
● OpenContrail/Tungsten Fabric Plugin
● Nuage Networks Plugin
● CPLANE NETWORKS CPLANE NETWORKS
● IBM SDN-VE Plugin
● Embrane Neutron Plugin
● Mellanox Neutron Plugin Mellanox Neutron Plugin
● PLUMgrid Plugin
ML2 Plugin
Openstack Indonesia Meetup #6
Bandung, 26/10/2019
What is ML2 Plugin?
The Modular Layer 2 (ml2) plugin
is a framework allowing
OpenStack Networking to
simultaneously utilize the variety of
layer 2 networking technologies
found in complex real-world data
centers.
Neutron ML2 Plugin
● Type Driver
○ Flat
○ VLAN
○ GRE
○ VXLAN
● Mechanism Driver
○ Open vSwitch
○ Linux Bridge
○ L2 Population
○ Specialized (opensource &
vendor)
ML2 Plugin
Type drivers Mechanism drivers
F
L
A
T
V
L
A
N
V
X
L
A
N
G
R
E
OpenvSwitch
LinuxBridge
L2Population
Specialized
ML2 Architecture
Neutron ML2 Plugin - Cont
● Type Driver : which tells it what type of L2 technology to use when implementing the networking. For
example, there is an option of using VLANs, VXLAN, or GRE Tunneling
○ Local: A local network is a network that can only be realized on a single host. This is only used in proof-
of-concept or development environments, because just about any other OpenStack environment will
have multiple compute hosts and/or a separate network host
○ Flat: A flat network is a network that does not provide any segmentation options. A traditional L2
ethernet network is a "flat" network. Any servers attached to this network are able to see the same
broadcast traffic and can contact each other without requiring a router. flat networks are often used to
attach Nova servers to an existing L2 network (this is called a "provider network")
○ VLAN: In a VLAN network, tenants are separated because each is assigned to a VLAN. In OpenVSwitch
plugin (or ML2 with OVS driver), OVS will in the virtual switches allocate an internal VLAN for each
tenant
○ GRE: GRE tunnels encapsulate isolated layer 2 network traffic in IP packets that are routed between
compute and networking nodes using the hosts' network connectivity and routing tables
○ VXLAN: gre and vxlan networks are very similar. They are both "overylay" networks that work by
encapsulating network traffic. Like vlan networks, each network you create receives a unique tunnel id
● Mechanism Driver: which specifies what driver to use to implement the technology. You can use the
default Open vSwitch driver (which is what we will cover).
Process of Instance creation
1
Sending
API
Request
2
Authentication
request
3
Authentication ACK & validates if
provided data is correct
4
6
5
Update DB
7
Select compute host
8
Update DB
9
Request glance
image
11 Create port (Mac - iP)
10
Glance image
download
12 Notify L2 agent
13 Configure local VLAN and Flows
14 send port up notification (RPC: L2 agent to neutron)
15 port up (RPC: Neutron to NOVA)
16 Instance Booted
L2 Agent
Openstack Nova compute
Openstack glance API
Openstack glance registry
Neutron Server
Neutron L3 Agent
Neutron DHCP agent
Network Troubleshooting
Openstack Indonesia Meetup #6
Bandung, 26/10/2019
Debugging network issues
● ip a shows status of all physical and virtual devices
● ovs-vsctl show shows interfaces and bridges in thevirtual switch
● ovs-dpctl show shows datapaths on the switch
● Tcp dump
○ tcpdump -n -i <interface> -w <filename>
○ Set interface to vnet device, instance eth0, bridge device, or host ethernet
device to see where packets are not getting through
○ -i any for all interfaces
● iptables -L to check iptables rules
● ip netns list – lists all known network namespaces
● ip netns exec <namespace id> route -n
○ Shows routing table inside specific namespace
○ Execute arbitrary commands (incl. ssh, ping)
Debugging networking issues: DHCP
Scenario: Instance is not getting IP address
Step 1: nova console-log <instance name>, DHCP request sent, no reply received
Step 2: Verify neutron-dhcp-agent is running
Step 3: Check host logs (/var/log/messages and
/var/log/neutron/*)
Step 4: If host is not seeing DHCP traffic: tcpdump -i
all | grep -i dhcp
Debugging networking issues:
Access/routingScenario: I can't SSH into an instance
Step 1: Security groups: port 22 TCP & all ICMP
allowed?
Step 2: Is floating IP address routable from client?
● route -n on client
● Verify that public subnet in OpenStack is accessible from client (eg. for local
LAN, that it matches 192.168.0.0/24)
Step 3: Bridges OK?
Closing
Doing nothing at all vs. making very small consistent efforts
Networking in Openstack - Neutron 101
Networking in Openstack - Neutron 101

Mais conteúdo relacionado

Mais procurados

Introduction to OpenFlow, SDN and NFV
Introduction to OpenFlow, SDN and NFVIntroduction to OpenFlow, SDN and NFV
Introduction to OpenFlow, SDN and NFV
Kingston Smiler
 

Mais procurados (20)

Introduction to OpenFlow, SDN and NFV
Introduction to OpenFlow, SDN and NFVIntroduction to OpenFlow, SDN and NFV
Introduction to OpenFlow, SDN and NFV
 
[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개
[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개
[OpenInfra Days Korea 2018] (Track 2) Neutron LBaaS 어디까지 왔니? - Octavia 소개
 
NFV +SDN (Network Function Virtualization)
NFV +SDN (Network Function Virtualization)NFV +SDN (Network Function Virtualization)
NFV +SDN (Network Function Virtualization)
 
Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
 
Large scale overlay networks with ovn: problems and solutions
Large scale overlay networks with ovn: problems and solutionsLarge scale overlay networks with ovn: problems and solutions
Large scale overlay networks with ovn: problems and solutions
 
Interconnecting Neutron and Network Operators' BGP VPNs
Interconnecting Neutron and Network Operators' BGP VPNsInterconnecting Neutron and Network Operators' BGP VPNs
Interconnecting Neutron and Network Operators' BGP VPNs
 
Open vSwitch Introduction
Open vSwitch IntroductionOpen vSwitch Introduction
Open vSwitch Introduction
 
The Juniper SDN Landscape
The Juniper SDN LandscapeThe Juniper SDN Landscape
The Juniper SDN Landscape
 
Zabbix for Monitoring
Zabbix for MonitoringZabbix for Monitoring
Zabbix for Monitoring
 
Kubernetes Networking 101
Kubernetes Networking 101Kubernetes Networking 101
Kubernetes Networking 101
 
OpenvSwitch Deep Dive
OpenvSwitch Deep DiveOpenvSwitch Deep Dive
OpenvSwitch Deep Dive
 
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
KVM High Availability Regardless of Storage - Gabriel Brascher, VP of Apache ...
 
Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)
 
OpenStack Neutron's Distributed Virtual Router
OpenStack Neutron's Distributed Virtual RouterOpenStack Neutron's Distributed Virtual Router
OpenStack Neutron's Distributed Virtual Router
 
OpenShift 4 installation
OpenShift 4 installationOpenShift 4 installation
OpenShift 4 installation
 
OpenSync: Open Source for Cloud to Device Enabled Services
OpenSync: Open Source for Cloud to Device Enabled ServicesOpenSync: Open Source for Cloud to Device Enabled Services
OpenSync: Open Source for Cloud to Device Enabled Services
 
Quick and Solid - Baremetal on OpenStack | Rico Lin
Quick and Solid - Baremetal on OpenStack | Rico LinQuick and Solid - Baremetal on OpenStack | Rico Lin
Quick and Solid - Baremetal on OpenStack | Rico Lin
 
ONOS: Open Network Operating System. An Open-Source Distributed SDN Operating...
ONOS: Open Network Operating System. An Open-Source Distributed SDN Operating...ONOS: Open Network Operating System. An Open-Source Distributed SDN Operating...
ONOS: Open Network Operating System. An Open-Source Distributed SDN Operating...
 
Kvm virtualization platform
Kvm virtualization platformKvm virtualization platform
Kvm virtualization platform
 
Virtualization Architecture & KVM
Virtualization Architecture & KVMVirtualization Architecture & KVM
Virtualization Architecture & KVM
 

Semelhante a Networking in Openstack - Neutron 101

Openstack Neutron and SDN
Openstack Neutron and SDNOpenstack Neutron and SDN
Openstack Neutron and SDN
inakipascual
 
Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...
Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...
Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...
Công TÔ
 
SDN & NFV Introduction - Open Source Data Center Networking
SDN & NFV Introduction - Open Source Data Center NetworkingSDN & NFV Introduction - Open Source Data Center Networking
SDN & NFV Introduction - Open Source Data Center Networking
Thomas Graf
 

Semelhante a Networking in Openstack - Neutron 101 (20)

OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013OpenStack Neutron Havana Overview - Oct 2013
OpenStack Neutron Havana Overview - Oct 2013
 
neutron_icehouse_update
neutron_icehouse_updateneutron_icehouse_update
neutron_icehouse_update
 
Quantum - Virtual networks for Openstack
Quantum - Virtual networks for OpenstackQuantum - Virtual networks for Openstack
Quantum - Virtual networks for Openstack
 
OpenStack Networking and Automation
OpenStack Networking and AutomationOpenStack Networking and Automation
OpenStack Networking and Automation
 
Openstack Workshop (Networking/Storage)
Openstack Workshop (Networking/Storage)Openstack Workshop (Networking/Storage)
Openstack Workshop (Networking/Storage)
 
OpenStack Neutron: What's New In Kilo and a Look Toward Liberty
OpenStack Neutron: What's New In Kilo and a Look Toward LibertyOpenStack Neutron: What's New In Kilo and a Look Toward Liberty
OpenStack Neutron: What's New In Kilo and a Look Toward Liberty
 
MidoNet gives OpenStack Neutron a Boost
MidoNet gives OpenStack Neutron a BoostMidoNet gives OpenStack Neutron a Boost
MidoNet gives OpenStack Neutron a Boost
 
Openstack Neutron and SDN
Openstack Neutron and SDNOpenstack Neutron and SDN
Openstack Neutron and SDN
 
Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...
Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...
Yechielthur1100red hat-cloud-infrastructure-networking-deep-dive-140417165107...
 
OpenStack and OpenDaylight Workshop: ONUG Spring 2014
OpenStack and OpenDaylight Workshop: ONUG Spring 2014OpenStack and OpenDaylight Workshop: ONUG Spring 2014
OpenStack and OpenDaylight Workshop: ONUG Spring 2014
 
SDN & NFV Introduction - Open Source Data Center Networking
SDN & NFV Introduction - Open Source Data Center NetworkingSDN & NFV Introduction - Open Source Data Center Networking
SDN & NFV Introduction - Open Source Data Center Networking
 
Network Virtualization & Software-defined Networking
Network Virtualization & Software-defined NetworkingNetwork Virtualization & Software-defined Networking
Network Virtualization & Software-defined Networking
 
Building a sdn solution for the deployment of web application stacks in docker
Building a sdn solution for the deployment of web application stacks in dockerBuilding a sdn solution for the deployment of web application stacks in docker
Building a sdn solution for the deployment of web application stacks in docker
 
Neutron behind the scenes
Neutron   behind the scenesNeutron   behind the scenes
Neutron behind the scenes
 
Open stack networking_101_update_2014
Open stack networking_101_update_2014Open stack networking_101_update_2014
Open stack networking_101_update_2014
 
Open stack wtf_(1)
Open stack  wtf_(1)Open stack  wtf_(1)
Open stack wtf_(1)
 
MidoNet Overview - OpenStack and SDN integration
MidoNet Overview - OpenStack and SDN integrationMidoNet Overview - OpenStack and SDN integration
MidoNet Overview - OpenStack and SDN integration
 
Openstack Neutron Insights
Openstack Neutron InsightsOpenstack Neutron Insights
Openstack Neutron Insights
 
Open stack networking_101_update_2014-os-meetups
Open stack networking_101_update_2014-os-meetupsOpen stack networking_101_update_2014-os-meetups
Open stack networking_101_update_2014-os-meetups
 
OpenDaylight Netvirt and Neutron - Mike Kolesnik, Josh Hershberg - OpenStack ...
OpenDaylight Netvirt and Neutron - Mike Kolesnik, Josh Hershberg - OpenStack ...OpenDaylight Netvirt and Neutron - Mike Kolesnik, Josh Hershberg - OpenStack ...
OpenDaylight Netvirt and Neutron - Mike Kolesnik, Josh Hershberg - OpenStack ...
 

Último

( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
nilamkumrai
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
nirzagarg
 
💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
nirzagarg
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
imonikaupta
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 

Último (20)

Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
 
💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Salem Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
 
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 

Networking in Openstack - Neutron 101

  • 1. Networking in Openstack - Neutron 101 Mochamad Taufik Romdony Cloud Network & Datacenter Engineer Openstack Indonesia - Meetup #6 Bandung, 2019::10:26
  • 3. Agenda • History of cloud computing • Openstack Introduction • About Openstack • Openstack Core Service • Openstack Neutron • Neutron Architecture • Neutron plugin & service
  • 4. The History of cloud computing Openstack Indonesia Meetup #6 Bandung, 26/10/2019
  • 5. The History of cloud computing 1950 Mainframe 1969 J.C.R. Licklider developed the ARPANET 1970 IBM released VMs 1960 John McCarthy, Douglas Parkhill “idea of time- sharing computing” 1980 - 1990 ● Apple launches Macintosh, Microsoft launches Windows ● FOSS, GNU/Linux ● CERN launches WWW ● Web hosting service provider began intern infrastructure 2006 AWS launches S3 & EC2 1999 - 2005 Server Virtualization - 1999, VMware introduced the x86 virtualization - 2000, Xen the open-source x86 hypervisor, - 2005, Intel released two models of Pentium 4 as the first Intel processors to support VT-x - 2007, the Kernel-based Virtual Machine (KVM) hypervisor created included in the Linux kernel 2010 Rackspace Hosting and NASA, launched the open source cloud initiative OpenStack Now Public cloud, big data, machine learning, IOT, software defined everything and more
  • 8. Openstack Introduction Openstack Indonesia Meetup #6 Bandung, 26/10/2019
  • 10. What is Openstack? OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a datacenter, all managed and provisioned through APIs with common authentication mechanisms.
  • 11. Openstack Landscape OpenStack is broken up into services to allow you to plug and play components depending on your needs. The openstack map gives you an “at a glance” view of the openstack landscape to see where those services fit and how they can work together
  • 12. Network as a service in Openstack Openstack Indonesia Meetup #6 Bandung, 26/10/2019
  • 13. History of Openstack Networking ● In the first openstack release Austin (Oct 2010) the networking functionality was hard-coded into Nova ● Networking and compute features could not be updated independently ● Quantum was added as a separate networking service as part of the Folsom (Sept 2012) release ● The name of networking project was changed to Neutron as part Havana (Oct 2013) release ● The name change was due to a trademark conflict ● With Neutron, Networking became modular and could evolve independently
  • 14. What is Neutron? ● Neutron is networking-as-a-service project in openstack ● Neutron has a server component running on the controller node ● Neutron has a set of APIs, Plugins, SQL DB and authentication software ● Neutron has several distributed agent programs ● Neutron enables network devices and technologies to work together in IaaS environment
  • 15. Neutron Configuration Overview Virtual Router Floating IP/SNAT Virtual L2 Network Virtual Subnet Virtual Port Virtual Interface (VIF) Virtual Server Namespace
  • 16. Basic functions of Neutron ● L2 network Create L2 network between multiple Nova Compute ● L3 network Virtual network routing, external network connection, SNAT, Floating IP ● DHCP server DHCP server that assigns IP addresses to virtual machines ● Metadata Acts as a proxy for the metadata server
  • 17. Basic functions of Neutron - Cont ● L2 network Create L2 network between multiple Nova Compute ● L3 network Virtual network routing, external network connection, SNAT, Floating IP ● DHCP server DHCP server that assigns IP addresses to virtual machines ● Metadata Acts as a proxy for the metadata server
  • 18. Type of Network Traffic ● Management Internal communication between services ● API Exposes Openstack APIs to users of the cloud ● Guest A network dedicated to instance traffic ● External Provides neutron routers with network access
  • 20. Neutron Plugin ● Open vSwitch Plugin ● Cisco UCS/Nexus Plugin ● Cisco Nexus1000v Plugin ● Linux Bridge Plugin ● Modular Layer 2 Plugin (ML2 Plugin) ● Nicira Network Virtualization Platform (NVP) Plugin ● Ryu OpenFlow Controller Plugin ● NEC OpenFlow Plugin ● Big Switch Controller Plugin ● Brocade Neutron Plugin Brocade Neutron Plugin ● Cloudbase Hyper-V Plugin ● OpenContrail/Tungsten Fabric Plugin ● Nuage Networks Plugin ● CPLANE NETWORKS CPLANE NETWORKS ● IBM SDN-VE Plugin ● Embrane Neutron Plugin ● Mellanox Neutron Plugin Mellanox Neutron Plugin ● PLUMgrid Plugin
  • 21. ML2 Plugin Openstack Indonesia Meetup #6 Bandung, 26/10/2019
  • 22. What is ML2 Plugin? The Modular Layer 2 (ml2) plugin is a framework allowing OpenStack Networking to simultaneously utilize the variety of layer 2 networking technologies found in complex real-world data centers.
  • 23. Neutron ML2 Plugin ● Type Driver ○ Flat ○ VLAN ○ GRE ○ VXLAN ● Mechanism Driver ○ Open vSwitch ○ Linux Bridge ○ L2 Population ○ Specialized (opensource & vendor) ML2 Plugin Type drivers Mechanism drivers F L A T V L A N V X L A N G R E OpenvSwitch LinuxBridge L2Population Specialized
  • 25. Neutron ML2 Plugin - Cont ● Type Driver : which tells it what type of L2 technology to use when implementing the networking. For example, there is an option of using VLANs, VXLAN, or GRE Tunneling ○ Local: A local network is a network that can only be realized on a single host. This is only used in proof- of-concept or development environments, because just about any other OpenStack environment will have multiple compute hosts and/or a separate network host ○ Flat: A flat network is a network that does not provide any segmentation options. A traditional L2 ethernet network is a "flat" network. Any servers attached to this network are able to see the same broadcast traffic and can contact each other without requiring a router. flat networks are often used to attach Nova servers to an existing L2 network (this is called a "provider network") ○ VLAN: In a VLAN network, tenants are separated because each is assigned to a VLAN. In OpenVSwitch plugin (or ML2 with OVS driver), OVS will in the virtual switches allocate an internal VLAN for each tenant ○ GRE: GRE tunnels encapsulate isolated layer 2 network traffic in IP packets that are routed between compute and networking nodes using the hosts' network connectivity and routing tables ○ VXLAN: gre and vxlan networks are very similar. They are both "overylay" networks that work by encapsulating network traffic. Like vlan networks, each network you create receives a unique tunnel id ● Mechanism Driver: which specifies what driver to use to implement the technology. You can use the default Open vSwitch driver (which is what we will cover).
  • 26. Process of Instance creation 1 Sending API Request 2 Authentication request 3 Authentication ACK & validates if provided data is correct 4 6 5 Update DB 7 Select compute host 8 Update DB 9 Request glance image 11 Create port (Mac - iP) 10 Glance image download 12 Notify L2 agent 13 Configure local VLAN and Flows 14 send port up notification (RPC: L2 agent to neutron) 15 port up (RPC: Neutron to NOVA) 16 Instance Booted L2 Agent Openstack Nova compute Openstack glance API Openstack glance registry Neutron Server Neutron L3 Agent Neutron DHCP agent
  • 27. Network Troubleshooting Openstack Indonesia Meetup #6 Bandung, 26/10/2019
  • 28. Debugging network issues ● ip a shows status of all physical and virtual devices ● ovs-vsctl show shows interfaces and bridges in thevirtual switch ● ovs-dpctl show shows datapaths on the switch ● Tcp dump ○ tcpdump -n -i <interface> -w <filename> ○ Set interface to vnet device, instance eth0, bridge device, or host ethernet device to see where packets are not getting through ○ -i any for all interfaces ● iptables -L to check iptables rules ● ip netns list – lists all known network namespaces ● ip netns exec <namespace id> route -n ○ Shows routing table inside specific namespace ○ Execute arbitrary commands (incl. ssh, ping)
  • 29. Debugging networking issues: DHCP Scenario: Instance is not getting IP address Step 1: nova console-log <instance name>, DHCP request sent, no reply received Step 2: Verify neutron-dhcp-agent is running Step 3: Check host logs (/var/log/messages and /var/log/neutron/*) Step 4: If host is not seeing DHCP traffic: tcpdump -i all | grep -i dhcp
  • 30. Debugging networking issues: Access/routingScenario: I can't SSH into an instance Step 1: Security groups: port 22 TCP & all ICMP allowed? Step 2: Is floating IP address routable from client? ● route -n on client ● Verify that public subnet in OpenStack is accessible from client (eg. for local LAN, that it matches 192.168.0.0/24) Step 3: Bridges OK?
  • 31. Closing Doing nothing at all vs. making very small consistent efforts