GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 5: GNS3 Switching Part 11

David Bombal · Beginner ·☁️ DevOps & Cloud ·9y ago

Key Takeaways

This video demonstrates the use of OpenDaylight controller, Open vSwitch, and OpenFlow to create a virtual patch panel in a network topology using GNS3, with a focus on Docker and SDN.

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 the community topology I have all routers connected to an open V switch or switch the writer one has prescribed address rotted - that's right it's Revis and right afford this so write a three can ping write a four but can it ping rather - at the moment we're getting a timeout if we do a debug IP ICMP on braddock to and send traffic you will notice that the traffic does get to write a 2 but write a 2 can't send back the reply if we want to make sure that these devices can't even send traffic to one another what we do now is add a flow entry to table 0 with an idea of let's say three or four party a thousand matching traffic coming in on port 3 we are going to output the traffic to port for so traffic coming in on pork three is going to be sent to out of port for and I'll send that to the switch flow entry is being written refresh the flow table here three or four back in open V switch we now have three flow entries of priority 1000 traffic coming in on port 3 is going to be sent out a port for so previously router 3 was able to send a traffic to write a 2 but doesn't get a reply that notice now the traffic doesn't even reach rotted 2 because we forcing all traffic that comes in on port 3 to go out of port for the last piece is to create a flow entry for router for so table 0 for 3 produce 1000 in port is port 4 we're going to Center the traffic out of porch three this is what it looks like again traffic coming in a port for it's going to be sent out of port three I'll sent that to the open flow switch flow entry has been written refresh the flow table there's the latest flow entry that was written to the switch so back on the switch let's grep for entries with priority 1000 we've got four of them so traffic in on port 1 will go to port to port 2 will go to port 1 port 3 to 4 and 43 we've successfully configured this switch as a virtual patch panel so on writer for we should be able to ping writer 3 as we can but can write a full ping write it - no it can't and what about writer 1 no it can't write a 1 can ping writer - but can't ping the other writers so we've isolated writer 3 and writer for an isolated writer 1 and write a 2 this is kind of like private VLANs or a virtual patch panel no traffic from writer 1 is going to go out of port for it's only going to be switched out of port 2 and vice versa so we've created this virtual patch panel but we could move things around if we wanted to so it could delete these individual flow entries and then add new flow increase now I'm doing this manually through GUI which is taking a long time you could obviously write a script that automates this so you could use the rest api talk directly to the controller using a Python script and the rest api and write flows to the switch to move things around a lot quicker what I'm showing you here but as an example let's say we want to patch router three to write a one what I'll do here is create a higher priority flow entry saying that traffic coming in on port three should go to port 1 and I'll send that request to the switch and [Music] what I'll do here that another one 103 produce mm import support one output port is going to be three and center that to the switch so if I go back and refresh the flute table you'll notice we've got this entry and this entry but high-priority flow entries take precedence so at the moment we still have four flow increases priority 1000 but I've added two flow entries with a higher precedence of 2,000 so previously rather one was able to ping rather to but not router 3 but is now able to ping router 3 and not rotted - so I've logically moved to the patch panel and patch two these two tables together where previously this cable was patched to this cable now again I'm doing this through a GUI you could automate this by using a script but what I'll do here is delete 301 and delete 103 so now we don't have any 2000 flow entries we've only got 1000 priority flow entries so in the last test writer one was able to ping router 3 but not rather - but is now able to ping router 2 and not router 3 so I've changed the patch panel these two are connected to each other and these two are connected to each other so router 3 is able to pain rather fall and I could send a broadcast as I've done over here and we should only get a reply back from router fall because router 3 and write a four connected to each other may take a while for that reply to come back but what we've done here is move cables around so that's a very simple example of using open flow to change the behavior of network devices in this example we created a virtual patch panel but you could do that on a physical switch as well so you could have a physical switch cabled up and then move the cables around using open flow so you could create a virtual patch panel rather than paying huge sums of money for a proprietary virtual patch panel hope you enjoyed the video if it was a benefit to you please like it and please subscribe to my youtube channel 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 GNS3 Patch Panel Part 1: https://youtu.be/9CjDHg2Qz_A Docker Part 1: https://youtu.be/t7JWmGOVZYg OVS: http://openvswitch.org/ Switching options in GNS3: https://youtu.be/zYaljXNfBdc 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
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from David Bombal · David Bombal · 38 of 60

1 RYU SDN Controller Part 4: Graphical User Interface (GUI): Practical GNS3 SDN and OpenFlow
RYU SDN Controller Part 4: Graphical User Interface (GUI): Practical GNS3 SDN and OpenFlow
David Bombal
2 HPE Network Protector SDN Application Part 1 - Introduction
HPE Network Protector SDN Application Part 1 - Introduction
David Bombal
3 HPE Network Protector SDN Application Part 2 : DNS Interception using OpenFlow
HPE Network Protector SDN Application Part 2 : DNS Interception using OpenFlow
David Bombal
4 HPE Network Protector SDN Application Part 3 - Lab Setup using Physical Switches
HPE Network Protector SDN Application Part 3 - Lab Setup using Physical Switches
David Bombal
5 HPE Network Protector SDN Application Part 4 - Demo of malicious websites blocked
HPE Network Protector SDN Application Part 4 - Demo of malicious websites blocked
David Bombal
6 HPE Network Protector SDN Application Part 5 - Demo OpenFlow table interception flows
HPE Network Protector SDN Application Part 5 - Demo OpenFlow table interception flows
David Bombal
7 HPE Network Protector SDN Application Part 6 - Demo of Physical Switch configuration
HPE Network Protector SDN Application Part 6 - Demo of Physical Switch configuration
David Bombal
8 HPE Network Protector SDN Application Part 7 - Demo Service Insertion Tunnel / GRE Tunnel
HPE Network Protector SDN Application Part 7 - Demo Service Insertion Tunnel / GRE Tunnel
David Bombal
9 HPE Network Protector SDN Application Part 8 - Demo SDN OpenFlow Reporting
HPE Network Protector SDN Application Part 8 - Demo SDN OpenFlow Reporting
David Bombal
10 HPE Network Protector SDN Application Part 9 - Demo switches interception of DNS traffic
HPE Network Protector SDN Application Part 9 - Demo switches interception of DNS traffic
David Bombal
11 GNS3 Talks: GNS3 version 1.5.X Appliance Tips
GNS3 Talks: GNS3 version 1.5.X Appliance Tips
David Bombal
12 CCNA 200-125 Exam: AAA demo: TACACS+ with GNS3
CCNA 200-125 Exam: AAA demo: TACACS+ with GNS3
David Bombal
13 GNS3 2.0.0 beta 2 install
GNS3 2.0.0 beta 2 install
David Bombal
14 CCNA #012: Learn SNMP with GNS3, Wireshark and Solarwinds NPM - CCNA 200-125 exam
CCNA #012: Learn SNMP with GNS3, Wireshark and Solarwinds NPM - CCNA 200-125 exam
David Bombal
15 CCNA #013: Spanning Tree CCNA Exam Questions: Know the answer? CCNA 200-125 exam
CCNA #013: Spanning Tree CCNA Exam Questions: Know the answer? CCNA 200-125 exam
David Bombal
16 GNS3 2.0.0 beta : GNS3 VM integration with GNS3 GUI
GNS3 2.0.0 beta : GNS3 VM integration with GNS3 GUI
David Bombal
17 CCNA #018: Routing exam questions: Who wins? OSPF, EIGRP or RIP? Sure? CCNA 200-125 exam
CCNA #018: Routing exam questions: Who wins? OSPF, EIGRP or RIP? Sure? CCNA 200-125 exam
David Bombal
18 CCNA #019: Spanning Tree CCNA Exam Questions: Root Bridge, Root Port and more: CCNA 200-125 exam
CCNA #019: Spanning Tree CCNA Exam Questions: Root Bridge, Root Port and more: CCNA 200-125 exam
David Bombal
19 GNS3 Download, installation and configuration - GNS3 1.5.3 and Windows 10
GNS3 Download, installation and configuration - GNS3 1.5.3 and Windows 10
David Bombal
20 CCNA #023 EIGRP Neighbor Troubleshooting (DUAL Issues) for the CCNA 200-125 Exam
CCNA #023 EIGRP Neighbor Troubleshooting (DUAL Issues) for the CCNA 200-125 Exam
David Bombal
21 GNS3 2.0 Architecture and schema Part 1: What is the GNS3 Controller?
GNS3 2.0 Architecture and schema Part 1: What is the GNS3 Controller?
David Bombal
22 GNS3 2.0 Architecture and schema Part 2: Emulators and virtualization
GNS3 2.0 Architecture and schema Part 2: Emulators and virtualization
David Bombal
23 CCNA #028 VTP Troubleshooting for the CCNA 200-125 Exam
CCNA #028 VTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
24 CCNA #029 VTP & DTP Troubleshooting for the CCNA 200-125 Exam
CCNA #029 VTP & DTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
25 CCNA #030 VTP Troubleshooting for the CCNA 200-125 Exam
CCNA #030 VTP Troubleshooting for the CCNA 200-125 Exam
David Bombal
26 GNS3 : How to download Cisco IOS images and VIRL images. Which is the best? How do you get them?
GNS3 : How to download Cisco IOS images and VIRL images. Which is the best? How do you get them?
David Bombal
27 GNS3 ASA setup: Import and configure Cisco ASAv with GNS3
GNS3 ASA setup: Import and configure Cisco ASAv with GNS3
David Bombal
28 GNS3 switching setup and options: Cisco and other switching options in GNS3
GNS3 switching setup and options: Cisco and other switching options in GNS3
David Bombal
29 GNS3 switching setup and options Part 2: GNS3 unmanaged built-in switch
GNS3 switching setup and options Part 2: GNS3 unmanaged built-in switch
David Bombal
30 GNS3 switching setup and options Part 3: Router on a sick with GNS3 unmanaged built-in switch
GNS3 switching setup and options Part 3: Router on a sick with GNS3 unmanaged built-in switch
David Bombal
31 GNS3 switching setup and options Part 4: Etherswitch Router for Cisco Dynamips Part 1
GNS3 switching setup and options Part 4: Etherswitch Router for Cisco Dynamips Part 1
David Bombal
32 GNS3 switching setup and options Part 5: Etherswitch Router for Cisco Dynamips Part 2
GNS3 switching setup and options Part 5: Etherswitch Router for Cisco Dynamips Part 2
David Bombal
33 GNS3 switching setup and options Part 6: Etherswitch, Wireshark, 802.1Q, InterVLAN routing
GNS3 switching setup and options Part 6: Etherswitch, Wireshark, 802.1Q, InterVLAN routing
David Bombal
34 GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 1: GNS3 Switching Part 7
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 1: GNS3 Switching Part 7
David Bombal
35 GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 2: GNS3 Switching Part 8
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 2: GNS3 Switching Part 8
David Bombal
36 GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 3: GNS3 Switching Part 9
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 3: GNS3 Switching Part 9
David Bombal
37 GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 4: GNS3 Switching Part 10
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
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 5: GNS3 Switching Part 11
David Bombal
39 GNS3 Nexus (NX-OSv) switch setup and configuration Part 1: GNS3 switching options Part 12
GNS3 Nexus (NX-OSv) switch setup and configuration Part 1: GNS3 switching options Part 12
David Bombal
40 GNS3 Nexus (NX-OSv) switch setup and configuration Part 2: GNS3 switching options Part 13
GNS3 Nexus (NX-OSv) switch setup and configuration Part 2: GNS3 switching options Part 13
David Bombal
41 GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 6: GNS3 Switching Part 14
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 6: GNS3 Switching Part 14
David Bombal
42 GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 7: GNS3 Switching Part 15
GNS3 Talks: Docker, Open vSwitch, SDN and OpenFlow Part 7: GNS3 Switching Part 15
David Bombal
43 GNS3 Cisco CSR 1000v setup and configuration Part 1: GNS3 NFV
GNS3 Cisco CSR 1000v setup and configuration Part 1: GNS3 NFV
David Bombal
44 GNS3 Cisco CSR 1000v setup and configuration Part 2: GNS3 NFV
GNS3 Cisco CSR 1000v setup and configuration Part 2: GNS3 NFV
David Bombal
45 GNS3 Talks: Use the NAT node to connect GNS3 to the Internet easily!
GNS3 Talks: Use the NAT node to connect GNS3 to the Internet easily!
David Bombal
46 GNS3 Talks: GNS3 2.0 RC1 is now available
GNS3 Talks: GNS3 2.0 RC1 is now available
David Bombal
47 GNS3 Talks: GNS3 2.0 Portable Projects - easily export and import GNS3 projects
GNS3 Talks: GNS3 2.0 Portable Projects - easily export and import GNS3 projects
David Bombal
48 GNS3 Talks: Multiple clients sharing projects in real time, plus console session shadowing!
GNS3 Talks: Multiple clients sharing projects in real time, plus console session shadowing!
David Bombal
49 CCNA #035 NAT Troubleshooting Scenario 1 - Can you find the issue? CCNA Exam 200-125 troubleshooting
CCNA #035 NAT Troubleshooting Scenario 1 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
50 CCNA #036 NAT Troubleshooting Scenario 2 - Can you find the issue? CCNA Exam 200-125 troubleshooting
CCNA #036 NAT Troubleshooting Scenario 2 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
51 GNS3 Talks: ESXi, GNS3 VM and KVM support Part 1: leverage servers and the cloud
GNS3 Talks: ESXi, GNS3 VM and KVM support Part 1: leverage servers and the cloud
David Bombal
52 CCNA #037 OSPF Troubleshooting - can you find the issue? CCNA Exam 200-125 troubleshooting
CCNA #037 OSPF Troubleshooting - can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
53 GNS3 Talks: ESXi, GNS3 VM and KVM support Part 2:  leverage servers and the cloud
GNS3 Talks: ESXi, GNS3 VM and KVM support Part 2: leverage servers and the cloud
David Bombal
54 CCNA #038 NAT Troubleshooting Scenario 3 - Can you find the issue? CCNA Exam 200-125 troubleshooting
CCNA #038 NAT Troubleshooting Scenario 3 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
55 CCNA #039 - OSPF DR, BR and DROTHER Election - do you know the answers?
CCNA #039 - OSPF DR, BR and DROTHER Election - do you know the answers?
David Bombal
56 CCNA #040 NAT Troubleshooting Scenario 4 - Can you find the issue? CCNA Exam 200-125 troubleshooting
CCNA #040 NAT Troubleshooting Scenario 4 - Can you find the issue? CCNA Exam 200-125 troubleshooting
David Bombal
57 GNS3 Talks: Arista vEOS GNS3 import and configuration Part 1
GNS3 Talks: Arista vEOS GNS3 import and configuration Part 1
David Bombal
58 CCNA #041 - OSPF DR, BR and DROTHER Election - do you know the answers?
CCNA #041 - OSPF DR, BR and DROTHER Election - do you know the answers?
David Bombal
59 GNS3 Talks: Arista vEOS GNS3 import and configuration Part 2
GNS3 Talks: Arista vEOS GNS3 import and configuration Part 2
David Bombal
60 GNS3 Talks: ipterm: Linux, Docker, Python, SDN and more! Part 1
GNS3 Talks: ipterm: Linux, Docker, Python, SDN and more! Part 1
David Bombal

This video teaches how to create a virtual patch panel using OpenDaylight controller, Open vSwitch, and OpenFlow in GNS3, and how to configure OpenFlow switches to control network traffic.

Key Takeaways
  1. Create a network topology in GNS3
  2. Configure Open vSwitch and OpenDaylight controller
  3. Create a virtual patch panel using OpenFlow
  4. Configure flow entries to control network traffic
💡 OpenFlow can be used to create a virtual patch panel, allowing for dynamic control of network traffic without physical cable changes.

Related Reads

Up next
Hostinger Web Hosting Review 2026: Features, Pros & Cons 🔥
DroidCrunch
Watch →