GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 4: GNS3 Switching Part 10
Key Takeaways
Covers Docker, Open vSwitch, SDN, and OpenFlow with GNS3 switching
Full Transcript
in this video I'm going to show you an application of Software Defined Networking using the opendaylight controller in this example I'm going to show you how to configure an open flow patch panel so in a creative virtual patch panel in this topology [Music] in this gns3 topology I have four routers connected to an open V switch and switch so router one has this IP address write it to this router three this and rather forward this in other words they are in the 10110 slash 24 network and are connected to ports one two three and four on the open V switch switch please see my other videos which have linked below which show you how to integrate two open V switch and open daylight in gns3 in this topology I'm using the management interface of open V switch to connect it to the physical network and I've got the opendaylight controller running in VirtualBox on a PC in my physical network so opendaylight is currently running and the open V switch switch has connected to the opendaylight controller as you can see here the open V switch switch has registered and the four host devices have been picked up in open daylight so this topology represents the genus 3 topology open flow is enabled on these 4 interfaces it's not running on the management interface he has my open V switch switch OVS vs CTL show shows me details of the switch br0 is the bridge used by the jr. 3 implementation for open flow and currently it's connected to the opendaylight controller using TCP port 6633 as you can see it's connected and in the output here we can see that Ethernet 1 ethernet 3 & 4 as well as Ethernet two are part of the open flow bridge now I've previously used this command to configure the switch to talk to open daylight so won't enter that again this command will show us the ports running an open flow second seaport one port to port three and port four are sending and receiving packets this command will allow us to view the flows on the switch so as you can see various flows have been written by the open flow controller the switch is using open flow 1.3 this is a match as an example for lldp which is being sent to the controller and traffic coming in on port 1 as an example it's going to be forwarded out of other ports traffic coming in on port 4 will be forwarded out of other ports on the switch as well as sent to the controller see here's write a one can obtain write a 2 as an example yes it can can ping write a 3 and it can ping write a 4 if I send a broadcast we should get a reply from those three writers and we do so both broadcast traffic and unicast traffic of being sent to the other writers in the topology and that's because of this flow entry that says that traffic coming in on port 1 will be forwarded out of port for 42 and 43 it's also going to be sent out of other ports but they are not currently connected to the switch and to the controller now you could remove these flow entries either directly on the switch or by using an open flow application now in this example I'm using the opendaylight controller once again but in addition I've installed the Cisco dev net open daylight open flow app you can get to this from github this application uses the rest conf API for communication to the opendaylight controller which in turn writes open flow rules to these switches using the OpenFlow protocol so on the northbound interface or NBI a REST API is being used and on the southbound interface or SPI the OpenFlow protocol is used by the controller to update data the open flow tables of open flow switches in this example the open flow switch running within gns3 will be updated so I've connected to the controller on Porter 9000 this is the subscribe like a ssin and as you can see here's my switch and my 4 pcs connected to that switch when I click on flow management I'll be able to see the flows that have been added to the switch so in this example I've got a single open V switch switch running open flow 1.3 and sixteen flows have been configured on the switch so as an example if we click one of the flows and view it we can see that to this flow entry matches traffic in on port 10 and then forwards it out of a number of ports as well as the controller what I want to do however is override these flow entries now we could as an example delete all the flow entries if we wanted to but in this example I'm going to create a new flow entry on the open flow switch and I'm going to write a flow to Table zero with a flow entry of 1 0 2 in other words I want only write a 1 to talk to router to you and not to other riders I'm going to set to the priority to 1000 I'm going to match traffic coming in on port 1 because that's where rather 1 is now what we want to do with this traffic is forward it out of a port we could drop it sent it to the loopback interface flooded senators of controller sent it to the normal port but in this case I'm going to output it to port 2 so traffic that comes in on port 1 is going to be sent out of port 2 clicking show preview shows us the flow that we're going to write it to the switch so we're going to write a flow entry to table 0 with an ID of 102 and a priority of 1000 matching traffic coming in on port 1 and we're going to send it out of port 2 now before I sent it back to the switch notice that rather one campaign router 3 and rather fall but I'm going to send that to the switch we can see that it was successfully written as you can see in the output the flow entry has been rewritten you could refresh your flow table to see the latest information but notice of 102 has been written to table 0 on the open flow switch I could grep for a flow entry with priority 1,000 so there's our flow entry stating that traffic coming in on port 1 will be sent out of port 2 so write a one at the moment can pain write a to that notice can't pen write a three because all traffic coming in on port one on this switch is going to be forwarded out of port to rather one can also not ping write a four because all traffic is going from rudder one two rather to you because all traffic coming in on port 1 is sent out of Port 2 because of this flow entry you can see that they've been hits on this flow entry the flow entry takes priority over the default flow entries because it has a higher priority the other flow entries have a priority of 2 where's this one has a Prada of a thousand so as an example if we ping the broadcast address we get a reply back from router 2 but we don't get a reply back from router 3 or rather for so we've successfully configured the network so that writer one can only send traffic to write a 2 now we may want to do the reverse after the moment writer - can ping writer 1 but it could also pain writer 3 and rather fall so perhaps who want to limit this so that only writer 1 and writer - can ping each other so back in our Cisco app I'll add a new flow entry to open V switch one to table 0 the ID will be 201 in other words rotted - sending traffic to write a 1 Prada will be a thousand we're going to match traffic coming in on port 2 and the action will be to send the traffic out of Port 1 [Music] so preview traffic coming in report to will be sent out of port 1 send that to the switch the flow entry is written click back refresh the flow table notice years 201 and he has 102 the to flow entries that we wrote to the switch back in open research if I grep for 1000 we can see our two flow entries traffic coming in on cord one is sent out a port to traffic coming in on port 2 is sent out of Port one writer one can ping rudder to write a 2 can ping writer one like rudder - can no longer ping router 3 or rather fall we have successfully patched this port to the sport and back again I hope you've enjoyed this video if it's been a benefit to you please like it and please subscribe to my youtube channel I wish you all the very best [Music]
Original Description
GNS3 supports Docker containers! Learn about Docker, Open vSwitch (OVS), OpenDayLight (ODL), Cisco DevNet GitHub OpenFlow App, SDN and OpenFlow with GNS3. There are multiple ways to support layer 2 switching in GNS3 and in this series we learn about OpenFlow switches. This is part 3 of the Docker series and Part 7 of the switching series.
Free software worth $200: https://goo.gl/613TUF
My GNS3 SDN and OpenFlow course: https://goo.gl/M0qaUE
Docker Part 1: https://youtu.be/t7JWmGOVZYg
OVS: http://openvswitch.org/
Switching options in GNS3: https://youtu.be/zYaljXNfBdc
GNS3 built-in switch part 1: https://youtu.be/3RqIURPLuLE
GNS3 Etherswitch Router part 1: https://youtu.be/JlNfwm9ywB0
GNS3 Etherswitch Router part 2: https://youtu.be/hd5vZSW_38s
VIRL image downloads: https://virl.mediuscorp.com/my-account/
Cisco IOS Software Download: https://software.cisco.com/download/navigator.html
GNS3 Download: https://gns3.com/
GNS3 Support (Go here if you need help): https://gns3.com/community
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from David Bombal · David Bombal · 37 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
▶
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
RYU SDN Controller Part 4: Graphical User Interface (GUI): Practical GNS3 SDN and OpenFlow
David Bombal
HPE Network Protector SDN Application Part 1 - Introduction
David Bombal
HPE Network Protector SDN Application Part 2 : DNS Interception using OpenFlow
David Bombal
HPE Network Protector SDN Application Part 3 - Lab Setup using Physical Switches
David Bombal
HPE Network Protector SDN Application Part 4 - Demo of malicious websites blocked
David Bombal
HPE Network Protector SDN Application Part 5 - Demo OpenFlow table interception flows
David Bombal
HPE Network Protector SDN Application Part 6 - Demo of Physical Switch configuration
David Bombal
HPE Network Protector SDN Application Part 7 - Demo Service Insertion Tunnel / GRE Tunnel
David Bombal
HPE Network Protector SDN Application Part 8 - Demo SDN OpenFlow Reporting
David Bombal
HPE Network Protector SDN Application Part 9 - Demo switches interception of DNS traffic
David Bombal
GNS3 Talks: GNS3 version 1.5.X Appliance Tips
David Bombal
CCNA 200-125 Exam: AAA demo: TACACS+ with GNS3
David Bombal
GNS3 2.0.0 beta 2 install
David Bombal
CCNA #012: Learn SNMP with GNS3, Wireshark and Solarwinds NPM - CCNA 200-125 exam
David Bombal
CCNA #013: Spanning Tree CCNA Exam Questions: Know the answer? CCNA 200-125 exam
David Bombal
GNS3 2.0.0 beta : GNS3 VM integration with GNS3 GUI
David Bombal
CCNA #018: Routing exam questions: Who wins? OSPF, EIGRP or RIP? Sure? CCNA 200-125 exam
David Bombal
CCNA #019: Spanning Tree CCNA Exam Questions: Root Bridge, Root Port and more: CCNA 200-125 exam
David Bombal
GNS3 Download, installation and configuration - GNS3 1.5.3 and Windows 10
David Bombal
CCNA #023 EIGRP Neighbor Troubleshooting (DUAL Issues) for the CCNA 200-125 Exam
David Bombal
GNS3 2.0 Architecture and schema Part 1: What is the GNS3 Controller?
David Bombal
GNS3 2.0 Architecture and schema Part 2: Emulators and virtualization
David Bombal
CCNA #028 VTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
CCNA #029 VTP & DTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
CCNA #030 VTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
GNS3 : How to download Cisco IOS images and VIRL images. Which is the best? How do you get them?
David Bombal
GNS3 ASA setup: Import and configure Cisco ASAv with GNS3
David Bombal
GNS3 switching setup and options: Cisco and other switching options in GNS3
David Bombal
GNS3 switching setup and options Part 2: GNS3 unmanaged built-in switch
David Bombal
GNS3 switching setup and options Part 3: Router on a sick with GNS3 unmanaged built-in switch
David Bombal
GNS3 switching setup and options Part 4: Etherswitch Router for Cisco Dynamips Part 1
David Bombal
GNS3 switching setup and options Part 5: Etherswitch Router for Cisco Dynamips Part 2
David Bombal
GNS3 switching setup and options Part 6: Etherswitch, Wireshark, 802.1Q, InterVLAN routing
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 1: GNS3 Switching Part 7
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 2: GNS3 Switching Part 8
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 3: GNS3 Switching Part 9
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 4: GNS3 Switching Part 10
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 5: GNS3 Switching Part 11
David Bombal
GNS3 Nexus (NX-OSv) switch setup and configuration Part 1: GNS3 switching options Part 12
David Bombal
GNS3 Nexus (NX-OSv) switch setup and configuration Part 2: GNS3 switching options Part 13
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 6: GNS3 Switching Part 14
David Bombal
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 7: GNS3 Switching Part 15
David Bombal
GNS3 Cisco CSR 1000v setup and configuration Part 1: GNS3 NFV
David Bombal
GNS3 Cisco CSR 1000v setup and configuration Part 2: GNS3 NFV
David Bombal
GNS3 Talks: Use the NAT node to connect GNS3 to the Internet easily!
David Bombal
GNS3 Talks: GNS3 2.0 RC1 is now available
David Bombal
GNS3 Talks: GNS3 2.0 Portable Projects - easily export and import GNS3 projects
David Bombal
GNS3 Talks: Multiple clients sharing projects in real time, plus console session shadowing!
David Bombal
CCNA #035 NAT Troubleshooting Scenario 1 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
CCNA #036 NAT Troubleshooting Scenario 2 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
GNS3 Talks: ESXi, GNS3 VM and KVM support Part 1: leverage servers and the cloud
David Bombal
CCNA #037 OSPF Troubleshooting - can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
GNS3 Talks: ESXi, GNS3 VM and KVM support Part 2: leverage servers and the cloud
David Bombal
CCNA #038 NAT Troubleshooting Scenario 3 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
CCNA #039 - OSPF DR, BR and DROTHER Election - do you know the answers?
David Bombal
CCNA #040 NAT Troubleshooting Scenario 4 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
GNS3 Talks: Arista vEOS GNS3 import and configuration Part 1
David Bombal
CCNA #041 - OSPF DR, BR and DROTHER Election - do you know the answers?
David Bombal
GNS3 Talks: Arista vEOS GNS3 import and configuration Part 2
David Bombal
GNS3 Talks: ipterm: Linux, Docker, Python, SDN and more! Part 1
David Bombal
More on: Docker & Containers
View skill →Related Reads
📰
📰
📰
📰
Understanding a Real AWS CodePipeline CI/CD Flow: Source Build Deploy"
Dev.to · Guna SantoshDeep Srivastava
How to Use Terraform with Python for Infrastructure
Dev.to · qing
Interactive containers and exec: get inside, run commands, get out
Dev.to · Javi Palacios
Load Balancing & Auto-Scaling Explained
Dev.to · Sri Balaji
🎓
Tutor Explanation
DeepCamp AI