{"id":5755,"date":"2021-05-11T19:06:42","date_gmt":"2021-05-11T17:06:42","guid":{"rendered":"https:\/\/nil.uniza.sk\/?p=5755"},"modified":"2021-05-13T07:25:27","modified_gmt":"2021-05-13T05:25:27","slug":"how-to-simply-add-open-vswitch-to-gns3","status":"publish","type":"post","link":"https:\/\/nil.uniza.sk\/en\/how-to-simply-add-open-vswitch-to-gns3\/","title":{"rendered":"How to easily add Open vSwitch to GNS3"},"content":{"rendered":"<p><a href=\"https:\/\/www.openvswitch.org\/\">Open vSwitch (OVS)<\/a> is a multilayer (MLS) virtual switch licensed under the open-source Apache 2.0 license which is widely used in the field of virtual networking. With this open-source MLS switch, we can easily extend GNS3 switching capabilities. We can add this switch to GNS3 very quickly using a GNS3 OVS appliance. No base Linux system VM is required, no ISO images. <\/p>\n\n\n\n<p>In this post I&#8217;m going to describe how to add and run OVS MLS inside of the GNS3 (local or remote).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Prerequisites<\/strong> <strong>and environment<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>GNS3<ul><li>In my case of version 2.2.14 running on a remote Linux server (physical HW, not GSN3 VM).<\/li><\/ul><\/li><li>OVS GNS3 Appliance<ul><li>Download from&nbsp;<a href=\"https:\/\/gns3.com\/marketplace\/appliances\/open-vswitch\">HERE<\/a><a href=\"https:\/\/www.gns3.com\/marketplace\/appliance\/fortigate\">.<\/a><\/li><\/ul><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Steps<\/h3>\n\n\n\n<p>There are only few steps and the process is straightforward:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Download and locally save the OVS GNS3  appliance definition<\/li><li>Open GNS3 software (client)<\/li><li>Import the appliance into GNS3 through File =&gt; Import appliance<\/li><li>Run a project and use the OVS MLS!<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">1) Download and locally save the OVS GNS3 appliance<\/h4>\n\n\n\n<p>Go to <a href=\"https:\/\/gns3.com\/marketplace\/appliances\/open-vswitch \">https:\/\/gns3.com\/marketplace\/appliances\/open-vswitch <\/a>and click on Download button<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img alt=\"\" decoding=\"async\" src=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-2.png\" class=\"wp-image-5756\" width=\"802\" height=\"505\" srcset=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-2.png 627w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-2-300x189.png 300w\" sizes=\"(max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">2) Open your GNS3 application<\/h4>\n\n\n\n<p>Open your GNS3 application as we will import the appliance in the next step<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><br>3) Import the OVS appliance into GNS3<\/h4>\n\n\n\n<p>Go to <em>File <\/em>and click on <em>Import appliance<\/em> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img alt=\"\" decoding=\"async\" width=\"401\" height=\"453\" src=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-3.png\" class=\"wp-image-5757\" srcset=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-3.png 401w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-3-266x300.png 266w\" sizes=\"(max-width: 401px) 100vw, 401px\" \/><\/figure>\n\n\n\n<p>select your locally saved appliance definition file downloaded in step 1<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img alt=\"\" decoding=\"async\" width=\"627\" height=\"199\" src=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-4.png\" class=\"wp-image-5758\" srcset=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-4.png 627w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-4-300x95.png 300w\" sizes=\"(max-width: 627px) 100vw, 627px\" \/><\/figure>\n\n\n\n<p>click Open and follow few simple installation steps<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img alt=\"\" decoding=\"async\" src=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-5.png\" class=\"wp-image-5759\" width=\"802\" height=\"568\" srcset=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-5.png 627w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-5-300x212.png 300w\" sizes=\"(max-width: 802px) 100vw, 802px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img alt=\"\" decoding=\"async\" src=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-6.png\" class=\"wp-image-5760\" width=\"807\" height=\"571\" srcset=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-6.png 627w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-6-300x212.png 300w\" sizes=\"(max-width: 807px) 100vw, 807px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img alt=\"\" decoding=\"async\" width=\"514\" height=\"137\" src=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-7.png\" class=\"wp-image-5761\" srcset=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-7.png 514w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-7-300x80.png 300w\" sizes=\"(max-width: 514px) 100vw, 514px\" \/><\/figure>\n\n\n\n<p>That is all, done! <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">4) Run a project and use the OVS MLS<\/h4>\n\n\n\n<p>OVS appears in <em><strong>Switches <\/strong><\/em>group of devices.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img alt=\"\" decoding=\"async\" width=\"327\" height=\"373\" src=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-9.png\" class=\"wp-image-5766\" srcset=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-9.png 327w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-9-263x300.png 263w\" sizes=\"(max-width: 327px) 100vw, 327px\" \/><\/figure>\n\n\n\n<p>so, if we like to use it, just open a new project (or use an existing one), drag and drop OVS, start it and over the console use it. OVS has by default 16 network interfaces.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img alt=\"\" decoding=\"async\" width=\"605\" height=\"616\" src=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-10.png\" class=\"wp-image-5767\" srcset=\"https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-10.png 605w, https:\/\/nil.uniza.sk\/wp-content\/uploads\/2021\/05\/image-10-295x300.png 295w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/figure>\n\n\n\n<p>Nice examples of OVS use at <a href=\"https:\/\/gns3.com\/community\/blog\/containers-in-gns3-series-advanc\">https:\/\/gns3.com\/community\/blog\/containers-in-gns3-series-advanc<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Open vSwitch (OVS) is a multilayer (MLS) virtual switch licensed under the open-source Apache 2.0 license which is widely used in the field of virtual networking. With this open-source MLS switch, we can easily extend GNS3 switching capabilities. We can add this switch to GNS3 very quickly using a GNS3 OVS appliance. No base Linux&#8230;<\/p>","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[685],"tags":[],"class_list":["post-5755","post","type-post","status-publish","format-standard","hentry","category-linux_-_howto-en"],"taxonomy_info":{"category":[{"value":685,"label":"Linux - HOWTO"}]},"featured_image_src_large":false,"author_info":{"display_name":"palo73","author_link":"https:\/\/nil.uniza.sk\/en\/author\/palo73\/"},"comment_info":3,"category_info":[{"term_id":685,"name":"Linux - HOWTO","slug":"linux_-_howto-en","term_group":0,"term_taxonomy_id":683,"taxonomy":"category","description":"","parent":0,"count":71,"filter":"raw","cat_ID":685,"category_count":71,"category_description":"","cat_name":"Linux - HOWTO","category_nicename":"linux_-_howto-en","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/5755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/comments?post=5755"}],"version-history":[{"count":0,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/5755\/revisions"}],"wp:attachment":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/media?parent=5755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/categories?post=5755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/tags?post=5755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}