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.
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.
+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.
+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.
+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.
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.
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
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
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 :)
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.
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 👍
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...
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.
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
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. :)
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.
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?
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
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
Hi David, for my Fedora 21 distribution I had to add some routing commands to make it work. # route del default gw 192.168.1.1 enp0s25 default route was still pointing to the phys. interface # route add default gw 192.168.1.1 mybridge So I had to setup a new default route # route del -net 192.168.1.0 netmask 255.255.255.0 dev enp0s25 also I had 2 routes to the local net and had to delete the old route
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.
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.
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".
+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??
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?
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!
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.
+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.
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!
You're welcome, thanks for the comment!
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.
+Jay Looney Great suggestion, thanks!
+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.
+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.
+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.
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.
Motör Punx HA, I'm glad I could help via the video, thanks for the comments!
dude you are making this too easy to understand, GREAT VIDEOS!!!!!!
C Bax Thanks, I'm glad they are useful for you!
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
ty!
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.
Thank you Srinivas! You are very welcome.
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
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 :)
David, thanks for creating this tutorial. Your presentation style makes the content easy to follow.
Thanks Jeff, I appreciate the comment!
Jeff Loughridge
When busines started ovs & how stores do u have? I am interested about ovs?
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.
sandesh shrestha Thanks Sandesh!
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 👍
Thank you Pranay!!!
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...
Viswa K.S.P You're welcome!
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.
That's, great Akshata. Thanks so much for the kind words! The networking field is definitely about digging deeper into everything.
One of the excellent informational videos i have ever found with such great vocational and presentation skills. Great clarity. Thanks David !!!
Rohan Shah Thanks Rohan! Quite the complement!
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
David Caughey I'm glad you like them, thanks for the comment!
Dear Sir, One of the best presentations O have ever seen. Thanks for your help.
buttegowda Thanks a lot!
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 !
Great, I'm glad its was helpful. Thanks Reuben.
Very good video. Easy to follow and put in terms most people can understand. Well done, and thank you for making it.
Hey Joseph, thanks for commenting! You're welcome!!
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
This is because they change cosmetics things every time to time but the core concepts are the same. man pages are your friend.
非常好的ovs指导视频,感谢作者!
You're welcome! Thanks for the comment.
It’s really nice! You have explained clearly. Thanks for sharing the knowledge. Happy to learn.
Glad it was helpful!
phenomenal explanation and tutorial!
Thank you! I appreciate this comment!
Did vport 1 and vport 2 appeared for selection of bridge interface?
to the point and very practical approach.. thanks a lot for the great presentation
No problem! Thanks Rampras.
Expectation well set and great presentation! Thanks and well done David!
Thanks!
Excellent demo, makes me easy to understand.
Great!
Thank you so much for this video. So helpful for a beginner.
***** You're welcome Nathan!
Very good video and its quite useful. It gave me a good overview of ovs. Thanks David Mahler.
+Saravanan M You're very welcome! I'm happy it helped!
great video, simple and strait forward, easy to understand, thank you.
You're welcome Ping!
Thank you for this video, very useful, brief and to the point with example. Great job.
Thanks!
Very clear explanation! Would like to see more :)
As always, very informative and helpful.
+Bharathi Athinarayanan Thanks for taking the time to comment!
Great David. Awesome video.
Thanks Dhayalan!
Amazing
Very easy to understand explaination..thank you so much
yw!
Nice video David, helped me to learn OVS , a good start for me ... Thanks for uploading .
+Srinivas Pithani Anytime!
Thanks for great explanation! I've added script in autostart and all is running well.
You're welcome!
Great video to get started on OVS. Thank you for your effort.
Singaravelu Shanmugam yw!
Thanks David.. this video was very useful
Great, glad it was useful Rohit.
Very helpful.
Thank you very much.
🙏🙏🙏🙏🙏🙏🙏
Most welcome 😊
You have been able to configure this?
Helps me a lot. Thanks David
yw!
Excellent Job ...!!!! need more videos like these please !
Would be really great to have updated 2021 version of this very same video. :)
I agree ha.
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. :)
Thanks Bushra! Thanks for the feedback!
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.
Excellent Job ,
please keep going
probably going to post a few more OVS videos next....when I find the time beyond my real job :-). Thanks Mohamed.
Excellent tutorial. Thank you.
You're welcome!
Very well explained. Thanks !!
You're welcome Prabhjit!
Great introduction. My network is starting to sing now. Thanks!
Oh great John, I see you have OpenFlow 2.0 installed whose flow actions include singing, dancing and foolin' around.
Thanks!
Super helpful video! Thanks
So glad!
good video to understand ovs in a very simple way !!!! Thanks
Santosh Rath You're welcome Santosh. Thanks for connecting on linkedin
Great & easy to understand video.
Thank you!
Thanks!
This is so so so so so GOOOd!!! thank you!!!
You're so welcome!
Great video. It really helps me
Great!
Mate ! - Do you know you are a superstar :).. Excellent tutorials - keep it coming
LOL, no no. Thanks for commenting dude! (US 'mate' ?)
Hello, thank you for your time! Did you take a video about setup fake vlan inside OVS? Thank you!
Thank You david. Great video.
You're welcome rohan!
Amazing explanation..! - Thanks
Thanks! and you're welcome!
Simple and clear! Thank you
Thanks for the comment Parison. You're welcome!
Really great introduction on OVS. :)
+Neven Vrenko Thanks for the comment!
Brilliant video, thanks so much
Thank you!
Great video intro on ovsdb!
Gute Fernandes Thanks a lot.
this was so incredibly well explained. thank you so much
any chance of setting up vlan tagging on ovs switches in the future please ?
It was great listening..Neat presentation
Thanks Vivekanandan
Great explanation, thanks
YW!
Did vport 1 and vport 2 appeared for selection of bridge interface?
Thank you and waiting for more Great Videos
tawakal eezz :-) I'll try.....
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?
Clear presentation
Thanks a lot!
I had to do "ifconfig vport1 up" and "ipconfig vport2 up" also. Thanks for video!
Thanks!
very good introduction course!!
Thanks Richard
Great video David!!!
Thanks a lot! very good introduction!
Genevive Nandury Thanks!
Thanks David. That's nice.
You're welcome Loi!
Hey man great vid! Quick question did you use this in ubuntu?
Thanks! Yes
Thanks for the nice presentation. Can you refer to some nice link for installing and configuring OVS?
May be late but it may help other user passing by: docs.openvswitch.org/en/latest/intro/install/#installation-from-packages
thanks David that was a good one
Ashish Jain You're welcome. Glad you liked it!
Soooooooooooooooooooo useful for me!!
Thank you so much.
You're very welcome!!!! Thanks for commenting.
Very good david
+Matthew Conran Thanks Matt! Thought I recognized your name - checking out your blog right now..looks awesome!
network-insight.net/
great job, awesome tutorial!!!!
sergio gonzalez Thanks Sergio!
Thanks for the great content!
Glad you enjoy it!
Love the demo part.
Thanks, Visuals help me to learn a lot
Thanks man - this video helped a lot.
I'm subscribing :)
Awesome!
Hi David, Great Video! Please upload more tutorial videos on OVS. Thanks
+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.
Thx! This video helps a lot.
+xueyan lu No problem!
Perfect Intro to OVS. :-)
Sudha Koushik Thanks!
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
nice vedio! thank you David
Vinllen Chen You're welcome!
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
excellent video! thanks!
You're welcome Yan! Thank You!
Hi David,
for my Fedora 21 distribution I had to add some routing commands to make it work.
# route del default gw 192.168.1.1 enp0s25
default route was still pointing to the phys. interface
# route add default gw 192.168.1.1 mybridge
So I had to setup a new default route
# route del -net 192.168.1.0 netmask 255.255.255.0 dev enp0s25
also I had 2 routes to the local net and had to delete the old route
Heiko Loewe Hmm OK thanks Heiko, I hadn't tried on Fedora, I'll check it out!
Very useful talk
Thanks!
Makes sense now. :-) Thanks from a fellow HPer.
:-) You're quite welcome!
That was great. Thanks a lot man!
You're welcome!
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.
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.
Very useful, thanks
You're welcome!
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".
+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??
Thanks!
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?
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!
Great video ,Pretty well explained . I have subscribed you .Did you ever do an video on Linux bridge .
No, thanks for the suggestion
great video!
Thanks!
Good intro stuff. Thanks
You're welcome!
great video to get understand. Thanks....
+Keshara Dorakumbura You're welcome, thanks for commenting!