Introduction to Open vSwitch (OVS)

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 472

  • @PetterBruland
    @PetterBruland 8 лет назад +3

    Thank you for taking the time to create this video and share it with us. Excellent brief explanation, and now I understand why I lost connectivity to my remote box when setting up OVS.

    • @DavidMahler
      @DavidMahler  8 лет назад

      +Petter Bruland You're welcome. Ah, yes I first learned that from Brent Salisbury's blog networkstatic.net/ it was confusing for me too at first.

  • @JayLooney
    @JayLooney 8 лет назад +37

    I feel like it's important to explain that all the commands are just abbreviations of what they are for 'ovs-vsctl' is for Open vSwitch Virtual Switch Control. I think it helps people to remember better and also helps provide some intuition and insight as to what certain commands might do based on what they are called.

    • @DavidMahler
      @DavidMahler  8 лет назад +2

      +Jay Looney Great suggestion, thanks!

    • @JayLooney
      @JayLooney 8 лет назад +1

      +David Mahler no problem, thanks for the videos. I have spent the past few days trying to engineer a non-trivial home network with physical and virtual subnets and this video was super helpful.

    • @JayLooney
      @JayLooney 8 лет назад

      +David Mahler no problem, thanks for the videos. I have spent the past few days trying to engineer a non-trivial home network with physical and virtual subnets and this video was super helpful.

    • @JayLooney
      @JayLooney 8 лет назад

      +David Mahler no problem, thanks for the videos. I have spent the past few days trying to engineer a non-trivial home network with physical and virtual subnets and this video was super helpful.

  • @matscloud
    @matscloud 6 лет назад +2

    THE best OVS intro I've seen so far... right now I see that I was confusing some cocepts, it just all came together now... Thanks!

    • @DavidMahler
      @DavidMahler  6 лет назад

      You're welcome, thanks for the comment!

  • @GRAFFDEMON
    @GRAFFDEMON 9 лет назад +1

    This video helped me so much. HOURS I looked for guides thinking I installed it wrong, configured the bridge wrong. But nope. I forgot to add the tap ports to the virtual bridge.
    Thank you a ton for this video. I'd hug you if I could.

    • @DavidMahler
      @DavidMahler  9 лет назад

      Motör Punx HA, I'm glad I could help via the video, thanks for the comments!

  • @cbaxtermusic
    @cbaxtermusic 9 лет назад +38

    dude you are making this too easy to understand, GREAT VIDEOS!!!!!!

    • @DavidMahler
      @DavidMahler  9 лет назад +1

      C Bax Thanks, I'm glad they are useful for you!

  • @H3cJP
    @H3cJP 5 месяцев назад

    this is the best explanation i have seen so far, already known some stuff but the way you explained it was excelent, still helping people 10 years later so thanks

  • @srinivaspithani7645
    @srinivaspithani7645 6 лет назад

    What a way to explain such a complex concept for a newbie like me .. can't expect more than this. Thanks for sharing Dave ...well done.

    • @DavidMahler
      @DavidMahler  6 лет назад

      Thank you Srinivas! You are very welcome.

  • @jeffbrl
    @jeffbrl 10 лет назад

    David, thanks for creating this tutorial. Your presentation style makes the content easy to follow.

    • @DavidMahler
      @DavidMahler  10 лет назад

      Thanks Jeff, I appreciate the comment!

    • @abunaser536
      @abunaser536 6 лет назад

      Jeff Loughridge
      When busines started ovs & how stores do u have? I am interested about ovs?

  • @sanshrestha08
    @sanshrestha08 9 лет назад +1

    Thanks for a great tutorial David.
    To all the viewers following this tutorial, just want to inform that you will encounter a problem if you try to assign wireless interface instead of wired interface(eth0) to open vswitch. When you start the VM, you will lost internet connectivity. Try using wired interface to make it work.

    • @DavidMahler
      @DavidMahler  9 лет назад

      sandesh shrestha Thanks Sandesh!

  • @sivan111in
    @sivan111in 9 лет назад +1

    Awesome explanation.... I was actually struggling for a working example to make use of OVS to throttle internet traffic for end user VMS. You just gave it... Many thanks...

  • @pranaypallavtripathi2460
    @pranaypallavtripathi2460 2 года назад +2

    This was brilliant. Even though my knowledge of networking is very basic, I could understand everything except the openflow and kernel module part. Thank you so much. Please keep making videos like this. Subscribed 👍

  • @Akshatha512
    @Akshatha512 6 лет назад +2

    Thank you, David. Immense respect for your presentation technique and eloquence. You inspire me to learn more and dig deeper to understand the core concepts behind these awesome technologies. I cannot stress the importance of the inspiration you provide. As an intern who wishes to excel in the networking field, it is deeply valuable.

    • @DavidMahler
      @DavidMahler  6 лет назад +1

      That's, great Akshata. Thanks so much for the kind words! The networking field is definitely about digging deeper into everything.

  • @PrayingForYourWellBeing
    @PrayingForYourWellBeing 9 лет назад

    One of the excellent informational videos i have ever found with such great vocational and presentation skills. Great clarity. Thanks David !!!

    • @DavidMahler
      @DavidMahler  9 лет назад

      Rohan Shah Thanks Rohan! Quite the complement!

  • @steveinbox8771
    @steveinbox8771 3 года назад +1

    I am completely new to this but I wanted to say thank you so much for making this great easy to digest video. Explaining the the disconnect part was huge. I also wanted to add this in case someone else new needed it. To configure the mybridge with a static ip. You will should use the below.
    1. Assign static ip to mybridge - #sudo ip addr add / dev mybridge
    2. Set the default gateway to via mybridge - #sudo route add default gw mybridge
    3. You may need to remove the eth0/ens default gateway route to ensure the only default route uses mybridge to go to the gateway
    * I found this because I am trying to learn how to configure openvswitch for lacp with some vm's in vmware. If anyone has any videos like this showing how to do this that would be great
    *Also if anyone knows offhand how to configure the settings I posted so that they persist upon reboot that would be cool (I am using ubuntu 20.04). vport1 and vport2 also don't persist reboot

    • @Javier_FH
      @Javier_FH 2 года назад +1

      Hi Steve, did you ever find answers to your questions?
      The truth is that I was also trying to follow the demo with a Ubuntu 20.04 VM instantiated in Openstack, but when I redirect eth0 towards the mybridge all goes down.
      I tried dhclient mybridge and takes forever, but I am afraid it didn't do anything and then when i try to see the routes everything is empty.
      Did you manage to get a more up to date list of steps. I would love to be able to complete the whole exercise and what David did, feels so easy when he does it :)

  • @davidcaughey9205
    @davidcaughey9205 9 лет назад

    Excellent work, well presented by someone who has an obvious passion for what they do. I really appreciate these David.
    Well done hats of to ya

    • @DavidMahler
      @DavidMahler  9 лет назад

      David Caughey I'm glad you like them, thanks for the comment!

  • @ajayr9825
    @ajayr9825 7 лет назад

    Hi David, I started reading about openvswitch and have some basic questions. In my set up where in I have built the binary from source code I want to run multiple instances of OVS, but I cannot run more than 1 vswitchd process. On browsing I came across some discussions where it is mentioned as "multiple openvswitch instances can be connected to a single vswitchd process". Could not figure out how to do it. A controller connects to the switch through the bridge. So if I want multiple instances of OVS with each connecting to the same/different controller should I add multiple bridges which in turn acts as multiple OVS instances ? Can you help me understand this or point to some resource explaining this ? Thank you.

  • @Javier_FH
    @Javier_FH 2 года назад +2

    Thanks a lot for the explanation David. I love the way explain such a complex subject (at least for me). I wish there would be a revisited version, since many of the commands have changed, but I also understand it is a huge effort. Anyway, once more thank you very much for your clear explanations. Now if the whole exercise works in my machine, I'll be the happiest man in the world :P

    • @pubdigitalix
      @pubdigitalix 2 года назад +1

      This is because they change cosmetics things every time to time but the core concepts are the same. man pages are your friend.

  • @CalvinWongHKG
    @CalvinWongHKG 7 лет назад

    Thanks for your details, I have a centos vm machines installed openvswitch as trial lab running on ESXi, and I have ens192 (uplink to my home network), and mybridge created, but I would like to have mybridge connect to an isolated vmware esxi vswitch (e.g. not connect to any network adapter) which further connect VMs, is that possible?

  • @RebeliousSapien
    @RebeliousSapien Год назад

    this was so incredibly well explained. thank you so much
    any chance of setting up vlan tagging on ovs switches in the future please ?

  • @wanderer-1986
    @wanderer-1986 8 лет назад

    Very good video. Easy to follow and put in terms most people can understand. Well done, and thank you for making it.

    • @DavidMahler
      @DavidMahler  8 лет назад

      Hey Joseph, thanks for commenting! You're welcome!!

  • @orthodoxNPC
    @orthodoxNPC 4 года назад

    suppose there is a server connected to four networks. The server is running linux kernel 5.3, OVS 2.13... the default route (eth0) is already established for the 1st network. the 2nd network (eth1) is for all the VMs hosted by the server... the 3rd and 4th networks have their own NICs... how do i assign a gateway other than the default-route to the ovs bridge? i can easily set the CIDR address of the OVS bridge but I haven't been able to figure out the gateway...

  • @GrayWen
    @GrayWen 8 лет назад

    Hi, David. A small question .. which package u installed on your own laptop to run ovf-xxx command?

  • @ReubenUrRahman
    @ReubenUrRahman 10 лет назад

    I am new to networking domain, But your video is very helpful and easy to understand for target audiences like me. Thank you for sharing !

    • @DavidMahler
      @DavidMahler  10 лет назад

      Great, I'm glad its was helpful. Thanks Reuben.

  • @buttegowda
    @buttegowda 9 лет назад

    Dear Sir, One of the best presentations O have ever seen. Thanks for your help.

  • @ThangNguyen-xl7pf
    @ThangNguyen-xl7pf 4 года назад

    hi, pls explain why the MAC address output of port 4/5 of those command "ovs-appctl fdb/show" and "ovs-ofctl show mybridge" are different.

  • @undeaddutch
    @undeaddutch 10 лет назад +1

    Very clear explanation! Would like to see more :)

  • @spoorthipanduranga6220
    @spoorthipanduranga6220 3 года назад

    It’s really nice! You have explained clearly. Thanks for sharing the knowledge. Happy to learn.

  • @abdulrahmansattar2873
    @abdulrahmansattar2873 7 лет назад

    Thanks a bunch for making these videos. They are very clear. Would you have recommend any books that cover the internals of openstack and openvswitch? Also any books which would walk you through building your own networking lab, using the technologies you cover. Thanks once again!

  • @sreenivasaraju4988
    @sreenivasaraju4988 5 лет назад

    Excellent demo, makes me easy to understand.

  • @paraffin333
    @paraffin333 5 лет назад

    Hey David, that's a great video with perfect explanation. Was so helpful that I earnestly request you to make another video illustrating the internal design of ovs. :)

    • @DavidMahler
      @DavidMahler  5 лет назад

      Thanks Bushra! Thanks for the feedback!

  • @chenoi
    @chenoi 5 лет назад

    Hi..very nice introduction. I still could not understand some of the idea of OVS....I hope you could clarify further...(1)does ovs is also an Ethernet switch? by default ovs also leveraging L2 addressing similar like any Ethernet switch... (2)If ovs leveraging L2 mac, whats the reason of having OF protocol? why not just totally OF.... Thanks

  • @rraj7491
    @rraj7491 10 лет назад

    Expectation well set and great presentation! Thanks and well done David!

  • @ramprasvm
    @ramprasvm 10 лет назад

    to the point and very practical approach.. thanks a lot for the great presentation

  • @dimitrissideratos8741
    @dimitrissideratos8741 7 лет назад +1

    vms are pre-installed. which software are you using on the vms? also... mybridge has two interfaces to vms and one to eth0 and Ip stack. what exactly is in eth0 and ip stack? sorry, about my lazy question but I would like to make it clear to me. thank you in advance!

    • @DavidMahler
      @DavidMahler  7 лет назад +1

      Ubuntu VMs. eth0 is just the NIC, or in this case vNIC. IP Stack is the standard channel for forwarding, transmitting and receiving packets. When a packet is received for example, instead of going to the 'standard' stack for handling packets it goes to OVS instead - a bypass.

  • @lordskyit
    @lordskyit 3 года назад

    Hello, thank you for your time! Did you take a video about setup fake vlan inside OVS? Thank you!

  • @Oswee
    @Oswee 3 года назад +1

    Would be really great to have updated 2021 version of this very same video. :)

  • @pwu2007
    @pwu2007 8 лет назад

    great video, simple and strait forward, easy to understand, thank you.

  • @tinaesmaeilzadeh2215
    @tinaesmaeilzadeh2215 3 года назад

    Thanks for the great tutorial.
    Virtualbox does not show the list of virtual interfaces in VM settings(7:34 in the video). It instead shows the two options: 1. Realtech PCIe GbE Family Controller, 2. Qualcomm Atheros QCA9377 Wireless. What can I do to bring them?

  • @smasanam
    @smasanam 8 лет назад

    Very good video and its quite useful. It gave me a good overview of ovs. Thanks David Mahler.

    • @DavidMahler
      @DavidMahler  8 лет назад

      +Saravanan M You're very welcome! I'm happy it helped!

  • @srinivaspithani7645
    @srinivaspithani7645 9 лет назад

    Nice video David, helped me to learn OVS , a good start for me ... Thanks for uploading .

  • @sanshrestha08
    @sanshrestha08 9 лет назад

    Hello David, is it possible to add two tap interfaces to the OS(linux in this case), and assign those interfaces to the VMs as bridged adapters without using the open vswitch.

  • @Techness50
    @Techness50 8 лет назад

    Hey man great vid! Quick question did you use this in ubuntu?

  • @stevencouture2947
    @stevencouture2947 10 лет назад

    Is Mininet installed on your laptop or are you running it through a VM? I'm running Mininet through VirtualBox and using putty to SSH through my Windows laptop. I'm having trouble getting the network settings right in VirtualBox for Mininet.

    • @DavidMahler
      @DavidMahler  10 лет назад +2

      In this demo I was running OVS on my laptop directly. I think you should be able to do something similar to the video using Virtualbox and a Bridged Adapter.

    • @RW0001
      @RW0001 9 лет назад

      David Mahler I am trying to do this, but cannot seem to get end-to-end connectivity through the OVS. Host OS is Windows, with OVS on Linux and two Linux hosts running as guests in Virtualbox (so 3 VMs in total). Each Linux host is connected to the OVS on a VirtualBox "internal network" (vnet1 for host 1 and vnet2 for host 2). I'm running 10.0.0.0/24 across vnet1 and vnet2 and can see ARPs going from host 1 to host 2 through the OVS and through to host 2. Host 2 is responding to the ARP, but I am not seeing the ARP reply go back through the OVS.

  • @mbbxx
    @mbbxx 8 лет назад +1

    @David Mahler: Thanks for the video David. A question, how can I assign a physical port to an OVS bridge without exclusivity?
    I want the IP traffic from the host to be routed through the physical port (and not via the bridge) while the bridge should be able to use this port as well for it's traffic. The reason I want to do this is redundancy. In case the bridge gets misconfigured I can still get access to the host.
    Thanks in advance.

    • @DavidMahler
      @DavidMahler  8 лет назад +1

      +mbbxx You might want a separate physical interface for mgmt traffic.....but if you have to use just one interface, I'm not sure....I *think* you could use 2 virtual switches in series. Physical port -> switch1 -> switch2, switch1 with the mgmt IP, switch2 the one you configure for VMs. You'd have to test it though.

  • @wdxgy136
    @wdxgy136 8 лет назад

    非常好的ovs指导视频,感谢作者!

    • @DavidMahler
      @DavidMahler  8 лет назад

      You're welcome! Thanks for the comment.

  • @vitalysibichenkov7202
    @vitalysibichenkov7202 7 лет назад

    Thanks for great explanation! I've added script in autostart and all is running well.

  • @singar1976
    @singar1976 9 лет назад

    Great video to get started on OVS. Thank you for your effort.

  • @PETAJOULE543
    @PETAJOULE543 5 лет назад

    Open vSwitch explained well (it is Switch that utilize OpenFlow concepts) and also practical implementation with these command lines. As default implementation, it work like regular layer 2 switch. But we can modify it further to get SDN capabilities.

  • @dyvm3180
    @dyvm3180 Год назад

    If I use vmware will vport 1 and vport 2 appear when configurating vm1 and vm2 adapter ?

  • @cppcode9046
    @cppcode9046 6 лет назад

    I have a setup of VMWare Workstation and Ubuntu inside. I followed instruction until 4:57, but was unable to ping as apparently lost connectivity. In network setting for VM I have NAT. Any ideas why it is so and how to fix that?

  • @ricardoraul
    @ricardoraul 10 лет назад

    Hey David, one question, what is the difference between connecting the virtual host to a TAP interface vs connecting it to a veth interface. I noticed both interface worked but what is the best way to do it and its differences.
    Thanks

  • @ffp3
    @ffp3 8 лет назад

    Thank you for this video, very useful, brief and to the point with example. Great job.

  • @hweekiongyeo3303
    @hweekiongyeo3303 7 лет назад

    Mr David,
    I have a windows virtual box and I did exactly as what you have done on the video.
    But I could not see the new port mybridge vport1 and vport2 in another VM.
    Please Help!

  • @devanshgupta5819
    @devanshgupta5819 5 лет назад

    Hi David, I did the same as mentioned in the video. However, what extra I did was create an OpenVPN server on one of the VPN and created several .ovpn files to connect and assign an ip to the clients. The problem I am currently facing is I am unable to ping any site from the client as it has a virtual IP. how do i go about this?

  • @f0rmaggi0
    @f0rmaggi0 8 лет назад

    Great video, thank you. You mention persistence but when I reboot I lose some of the VM interfaces I configured before boot using add-port and when I show my ovs config it reverts back to some older configuration installed several boots ago. Is the database corrupted? How would I check? Thanks I am now learning and subscribed.

  • @tiskanto
    @tiskanto 10 лет назад

    Excellent Job ...!!!! need more videos like these please !

  • @Seleno_phile
    @Seleno_phile 8 лет назад

    where is the source code folder of OVS in linux ? example : lib/ofp-msgs.h , lib/flow.h and lib/ofp-actions.c. mentioned in this page github.com/openvswitch/ovs/blob/master/FAQ.md#q-how-do-i-add-support-for-a-new-field-or-header. i did search in Linux but cannot find any of these files. when i use commands in this video everything is okay.

  • @ankitkansara5394
    @ankitkansara5394 7 лет назад

    HI David, Do we also need tap interface when using Linux container instead of VM ?

    • @DavidMahler
      @DavidMahler  7 лет назад

      I don't know - if you find out let me know, my container skills are woefully inadequate ;-)

  • @e.hunter9427
    @e.hunter9427 2 года назад

    phenomenal explanation and tutorial!

    • @DavidMahler
      @DavidMahler  2 года назад

      Thank you! I appreciate this comment!

    • @dyveshmahadea2728
      @dyveshmahadea2728 Год назад

      Did vport 1 and vport 2 appeared for selection of bridge interface?

  • @nathanfarrar
    @nathanfarrar 9 лет назад +1

    Thank you so much for this video. So helpful for a beginner.

  • @dyvm3180
    @dyvm3180 Год назад

    Hello,
    On my vm1 and vm2, the vport1 and vport2 does not appear.
    What are the steps?
    Thank you

  • @bmachkour
    @bmachkour 4 года назад

    Why does the laptop loose internet connectivity when eth0 is attached as port of the bridge ? Not sure to understand

  • @UdaySingh-im4hd
    @UdaySingh-im4hd 4 года назад

    How can I create internal and external bridge? Actually I wanted to connect 2 interfaces (network codr) to my KVM VMs, one for internal (hostonly/inter-vm traffic ) and other for internet. @david, could you please guide me here? It will be super helpful if you can create another similar video on this.

  • @TheLastBabyBoomer
    @TheLastBabyBoomer 10 лет назад

    Great introduction. My network is starting to sing now. Thanks!

    • @DavidMahler
      @DavidMahler  10 лет назад

      Oh great John, I see you have OpenFlow 2.0 installed whose flow actions include singing, dancing and foolin' around.
      Thanks!

  • @rathisoft
    @rathisoft 8 лет назад

    As always, very informative and helpful.

    • @DavidMahler
      @DavidMahler  8 лет назад

      +Bharathi Athinarayanan Thanks for taking the time to comment!

  • @zafarqos
    @zafarqos 10 лет назад +2

    Thanks for the nice presentation. Can you refer to some nice link for installing and configuring OVS?

    • @user.w18
      @user.w18 4 года назад

      May be late but it may help other user passing by: docs.openvswitch.org/en/latest/intro/install/#installation-from-packages

  • @Conor18chaney
    @Conor18chaney 8 лет назад

    Hi David, I'm running into a problem, when I go to configure the VM-hosts, no vport option is showing. I'm using VMware on a windows machine. I've se tup OpenVswitch on a linux VM and also have set up 2 other linux VM's (to connect to the switch). any idea ? thanks

    • @DavidMahler
      @DavidMahler  8 лет назад

      +Conor Chaney Hi, I haven't tried it in VMware....

    • @Conor18chaney
      @Conor18chaney 8 лет назад

      Thanks David, I'll try it with virtualbox, one more thing, have you installed Opne Vswitch on the host machine or a VM? thanks

  • @sikrikar
    @sikrikar 9 лет назад

    I have created a tap vport1 and vport2 interfaces as shown in video but I am not seeing these interfaces from other VMs in network setting. Am i missing something?

    • @DavidMahler
      @DavidMahler  9 лет назад

      Hi. They should be there in virtual box if that's what you mean, wouldn't see them from the VMs themselves (there they are probably eth0). Other than not not sure...

  • @djFinarfin
    @djFinarfin 6 лет назад

    Hi, I was trying to do the same action via OpenStack VM, however it seems that mybridge is not able to get any IP from DHCP server, after command dhclient mybridge. Is there any idea why it's happening like that? Seems that DHCP is working fine only to eth0 port, instead of virtual interface mybridge.

    • @MichaelCourcy
      @MichaelCourcy 5 лет назад

      You probably use ssh and your ip-stack try to access eth0 (because the route has not been changed yet) but it can't because the add-port command cut the capacity of your ip stack to access directly to eth0. Instead you have the ability to access mybridge but the route must be redefined before (it's what David Mahler did with ifconfig eth0 0 and dhclient mybridge but in your case it's too late). Thus you are locked outside... A solution I found is write all the command in a script and run it with nohup ... &

  • @zhencao2281
    @zhencao2281 9 лет назад

    Super! I have not found a better introduction to ovs than yours. I have one question. I configure my laptop as an Wireless AP, and would like to control the traffic from the wlan if to the ethernet. Is that possible? And do you have some related tutorial? Thanks a lot, David.

    • @DavidMahler
      @DavidMahler  9 лет назад

      ZHEN CAO Hi no I don't have wireless specific info. You might want to try arxiv.org/pdf/1406.0440.pdf there's some references to some wireless papers. Not sure though.

  • @vinayaksharma280
    @vinayaksharma280 4 года назад

    Amazing
    Very easy to understand explaination..thank you so much

  • @antonioskoulouris2111
    @antonioskoulouris2111 10 лет назад

    Hi! If you would like, an installation video for mac mini would be very useful as there is no official installation guide for mac... Very handy video indeed... Thanks a lot

  • @IncensedCeasar7
    @IncensedCeasar7 10 лет назад

    Helps me a lot. Thanks David

  • @mohamedel-demery3006
    @mohamedel-demery3006 10 лет назад

    Excellent Job ,
    please keep going

    • @DavidMahler
      @DavidMahler  10 лет назад

      probably going to post a few more OVS videos next....when I find the time beyond my real job :-). Thanks Mohamed.

  • @justinejose5111
    @justinejose5111 8 лет назад

    Hi David, I clearly understand the concept. But I have a question. Imagine I have two NIC's connected to my machine say eth0 and eth1. My eth0 is connected to a gateway in-order to get access to the outside world. Similarly eth1 is connected to an another LAN. I am gonna add eth0 and eth1 to the bridge and two tun-tap ports created where VM1 and VM2 is connected. My question is:
    1. Would I able to reach outside world and other LAN using the same bridge? Does this concept exist?
    Thanks,
    Justine

    • @DavidMahler
      @DavidMahler  8 лет назад +1

      +Justine Jose Sure, you just need a way of segmenting the traffic for the 2 networks on the OVS instance like via OpenFlow rules or more easily VLANs configured on OVS to isolate the 2 neworks. Also you can use more than one OVS instance as well. An OpenStack Neutron deployment for example might have br-ex for external traffic, br-int where all the VMs 'meet', br-tun for VXLAN/GRE tunneling, br-vlan for VLAN segmented traffic.

    • @justinejose5111
      @justinejose5111 8 лет назад

      +David Mahler Hi David. Thank you for reaching out to me very quickly. Can you give me a little bit more idea on VLAN's configured on OVS? I would like to work on single OVS bridge. How can I assign different IP addresses such that I can segment the traffic to different networks using OVS bridge. Basically if you want to configure two networks on a single OVS bridge, you need to have two routes right?

  • @UDITPATEL1
    @UDITPATEL1 3 года назад

    How to apply Deep Packet Inspection in OpenVSwitch with OpenFlow POX controller?
    Help please, any tutorial or other code

  • @amitbhalerao2060
    @amitbhalerao2060 8 лет назад

    Hi David,
    Is it possible to use actual PCs instead of VMs and Opendaylight controller remotely attached to OVS switch?

    • @DavidMahler
      @DavidMahler  8 лет назад

      Sure, there are vendors and/or open network operating systems that support OVS directly on a physical switch. Capabilities and feature support vary of course.

    • @amitbhalerao2060
      @amitbhalerao2060 8 лет назад

      Do you know any specific website where this all mentioned?
      I am trying hard to make it possible on PCs in lab. Example like.. One PC will work like Openvswitch which is connected to another PC running Opendaylight controller and two other PCs connected as host to PC having Openvswitch. I am trying to get details about how to add actual hardware ethernet interfaces in OpenVswitch configuration. Please let me know if you any specific website.
      Thank you in advance.

  • @haifa6004
    @haifa6004 6 лет назад

    if i have multiple of eth0,eth1,eth2 how can i assign each one after connecting to virtual swich an ip address

  • @sanshrestha08
    @sanshrestha08 10 лет назад

    When I run the command ovs-vsctl dhclient mybridge, the mybridge bridge gets an ip address:169.254.5.226 but the interface name is mybridge:avahi in ifconifg and I am not able to connect to internet. Could you please tell me what the problem is ?

    • @DavidMahler
      @DavidMahler  10 лет назад

      I don't know why you are having a problem but I can tell you you are not communicating with an external DHCP server properly. That IP is self-assigned by your system which is known by both the 169.X IP and seing the avahi deamon info like that.

    • @praecorloth
      @praecorloth 9 лет назад

      This comment was made 3 months ago, but I was just scrolling through and saw it. Sandesh, the issue is that you're running the command,
      ovs-vsctl dhclient mybridge
      It looks like you're using dhclient as if it were a command line option for ovs-vsctl. But dhclient is a stand-alone application that goes out and gets an IP address for your interface, and is completely separate from ovs-vsctl. The command you should be running is,
      dhclient mybridge
      Like I said, this comment was made 3 months ago, so you've probably already figured this out. But maybe it'll help someone else who comes along in the future.

  • @nasirmahmood7799
    @nasirmahmood7799 8 лет назад

    is there any method to assign 2 IP addresses to mybridge like eth0 and eth0:1. I've a requirment to use 2 different ip pools on a single physical interface, whereas with OVS bridge, I can't assign multiple IP addresses to mybridge. any idea

  • @cptechno
    @cptechno 9 лет назад

    Question: You mention in the video that are creating two "tap interfaces". What are tap interfaces. Does it have special meaning? I am intrigued by the word "tap".

    • @DavidMahler
      @DavidMahler  9 лет назад +1

      +Colbert Philippe They are network port implemented in software / virtual world vs ports that rely on physical pieces like a NIC does. The VM is "tapping" into the virtual switch/network. I'm not sure the origin of using the term although there used to be networks with Coax cables that had "vampire taps" the taps were where systems hooked into the network by piercing into the cable...not sure if that's linked to the name, but sounds good right??

    • @cptechno
      @cptechno 9 лет назад

      Thanks!

  • @maivutuyet3101
    @maivutuyet3101 5 лет назад

    I use VMware to install the hosts connect to openvswitch. But i check the network adapter, it doesn't have the name card vport1, vport2. Instead of using the feature of virtual machine, i can use the command line for that?

    • @DavidMahler
      @DavidMahler  5 лет назад

      This video is 6 years old and I haven't recently tried to replicate the setup.

  • @rohankharade8057
    @rohankharade8057 8 лет назад +1

    hii David
    I have set bridge adapter of VM to vport1. But VM's eth0 interface not getting any IP. Ovs bridge got IP.

    • @pavlara12xperia
      @pavlara12xperia 5 лет назад

      hey. same problem here. did you manage to solve it ?

  • @ankitchhabra9759
    @ankitchhabra9759 8 лет назад

    Hi David
    Are you running OVS on a VM or your base machine. I am trying to replicate your tutorial but my OVS is running on a VM.

    • @DavidMahler
      @DavidMahler  8 лет назад

      +Ankit Chhabra IIRC it was on by host/base machine

  • @justeacko3559
    @justeacko3559 Год назад

    Hello, how to define an access control in openflow SDN with OVS?

  • @Neven1986
    @Neven1986 8 лет назад

    Really great introduction on OVS. :)

    • @DavidMahler
      @DavidMahler  8 лет назад

      +Neven Vrenko Thanks for the comment!

  • @jelssonlfflame6823
    @jelssonlfflame6823 5 лет назад

    Hay man great video love the diagrams.. Sorry to disturb you i have a question..... I still fascinating with the vmware workstation/player virtual networking... and I'm I'm wondering if there's a way to use all of that with the OVS at proxmox if so please teach me how??? I spent a lot of time trying to do it but so far i could only misconfigure my proxmox networking.... Please use diagrams

  • @nagisaberrish
    @nagisaberrish 10 лет назад

    this is really great video
    but i have some problem.
    i IP address is fixed,so i set mybridge to the fixed IP
    but,the vport1 and vport to did,t catch the IP .what is the problem??
    do u know any command can fix it?

  • @georgianmusat9958
    @georgianmusat9958 3 года назад

    i cannot ping from VMs, they do not get IP address. i run Ubuntu on my PC and Lubuntu in the VMs
    any idea why?

  • @RohitVerma-wh1ki
    @RohitVerma-wh1ki 10 лет назад

    Thanks David.. this video was very useful

    • @DavidMahler
      @DavidMahler  10 лет назад

      Great, glad it was useful Rohit.

  • @rathsantosh835
    @rathsantosh835 10 лет назад

    good video to understand ovs in a very simple way !!!! Thanks

    • @DavidMahler
      @DavidMahler  10 лет назад

      Santosh Rath You're welcome Santosh. Thanks for connecting on linkedin

  • @kuldipnanda4875
    @kuldipnanda4875 10 лет назад

    Hi David.
    Thanks for the excellent video. I am following the same set of instructions and facing this issue. After adding the bridge . I try to bring up the internal interface using ifconfig mybridge up. I am getting error
    "mybridge: Error while getting interface flags".
    Any advise/thoughts on what I am missing doing wrong,

    • @DavidMahler
      @DavidMahler  10 лет назад

      hmm no sorry, maybe search the open vswitch mailing lists...

  • @surendranath457
    @surendranath457 6 лет назад

    I've configured as you've mentioned and successfully able to access the internet via the virtual switch. But I want to restore the old state of my system where there is no virtual switch and I can access the internet as IPstack->eth0. How to restore my system?

  • @techguru9825
    @techguru9825 10 лет назад

    Very well explained. Thanks !!

  • @JaceLiang
    @JaceLiang 10 лет назад

    It's seems like you uesd DHCP ip on your host pc because you used the "dhclient" commond
    However, what if my pc is using fixed ip? what commond I need to use?
    I tried "dhclient" and it is not able to perform this commond.

    • @DavidMahler
      @DavidMahler  10 лет назад

      That's fine you can just set static IPs as you would normally to a Linux interface...

  • @EmreSeyyidhanoglu
    @EmreSeyyidhanoglu Год назад +1

    Nice explanation and demonstration but it's outdated when you try to attach you VM's in Ubuntu.

  • @ParvizKermani
    @ParvizKermani 5 лет назад

    Great & easy to understand video.
    Thank you!

  • @deeptisabnani8478
    @deeptisabnani8478 7 лет назад

    Thank you. This video made the understanding of OVS so much better. Can you also make a similar video for ovs with dpdk ? or on dpdk and generating traffic using dpdk ?

    • @DavidMahler
      @DavidMahler  7 лет назад

      Thanks for the comment, I have thought about that ;-)

  • @vineetkapoor6950
    @vineetkapoor6950 9 лет назад

    Hi David, Great Video! Please upload more tutorial videos on OVS. Thanks

    • @DavidMahler
      @DavidMahler  9 лет назад

      +vineet kapoor Thanks Vineet! I have 2 ones on OpenStack on deck, the second one will get a bit into how OVS is used there for Neutron.

  • @raajkr6762
    @raajkr6762 8 лет назад

    I think for two vms (vm1 and vm2,) you have got mininets installed.
    I have a query, I am not getting option to attach vport1 and vport2 on the vm1 and vm2 respectively.
    these are ports on mybridge(i have created mybridge and added two virtual ports vport1 and vport2.)

    • @DavidMahler
      @DavidMahler  8 лет назад

      Hello - your right, only because those were the images I happened to have on my laptop. That shouldn't really matter though, I don't think your issue would be related. I'm not sure what your problem could be, maybe someone else can comment.....

    • @raajkr6762
      @raajkr6762 8 лет назад

      Thanks It worked fine and I am able to add the vports. Please do few videos on devstack or cloud in a box.

    • @casswang9402
      @casswang9402 7 лет назад

      Hi raj, how did you fix it? i still can't attach VM1/VM2 to vport1/vport2. there's no options to select. could you help?