Introduction to Open vSwitch (OVS)

  Рет қаралды 380,407

David Mahler

David Mahler

Күн бұрын

An Introduction to Open vSwitch (OVS).
Twitter: @davidmahler
LinkedIn: / davidmahler
Links:
Intro to OpenFlow: • Introduction to OpenFlow
Open vSwitch project page: openvswitch.org
OVS Deep Dive Presentation : • Open vSwitch Deep Dive...
OVS FAQs: openvswitch.org...
OVS Official Documentation: openvswitch.org...
Brent Salisbury's Blog: networkstatic.net/
Commands used in this video:
#show ovs current config summary
ovs-vsctl show
#add a bridge
ovs-vsctl add-br mybridge
#turn up mybridge interface
ifconfig mybridge up
#add eth0
ovs-vsctl add-port mybridge eth0
#remove eth0's IP addressing
ifconfig eth0 0
#make mybridge interface get a DHCP IP
dhclient mybridge
#add tap interfaces
ip tuntap add mode tap vport1
ip tuntap add mode tap vport 2
#add tap interfaces to mybridge
ovs-vsctl add-port mybridge vport1 -- add-port mybridge vport2
#view forwarding table (mac address table)
ovs-appctl fdb/show
#see mapping of OpenFlow ports to system ports
ovs-ofctl show mybridge
#see flow entries (OpenFlow) on mybridge
ovs-ofctl dump-flows mybridge
#see records in ovsdb-server tables
ovs-vsctl list Bridge
ovs-vsctl list Port
ovs-vsctl list Interface

Пікірлер: 472
@JayLooney
@JayLooney 8 жыл бұрын
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 жыл бұрын
+Jay Looney Great suggestion, thanks!
@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.
@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.
@PetterBruland
@PetterBruland 8 жыл бұрын
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.
@cbaxtermusic
@cbaxtermusic 9 жыл бұрын
dude you are making this too easy to understand, GREAT VIDEOS!!!!!!
@DavidMahler
@DavidMahler 9 жыл бұрын
C Bax Thanks, I'm glad they are useful for you!
@matscloud
@matscloud 6 жыл бұрын
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 жыл бұрын
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!
@H3cJP
@H3cJP 4 ай бұрын
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
@DavidMahler
@DavidMahler 11 күн бұрын
ty!
@steveinbox8771
@steveinbox8771 3 жыл бұрын
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 жыл бұрын
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 :)
@sanshrestha08
@sanshrestha08 9 жыл бұрын
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!
@pranaypallavtripathi2460
@pranaypallavtripathi2460 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 👍
@DavidMahler
@DavidMahler Жыл бұрын
Thank you Pranay!!!
@sivan111in
@sivan111in 9 жыл бұрын
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...
@DavidMahler
@DavidMahler 9 жыл бұрын
Viswa K.S.P You're welcome!
@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.
@Akshatha512
@Akshatha512 6 жыл бұрын
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 жыл бұрын
That's, great Akshata. Thanks so much for the kind words! The networking field is definitely about digging deeper into everything.
@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.
@Javier_FH
@Javier_FH 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 жыл бұрын
This is because they change cosmetics things every time to time but the core concepts are the same. man pages are your friend.
@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!
@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!
@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!!
@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.
@vinayaksharma280
@vinayaksharma280 4 жыл бұрын
Amazing Very easy to understand explaination..thank you so much
@DavidMahler
@DavidMahler 3 жыл бұрын
yw!
@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 жыл бұрын
Thank you so much for this video. So helpful for a beginner.
@DavidMahler
@DavidMahler 9 жыл бұрын
***** You're welcome Nathan!
@pwu2007
@pwu2007 8 жыл бұрын
great video, simple and strait forward, easy to understand, thank you.
@DavidMahler
@DavidMahler 7 жыл бұрын
You're welcome Ping!
@sreenivasaraju4988
@sreenivasaraju4988 4 жыл бұрын
Excellent demo, makes me easy to understand.
@DavidMahler
@DavidMahler 4 жыл бұрын
Great!
@ramprasvm
@ramprasvm 10 жыл бұрын
to the point and very practical approach.. thanks a lot for the great presentation
@DavidMahler
@DavidMahler 10 жыл бұрын
No problem! Thanks Rampras.
@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.
@vitalysibichenkov7202
@vitalysibichenkov7202 7 жыл бұрын
Thanks for great explanation! I've added script in autostart and all is running well.
@DavidMahler
@DavidMahler 7 жыл бұрын
You're welcome!
@wdxgy136
@wdxgy136 8 жыл бұрын
非常好的ovs指导视频,感谢作者!
@DavidMahler
@DavidMahler 8 жыл бұрын
You're welcome! Thanks for the comment.
@ffp3
@ffp3 8 жыл бұрын
Thank you for this video, very useful, brief and to the point with example. Great job.
@DavidMahler
@DavidMahler 8 жыл бұрын
Thanks!
@manickamdhayalan
@manickamdhayalan 10 жыл бұрын
Great David. Awesome video.
@DavidMahler
@DavidMahler 10 жыл бұрын
Thanks Dhayalan!
@rraj7491
@rraj7491 10 жыл бұрын
Expectation well set and great presentation! Thanks and well done David!
@DavidMahler
@DavidMahler 10 жыл бұрын
Thanks!
@RohitVerma-wh1ki
@RohitVerma-wh1ki 10 жыл бұрын
Thanks David.. this video was very useful
@DavidMahler
@DavidMahler 10 жыл бұрын
Great, glad it was useful Rohit.
@undeaddutch
@undeaddutch 10 жыл бұрын
Very clear explanation! Would like to see more :)
@Oswee
@Oswee 3 жыл бұрын
Would be really great to have updated 2021 version of this very same video. :)
@DavidMahler
@DavidMahler 3 жыл бұрын
I agree ha.
@timmy610387
@timmy610387 4 жыл бұрын
Awesome video
@DavidMahler
@DavidMahler 3 жыл бұрын
Thanks!
@srinivaspithani7645
@srinivaspithani7645 9 жыл бұрын
Nice video David, helped me to learn OVS , a good start for me ... Thanks for uploading .
@DavidMahler
@DavidMahler 9 жыл бұрын
+Srinivas Pithani Anytime!
@rathisoft
@rathisoft 8 жыл бұрын
As always, very informative and helpful.
@DavidMahler
@DavidMahler 8 жыл бұрын
+Bharathi Athinarayanan Thanks for taking the time to comment!
@singar1976
@singar1976 9 жыл бұрын
Great video to get started on OVS. Thank you for your effort.
@DavidMahler
@DavidMahler 9 жыл бұрын
Singaravelu Shanmugam yw!
@k6eep593
@k6eep593 6 жыл бұрын
I had to do "ifconfig vport1 up" and "ipconfig vport2 up" also. Thanks for video!
@DavidMahler
@DavidMahler 6 жыл бұрын
Thanks!
@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!
@SeePatPlay
@SeePatPlay 5 ай бұрын
Super helpful video! Thanks
@DavidMahler
@DavidMahler 11 күн бұрын
So glad!
@tiskanto
@tiskanto 10 жыл бұрын
Excellent Job ...!!!! need more videos like these please !
@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!
@IncensedCeasar7
@IncensedCeasar7 10 жыл бұрын
Helps me a lot. Thanks David
@DavidMahler
@DavidMahler 10 жыл бұрын
yw!
@richardmurphy7101
@richardmurphy7101 10 жыл бұрын
Makes sense now. :-) Thanks from a fellow HPer.
@DavidMahler
@DavidMahler 10 жыл бұрын
:-) You're quite welcome!
@EmreSeyyidhanoglu
@EmreSeyyidhanoglu Жыл бұрын
Nice explanation and demonstration but it's outdated when you try to attach you VM's in Ubuntu.
@wamosalis26
@wamosalis26 10 жыл бұрын
Great video. It really helps me
@DavidMahler
@DavidMahler 10 жыл бұрын
Great!
@tolosricardos2111
@tolosricardos2111 Жыл бұрын
Very helpful. Thank you very much. 🙏🙏🙏🙏🙏🙏🙏
@DavidMahler
@DavidMahler Жыл бұрын
Most welcome 😊
@dyveshmahadea2728
@dyveshmahadea2728 Жыл бұрын
You have been able to configure this?
@SharnavBanik
@SharnavBanik 7 жыл бұрын
Excellent tutorial. Thank you.
@DavidMahler
@DavidMahler 7 жыл бұрын
You're welcome!
@ParvizKermani
@ParvizKermani 5 жыл бұрын
Great & easy to understand video. Thank you!
@DavidMahler
@DavidMahler 5 жыл бұрын
Thanks!
@Bagga4u
@Bagga4u 10 жыл бұрын
Very well explained. Thanks !!
@DavidMahler
@DavidMahler 10 жыл бұрын
You're welcome Prabhjit!
@lifeisbeautiful7882
@lifeisbeautiful7882 2 жыл бұрын
Great explanation, thanks
@DavidMahler
@DavidMahler Жыл бұрын
YW!
@dyvm3180
@dyvm3180 Жыл бұрын
Did vport 1 and vport 2 appeared for selection of bridge interface?
@richardwang1480
@richardwang1480 10 жыл бұрын
very good introduction course!!
@DavidMahler
@DavidMahler 10 жыл бұрын
Thanks Richard
@loipan1891
@loipan1891 10 жыл бұрын
Thanks David. That's nice.
@DavidMahler
@DavidMahler 10 жыл бұрын
You're welcome Loi!
@parisonravalomanda7670
@parisonravalomanda7670 10 жыл бұрын
Simple and clear! Thank you
@DavidMahler
@DavidMahler 10 жыл бұрын
Thanks for the comment Parison. You're welcome!
@mconran69
@mconran69 8 жыл бұрын
Very good david
@DavidMahler
@DavidMahler 8 жыл бұрын
+Matthew Conran Thanks Matt! Thought I recognized your name - checking out your blog right now..looks awesome! network-insight.net/
@anandanviv1
@anandanviv1 10 жыл бұрын
It was great listening..Neat presentation
@DavidMahler
@DavidMahler 10 жыл бұрын
Thanks Vivekanandan
@rohan2726
@rohan2726 8 жыл бұрын
Thank You david. Great video.
@DavidMahler
@DavidMahler 8 жыл бұрын
You're welcome rohan!
@Neven1986
@Neven1986 8 жыл бұрын
Really great introduction on OVS. :)
@DavidMahler
@DavidMahler 8 жыл бұрын
+Neven Vrenko Thanks for the comment!
@tawakaleezz1993
@tawakaleezz1993 9 жыл бұрын
Thank you and waiting for more Great Videos
@DavidMahler
@DavidMahler 9 жыл бұрын
tawakal eezz :-) I'll try.....
@mikee5306
@mikee5306 10 жыл бұрын
Thanks so much for this. Turns out I don't even need the bridge-utils package.
@张豪-t7e
@张豪-t7e 6 жыл бұрын
It‘s very useful, thank you a lot.
@DavidMahler
@DavidMahler 6 жыл бұрын
You're welcome, thanks for commenting.
@normanmeinzer6698
@normanmeinzer6698 7 жыл бұрын
Thanks for this awesome example! Unfortunately I did run into a problem that may fit to multiple comments here: The VirtualBox VMs are not able to communicate with the virtual bridge. In my case, all packets have been dropped by the tuntap interface. Also, doing a `netstat -i`, I've seen exclusively TR-ERRs on the internal bridge port and exclusively TX-OVRs on the tuntaps. The root cause is that VirtualBox seems to require hardware virtualization for communicating with a virtual bridge or a tuntap interface. Don't know exactly. However, no warning is produced anywhere. So if you have the same problem, then check if VT-x or AMD-V is available on your host machine. E.g. with `egrep -c '(vmx|svm)' /proc/cpuinfo`. If this returns 0, then you may be able to fix it by enabling one of the features in your BIOS. In my case, the situation was a little bit weirder. I'm using nested VMs. I have a Mac that runs a VM in which I'm using openvswich. Within this VM I have a bunch of other VMs that connect to the vswitch/bridge. This means that the first level VM needs to emulate a CPU that supports hardware virtualization. In VMWare it can be enabled under the advanced settings of the virtual CPU. Didn't find the same option in VirtualBox. By default it is not enabled.
@DavidMahler
@DavidMahler 7 жыл бұрын
Thanks so much for commenting on this
@raajkr6762
@raajkr6762 8 жыл бұрын
Very useful talk
@DavidMahler
@DavidMahler 8 жыл бұрын
Thanks!
@donmccoy20
@donmccoy20 6 жыл бұрын
Brilliant video, thanks so much
@DavidMahler
@DavidMahler 6 жыл бұрын
Thank you!
@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
@rexagon7945
@rexagon7945 6 жыл бұрын
Love the demo part.
@DavidMahler
@DavidMahler 6 жыл бұрын
Thanks, Visuals help me to learn a lot
@derekchamorro78
@derekchamorro78 10 жыл бұрын
Great video David!!!
@srijit999
@srijit999 10 жыл бұрын
Thanks for the demo
@DavidMahler
@DavidMahler 10 жыл бұрын
Anytime :-)
@bsudhakoushik
@bsudhakoushik 9 жыл бұрын
Perfect Intro to OVS. :-)
@DavidMahler
@DavidMahler 9 жыл бұрын
Sudha Koushik Thanks!
@srinivasanrao4593
@srinivasanrao4593 4 жыл бұрын
This is so so so so so GOOOd!!! thank you!!!
@DavidMahler
@DavidMahler 4 жыл бұрын
You're so welcome!
@yanandre7352
@yanandre7352 10 жыл бұрын
excellent video! thanks!
@DavidMahler
@DavidMahler 10 жыл бұрын
You're welcome Yan! Thank You!
@vinllenchen9964
@vinllenchen9964 9 жыл бұрын
nice vedio! thank you David
@DavidMahler
@DavidMahler 9 жыл бұрын
Vinllen Chen You're welcome!
@bmachkour
@bmachkour 4 жыл бұрын
Why does the laptop loose internet connectivity when eth0 is attached as port of the bridge ? Not sure to understand
@bboyfaja
@bboyfaja 10 жыл бұрын
Cool video, but to get mapping: port number (from ovs-appctl fdb/show BRIDGE) interface name you should use ovs-dpctl show (especially when you have > 1 ovs bridge in your system) cheers
@DavidMahler
@DavidMahler 10 жыл бұрын
Hello bboyfaja - at first I agreed with you but look at this: The ports are not mapping the same in the 2 commands, and the correct mapping looks to be in ovs-ofctl and not in ovs-dpctl..... See port '1' for example...(maps to OVS internal port on 'dpctl', but to s2-eth1 on 'ofctl'. root@mininet-vm:/home/mininet/mininet/examples# ovs-dpctl show system@ovs-system: lookups: hit:895 missed:41 lost:0 flows: 1 port 0: ovs-system (internal) port 1: s2 (internal) port 2: s2-eth1 port 3: s2-eth2 port 4: vxlan_sys_4789 (vxlan: df_default=false, ttl=0) root@mininet-vm:/home/mininet/mininet/examples# ovs-ofctl show s2 OFPT_FEATURES_REPLY (xid=0x2): dpid:0000000000000002 n_tables:254, n_buffers:256 capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE 1(s2-eth1): addr:5e:6c:cf:98:d1:0d config: 0 state: 0 current: 10GB-FD COPPER speed: 10000 Mbps now, 0 Mbps max 2(s2-eth2): addr:4a:01:f9:c5:1f:b5 config: 0 state: 0 current: 10GB-FD COPPER speed: 10000 Mbps now, 0 Mbps max 10(vtep): addr:a6:52:52:99:a4:bf config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max LOCAL(s2): addr:ba:2a:a1:84:38:42 config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
@bboyfaja
@bboyfaja 10 жыл бұрын
David Mahler Hi David, yes, you are right. Port mappings from 'ovs-dpctl show' and 'vs-ofctl show bridge_name' are different, and I'm not fully understand this, but what I've noticed is: if I print mac table using command: 'ovs-appctl fdb/show br-int' and want to know port->interface mapping I need to use 'ovs-dpctl show'. Please take a look: 1) I have 2 bridges # ovs-vsctl list-br br-int br-vm 2) mac table on one of them: # ovs-appctl fdb/show br-int port VLAN MAC Age 5 1 da:7a:51:f7:68:b1 124 5 1 86:85:ce:af:71:56 119 5 1 da:7a:51:f7:d2:2d 119 ... ... 4 1 fa:16:3e:bb:59:02 0 In mac table I have only ports: 4 and 5. 3) Ports in this bridge: # ovs-vsctl list-ports br-int int-br-vm tap48931a45-3d So the question is which one is port 4 and which one is port 5? Lets see what do 'ovs-dpctl show' and 'ovs-ofctl show' print: 4) ovs-dpctl show # ovs-dpctl show system@ovs-system: lookups: hit:134035999 missed:1701486556 lost:0 flows: 256 port 0: ovs-system (internal) port 1: br-int (internal) port 2: br-vm (internal) port 3: eth0 port 4: tap48931a45-3d (internal) port 5: int-br-vm port 6: phy-br-vm 5) ovs-ofctl show br-int # ovs-ofctl show br-int OFPT_FEATURES_REPLY (xid=0x2): dpid:00003aa578eb5a42 n_tables:254, n_buffers:256 capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE 1(tap48931a45-3d): addr:fa:16:3e:bb:59:02 config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max 3(int-br-vm): addr:ee:22:7e:10:40:28 config: 0 state: 0 current: 10GB-FD COPPER speed: 10000 Mbps now, 0 Mbps max LOCAL(br-int): addr:3a:a5:78:eb:5a:42 config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0 So it looks like 'ovs-dpctl show' prints correct mappings. Cheers and thank you for your videos, they are great!
@yasser_rafid
@yasser_rafid 16 күн бұрын
great video!
@DavidMahler
@DavidMahler 11 күн бұрын
Thanks!
@vmejia1979
@vmejia1979 Жыл бұрын
Great video.
@DavidMahler
@DavidMahler Жыл бұрын
Thanks!
@dyvm3180
@dyvm3180 Жыл бұрын
Hello, On my vm1 and vm2, the vport1 and vport2 does not appear. What are the steps? Thank you
@MartynDavies
@MartynDavies 4 жыл бұрын
Very useful, thanks
@DavidMahler
@DavidMahler 4 жыл бұрын
You're welcome!
@guteusa
@guteusa 9 жыл бұрын
Great video intro on ovsdb!
@DavidMahler
@DavidMahler 9 жыл бұрын
Gute Fernandes Thanks a lot.
@vineetkapoor6950
@vineetkapoor6950 8 жыл бұрын
Hi David, Great Video! Please upload more tutorial videos on OVS. Thanks
@DavidMahler
@DavidMahler 8 жыл бұрын
+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.
@lordskyit
@lordskyit 3 жыл бұрын
Hello, thank you for your time! Did you take a video about setup fake vlan inside OVS? Thank you!
@young-bosim8284
@young-bosim8284 8 жыл бұрын
Soooooooooooooooooooo useful for me!! Thank you so much.
@DavidMahler
@DavidMahler 8 жыл бұрын
You're very welcome!!!! Thanks for commenting.
@jianweiyan8642
@jianweiyan8642 9 жыл бұрын
very good, thanks!
@DavidMahler
@DavidMahler 9 жыл бұрын
+Jianwei Yan Anytime!
@easycollabDotNet
@easycollabDotNet 9 жыл бұрын
Thanks man - this video helped a lot. I'm subscribing :)
@DavidMahler
@DavidMahler 9 жыл бұрын
Awesome!
@anatoxin
@anatoxin 7 жыл бұрын
Clear presentation
@DavidMahler
@DavidMahler 7 жыл бұрын
Thanks a lot!
@vinllenchen9964
@vinllenchen9964 9 жыл бұрын
hi, David, i follow your way to start my vhost through the virtualbox, and i also use the bridge adpter, one vhost connect to vport1, and another connect to vport2. But, there is no ip address in the vhost after a start it. Do you konw the reason? Great appreciate for your reply
@vinllenchen9964
@vinllenchen9964 9 жыл бұрын
But when i connect to the eth0 instead of the vport1 and vport2, i can get the ip address
@user.w18
@user.w18 4 жыл бұрын
Probably missed to add eth0 to the bridge, using: `ovs-vsctl add-port mybridge eth0`
@longnguyenhoang6735
@longnguyenhoang6735 2 жыл бұрын
@@user.w18 I don't have eth0 but have wlp2s0, which is my wireless NIC, and I've already added to mybridge. However, I still face the problem of no ip for vport1 and vport2. Can you help me with this?
@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 ?
@r1ckmav
@r1ckmav 9 жыл бұрын
thanks David that was a good one
@DavidMahler
@DavidMahler 9 жыл бұрын
Ashish Jain You're welcome. Glad you liked it!
@sergiogonzalez6597
@sergiogonzalez6597 9 жыл бұрын
great job, awesome tutorial!!!!
@DavidMahler
@DavidMahler 9 жыл бұрын
sergio gonzalez Thanks Sergio!
@heikoloewe1539
@heikoloewe1539 9 жыл бұрын
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
@DavidMahler
@DavidMahler 9 жыл бұрын
Heiko Loewe Hmm OK thanks Heiko, I hadn't tried on Fedora, I'll check it out!
@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.
@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?
@Marco_Onyxheart
@Marco_Onyxheart 3 жыл бұрын
Doesn't seem to work for me. When I assign eno1 to my bridge, I lose internet access, as expected. I then run "ifconfig eno1 0" and "dhclient mybridge". Still no internet. "route -n" shows eno1, instead of the bridge like in the tutorial.
@Javier_FH
@Javier_FH 2 жыл бұрын
Hi Marco, did you ever figured out how to solve that issue, I am pretty much at the same place as you. If you fixed it, do you remember how?
@MaryamTanha40
@MaryamTanha40 9 жыл бұрын
Awesome! Thanks.
@DavidMahler
@DavidMahler 9 жыл бұрын
You're welcome Maryam!
@krskeshara
@krskeshara 8 жыл бұрын
great video to get understand. Thanks....
@DavidMahler
@DavidMahler 8 жыл бұрын
+Keshara Dorakumbura You're welcome, thanks for commenting!
@RM-gm7lu
@RM-gm7lu 3 жыл бұрын
Thanks for the great content!
@DavidMahler
@DavidMahler 3 жыл бұрын
Glad you enjoy it!
@dillip4572
@dillip4572 6 жыл бұрын
Good intro stuff. Thanks
@DavidMahler
@DavidMahler 6 жыл бұрын
You're welcome!
@PascalPETIT91
@PascalPETIT91 8 жыл бұрын
Thanks for this videos. An idea: with subtitles, i will be easier for peoples not so fluent in english. It will allow people to submit foreign langage translation. It will be better for deaf people.
@DavidMahler
@DavidMahler 8 жыл бұрын
Hey Pascal, thanks for that feedback!
@DavidMahler
@DavidMahler 7 жыл бұрын
FYI on my last video "Introduction to Git" I added subtitles, I will be doing that from now on, thanks for the feedback - I made a process change to incorporate it now.
@ChengyuFan
@ChengyuFan 8 жыл бұрын
useful tutorial to me
@DavidMahler
@DavidMahler 8 жыл бұрын
+Chengyu Fan Great!
@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
SDN ДЛЯ НИЩЕБРОДОВ. Open vSwitch + Libvirt
40:53
Sneaky Subnet
Рет қаралды 6 М.
VXLAN Introduction
26:55
Joe Rinehart
Рет қаралды 125 М.
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 12 МЛН
The day of the sea 😂 #shorts by Leisi Crazy
00:22
Leisi Crazy
Рет қаралды 1,6 МЛН
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 64 МЛН
OpenFlow flow entries on Open vSwitch (OVS)
14:23
David Mahler
Рет қаралды 82 М.
VM Networking ( Libvirt / Bridge )
43:39
octetz
Рет қаралды 79 М.
Introduction to Git - Core Concepts
28:37
David Mahler
Рет қаралды 343 М.
Open vSwitch Deep Dive The Virtual Switch for OpenStack
34:18
OpenInfra Foundation
Рет қаралды 21 М.
Introduction to Linux Network Namespaces
25:51
David Mahler
Рет қаралды 124 М.
Network Namespaces Basics Explained in 15 Minutes
15:32
KodeKloud
Рет қаралды 110 М.
An Introduction to Open vSwitch - Simon Horman
35:50
Linux.conf.au 2012 -- Ballarat, Australia
Рет қаралды 41 М.
Introduction to Cloud Overlay Networks - VXLAN
15:14
David Mahler
Рет қаралды 165 М.
pfSense Firewall - pfSense Administration Full Course
3:35:47
Knowledge Power
Рет қаралды 523 М.
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 12 МЛН