This video is one of the best I've seen on the subject. You seem to have scripted the narrative so it does not ramble, is precise and to the point which I really like. It delivers both detail and clarity which is typically difficult to achieve simultaneously. From your Linkedin your time as a trainer helps to explain the above. I really hope you'll do more videos on SDN.
Your tutorials are nice, it has balanced switching of slides and hands-on screen, you have great voice, diagrams are helping to identify the things easily.
Excellent video David! Cleared up a lot of my doubts. Just one question at 3:20 When the initial SYN packet arrives at the switch, how does the switch know which controller to send it to. As OpenFlow controllers could be implemented by different people, how does an intermediary switch identify which controller to talk to for a particular packet?
Hi David, Thanks for these videos on open flow and intro to SDN. I am really excited about this new era of networking. Your videos are very well understood.
Hi David, Thanks for this and other great videos. Do you have any video on using the ODL APIs to re-actively modify the routes? I am interested in service chaining using SDN and looking for a tutorial or video that explains how an application on top of SDN controller can manipulate routes on the fly.
Openflow concept well explained. It is about controlling the switches by utilizing flow tables and their entries. If no entry is matched in the switch, controller is then utilized to make new entry. Also, some wireshark example how to understand the openflow 'packets'
Sanjeev Shrivastava I think good sources of information are www.coursera.org/course/sdn (great online SDN course) the links from there: An attempt to motivate and clarify Software-Defined Networking (SDN) , and How SDN will Shape Networking - Nick McKeown Also lot's of more detail on the ONS (Open Networking Summit) TH-cam page: th-cam.com/channels/Ho2uqQqpmE_Cg5b4qiUpUg.html
this video is without any subtitles, it's little difficult to understand, may i know if u have the video with subtitiles? my E-mail address is 1557862201@qq.com, many thanks!
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 going forward.
Rich and to the point! thanx! one question: would you recommend the approach to implement link aggregation on the packet level with multiple links of different characteristics (latency, badwitdh, loss) using openflow with openv-switch?
Great video and very helpful - I am taking the SDN class on Coursera and thought this was a good video to help get a head start. One question - do you know of any other good technical videos that might give a good/quick overview of network basics (without being overly simple)?
Hello Brian, I haven't looked at more than a few of the videos from them but the course at Stanford online looks like it might be really good. f12.class2go.stanford.edu/networking/Fall2012 You have to register for the links to work.... Thanks for the comments! Dave
Hey David , great videos. Im wondering as I saw your linkedIn profile and the great amount of experience you have in networking especially on Cisco. I just started working at the IT department of a company and we are currently building the network infrastructure for two buildings that are going to be interconnected (24 story building-79 condos, 33 story-130 condos). This infrastructure should support video, voice, data, BAS, etc. We are trying to decide what vendor product should purchase, we have proposals for Alcaltel Lucent, Cisco and Avaya. What input can you give me on this? Thanks in advance.
Hi... Its very simple to understand.. Thank you... I have a small clarification... Please clarify... How the controller know that a particular host is connected to this specific port in the open flow switch?-- inorder to push the flow with action.. Thanks in advance...
Hi Andrew - well the first packet from a host is sent to the controller in a packet-in message from the ingress switch, so it is then 'aware' of the host
Andrew Niteesh Ah - up to the implementation of the different controllers and how they are programmed. But for example they can do flooding unknown unicast destination and learning the same way a traditional switch does (learn from source MAC/Port of a frame) or say if there is an orchestration platform involved that already knows where VMs are (because it put them there) stuff can be pre-populated.... Hope that helps....
Thanks for these videos. But can u please explain how to understand the packet flow path followed like h1->S1->S2->h2 in a tree topology without s3 used up to send packets. How to understand the dump-flows result if using controller.java to set switch flows.
I know this was 6 years ago, but something doesn't make sense. Back in the early days of networking, we had bridges which performed frame switching via software. This was a bit slow so frame switching was performed via the ASIC (ASIC - application-specific intergraded circuit). This allows frames to be processed at wire speed. Now we're back to a software implementation of switching. Don't get me wrong I fully understand the benefits, but how has switching via software improved with respect to speed vs switching via ASIC
Emphasis on the 6 years ago, I'm not working with OpenFlow anymore - but programable ASICs - e.g. sites.google.com/view/iu-whitebox-project/home/programmable-asics-and-p4
could you please make a tutorial about interacting with ovs without the command line?(I mean like adding and removing flow entries without using ovs-ofctl)
hi, I want to know if the buffer ID in the video has a value, but when OVS creates the bridge, n_buffer=0, which means the buffer is turned off. I would like to ask how it is turned on here.
Hello David Mahler Thanks alot for this video which clearly explains the basics. But my doubt is- Open Flow sits on top of TCP and controller listens on tcp port 6653 for switches which would like to connect. Now here how the switch to controller channel is established??? Controller listens on port 6653 but switch doesn't have any port ( L2 or L3 ). How is this network channel established then??? Is it like any other switch to host connection using the MAC address, in that case why would a controller listen to switch on the specified port??? Please David help me as soon as possible. I just cant go forward without this basic clarity. Thanks in advance
This post by Ivan Peplnjak will probably help: blog.ipspace.net/2013/12/control-plane-in-openflow-networks.html Easiest way is that the control network is 'out of band' and doesn't intermingle with the network it is controlling...the link has more detail and other links to dive into
David Mahler Thanks for a quick response. I checked the blog and went through all the related posts, but my main doubt is how a switch connects to a controller???? Switch doesn't have transport layer in it, so how a normal tcp connection is established between a switch and a controller?? Any kind of help will be appreciated, thank you
David Mahler It seems to me that the openflow switch is a multi layer switch, for the proper connection establishment between switch and the controller. Is that so???
Guduri Prathyusha OK - I THINK you may be getting hung up on the data plane versus the control plane and management plane. I'd suggest reading more about that concept. You are focusing on the data plane - how network nodes handle packets passing through them. However this packet handling behavior originates in the control plane using protocols like BGP, OSPF, MPLS and now OpenFlow. It's the control plane that handles a connection to a controller this is a separate 'plane' or construct from the data plane that I think you are focusing on. Also when you said there is no "transport layer" in a switch - how do you SSH into one - that uses TCP - when you do that you are connecting into the "management plane" I have a intro to SDN video coming up that may enlighten on this concept.
It's been a little since I set this up - but IIRC, its from the ARP request and reply which came before the TCP 3 way handshake. Those are punted to the controller which records (learns) IP, MAC and port mappings that way.
Ratna teja I guess because the SDN Controller differinciates between Protocols. You can see in this example, that even for a new HTTP session the SDN Controller would have given out a new rule. But I think you could generalize those rules. (I am still new to SDN)
Great video for understanding fundamental principle , i want to ask one thing , i am doing mini project in my college in domain of computer networks , i want to implement open flow network simulation using ns3.Can you advice me how to start or anything worth knowing related to this or which sites to refer , please help
Hi Gabriel. I know there are different Vendors with solutions. For example : h17007.www1.hp.com/us/en/networking/products/network-management/Network_Protector_SDN_Application_Series/index.aspx and www.inmon.com/products/sFlow-RT.php and www.radware.com/Solutions/SDN/ There are some in startup/stealth mode focused on this as well. I don't know what's out there for Open Source specific to integrating say an SDN controller application for IDS. Hope that's at least some good jumping off points.
Honestly, it is indeed painful for not having more videos from you on SDN. So many years have passed and I am still waiting if you come up with a new video on networking 😪😪
I m undergraduate student and new to sdn. I hav a question How to do port mirroring functionality in openflow? As you said about group table.Will it be helpful in doing port mirroring?
Try docs.openvswitch.org/en/latest/faq/configuration/ there is a section "How do I configure a port as a SPAN port, that is, enable mirroring of all traffic to that port?"
Can i create a sdn topology without using mininet (i have a reason for that) ? Perhaps there is a way to add openflow protocol to a switch or a linux machine? Can you help?
Hi David, I am working on an SDN project in which I use a physical router Linksys WRT54gl and burned an openWRT OS with openFlow 1.0 from the pantou project. I tried to connect two routers to some controller (openmul, floodlight) as following: r1->r2->c1 . I am having a problem in configuring the ports to allow traffic from hosts connected to r1 to hosts connected to r2. I'm having some issues when trying capture traffic on wireshark, so I was wondering if you could supply me some information about my problem. I was wondering if when r1 gets a tcp packet and encapsulate it with openFlow, and forward it to r2, does r2 encapsulate it as well or does it recognizes that it is an openFlow packet and just forward it as is to the controller? would appreciate any help on the matter, Thanks
Right the video is about the TCP SYN and TCP SYN ACK. This was a question about the functionality of Openflow mod packets and ARP. ARP was not shown in the video but I replicated it in my lab and just wanted to understand how Openflow handles ARP broadcasts.
Well it's not how "OpenFlow" handles broadcasts, it's what a controller decides to do with them and pushes down in the form of flow entries. For example, in OpenStack you can enable a feature so that broadcasts only go to where they are needed instead of flooding the whole l2 domain. On the switch itself this is seen as flow entries directing broadcasts only out via certain tunnels. I did this video a while ago but I assume a flow modification is pushed down here just to treat it like a normal l2 switch broadcast (everywhere out but the input port). The default on OVS is just to act like a normal switch which would mean normal broadcast (if there are no specific OpenFlow entries to override that behavior that came from a controller, etc.) Hope that helps?
I think I understand now, the default OVSSwitch doesn't need a flow entry from the controller on to handle broadcast traffic, that behavior is already built in the switch by default?
CG: David, One irksome question. Sorry! I tried to set up the environment on Windows 7 PC Using Virtual Box and the Mininet VM supplied at mininet.org. I ran the same commands as in the video and noticed one difference in the output of the dump command. See below.... Interestingly, on a seprate Ubuntu 14.10 machine with mininet packages installed directly from Ubuntu Software Centre, running the same topology produced the same "OVSController" identifier as in your video, for the dump command... Why am I getting Controller as opposed to the expected OVSController ON WIDOWS 7 PC Virtual Box - Mininet VM : ===================================== sudo mn --topo=single,4 : The usual output etc... : mininet> dump sh sudo service --status-all [ + ] apparmor [ ? ] console-setup [ + ] cron [ - ] dbus [ ? ] dns-clean [ + ] friendly-recovery [ - ] grub-common [ ? ] irqbalance [ ? ] killprocs [ ? ] kmod [ ? ] networking [ + ] ntp [ ? ] ondemand [ - ] openvswitch-controller
I tried capturing the packets with wireshark. i am using two VMs one with cbench and other with the controller. It captures all the packets but doesnt mark anything as OFP wireshark v1.8.10 in use. can anyone help
You have to use: 1. RawCap.exe -f dump.pcap to create pcap file 2. the Wireshark development release 1.13.x, available at: www.wireshark.org/download/automated Make the catpure with RawCap and then load the pcap by Wireshark. Then enable openflow protocol by Wireshark menu: "Analyze - Decode As", scroll down right listbox to select openflow, then click on Apply and you will see openflow protocol be highlighted in the capture window. If your capture stores openfow packet, then you should have TCP packets using srcport 6633.
Hello, how can I connect a mininet host to the Internet network? that is: how can i send a wget from a virtual host of the mininet network to www.google.com? I use ryu controller and I'm able to turn a mininet switch into a router. Thank you
Hi Nicholas, please check here github.com/mininet/mininet/wiki/FAQ under "Why can't I ping Google from my Mininet hosts?" Also please search the mininet and ryu mailing list archives I'm sure it's come up as a question before that hopefully has the answer you need....
This video is one of the best I've seen on the subject.
You seem to have scripted the narrative so it does not ramble, is precise and to the point which I really like.
It delivers both detail and clarity which is typically difficult to achieve simultaneously.
From your Linkedin your time as a trainer helps to explain the above.
I really hope you'll do more videos on SDN.
it's 2020 and you still have the best tutorials about this topic in the web. thank you so much David Mahler!
Thank you!
Thanks so much for that detailed feedback. That was my goal so very happy to hear this.
Just absolutely outstanding!!! Thank you for investing the time and effort into producing a great video. The content is crystal clear.
+Garfield Dunn Thanks! Thanks for ack'ing the time too ;-).
Very good quality videos. I like the compact style, no waste of time and packed w/ well constructed content. Thank you very much.
Thank you for the feedback!
Exactly the information I was looking for. Any network admin wondering what OpenFlow is about should watch this.
FinboySlick That's a nice comment, thanks!
These videos are great. Thank you for making them!
My pleasure!
Your tutorials are nice, it has balanced switching of slides and hands-on screen, you have great voice, diagrams are helping to identify the things easily.
+Partha Dutta Thanks Partha, I try to present the videos how I would learn best.
Super descriptive, detailed and understandable. Thank you!
Георги Алипиев - You're welcome! I'm glad you thought that.
Excellent video David! Cleared up a lot of my doubts.
Just one question at 3:20 When the initial SYN packet arrives at the switch, how does the switch know which controller to send it to.
As OpenFlow controllers could be implemented by different people, how does an intermediary switch identify which controller to talk to for a particular packet?
Hi David,
Thanks for these videos on open flow and intro to SDN. I am really excited about this new era of networking. Your videos are very well understood.
Azhar Inamdar Thanks!
Excellent series of videos David. I'm now on the SDN bandwagon thanks to you.
Thanks Bernard, glad to hear it!
Thank you very much for this, as well as your other videos David.
You are very welcome!
Thank you!!
Your introduction videos are great, easy to follow and understand.
EngTHUNDER Thanks for those comments, I'm glad you like them
Nice to see some OpenFlow details. Great video, thanks!
Thanks for a splendid video on OpenFlow.
You are welcome!
Excellent video! clear and precise info I was looking for as a beginner in SDN/OpenFlow.
santosh sridhar Thanks!
I cant thank you enough for this very informative video! Helped me out a lot
Thanks Eric!
Very well explained David, this was very helpful
Deepak Sharma Great!
Hi David,
Thanks for this and other great videos.
Do you have any video on using the ODL APIs to re-actively modify the routes?
I am interested in service chaining using SDN and looking for a tutorial or video that explains how an application on top of SDN controller can manipulate routes on the fly.
+Elittttt2545 Hi - no I don't have any ODL video at the moment. My next ones are OpenStack ones and perhaps containers after that....
Openflow concept well explained. It is about controlling the switches by utilizing flow tables and their entries. If no entry is matched in the switch, controller is then utilized to make new entry. Also, some wireshark example how to understand the openflow 'packets'
Thanks for the comment!
Very clearly explained, thanks !
Pekka Jaske You're welcome Pekka!
Loved the explanation ! Just to the point
Glad it helped!
thank you so much, it' help me a lot to explain my presentation well tomorrow
Great!
Sanjeev Shrivastava I think good sources of information are www.coursera.org/course/sdn (great online SDN course) the links from there: An attempt to motivate and clarify Software-Defined Networking (SDN) , and How SDN will Shape Networking - Nick McKeown Also lot's of more detail on the ONS (Open Networking Summit) TH-cam page: th-cam.com/channels/Ho2uqQqpmE_Cg5b4qiUpUg.html
this video is without any subtitles, it's little difficult to understand, may i know if u have the video with subtitiles?
my E-mail address is 1557862201@qq.com, many thanks!
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 going forward.
such worthful videos to watch,thank you so much for sharing them
Thanks!
Great video with key missing details on packet flows...
Thanks
Thanks for the feedback Rohit
Thanks David for providing information on openflow. Could you please inform on how openflow would add value to what is available right now ?
Rich and to the point! thanx! one question: would you recommend the approach to implement link aggregation on the packet level with multiple links of different characteristics (latency, badwitdh, loss) using openflow with openv-switch?
Thanks Alex! Sorry, no specific recommendation.
Pretty informative, thank you David Mahler.
You're welcome!
for the first time i got the feel of openflow.... if i will write my blog the first link about how to learn openflow will be this.... thanks again
Thanks for that sir!
Very informative tuto as an introduction I highly encourge you !
Thanks for the comment!
Great video and very helpful - I am taking the SDN class on Coursera and thought this was a good video to help get a head start. One question - do you know of any other good technical videos that might give a good/quick overview of network basics (without being overly simple)?
Hello Brian,
I haven't looked at more than a few of the videos from them but the course at Stanford online looks like it might be really good.
f12.class2go.stanford.edu/networking/Fall2012
You have to register for the links to work....
Thanks for the comments!
Dave
Great explanation, thanks David
Anytime!
Hey David , great videos. Im wondering as I saw your linkedIn profile and the great amount of experience you have in networking especially on Cisco. I just started working at the IT department of a company and we are currently building the network infrastructure for two buildings that are going to be interconnected (24 story building-79 condos, 33 story-130 condos). This infrastructure should support video, voice, data, BAS, etc. We are trying to decide what vendor product should purchase, we have proposals for Alcaltel Lucent, Cisco and Avaya. What input can you give me on this? Thanks in advance.
+Diego Gallegos Hi Diego, like you said I'm working for Cisco ;-)
Thanks a lot David...appreciated very nicely explain what is openflow? how http openflow trace in wireshark.
You're welcome Amul! Thanks for commenting!
Hi... Its very simple to understand.. Thank you...
I have a small clarification...
Please clarify...
How the controller know that a particular host is connected to this specific port in the open flow switch?-- inorder to push the flow with action..
Thanks in advance...
Hi Andrew - well the first packet from a host is sent to the controller in a packet-in message from the ingress switch, so it is then 'aware' of the host
David Mahler Thank you...
Okay... then how controller will identify the outgoing port (where the destination host is connected)?
Andrew Niteesh
Ah - up to the implementation of the different controllers and how they are programmed. But for example they can do flooding unknown unicast destination and learning the same way a traditional switch does (learn from source MAC/Port of a frame) or say if there is an orchestration platform involved that already knows where VMs are (because it put them there) stuff can be pre-populated....
Hope that helps....
Very nicely explained thanks David
Thanks Ahmed and You're welcome!
Thanks for these videos. But can u please explain how to understand the packet flow path followed like h1->S1->S2->h2 in a tree topology without s3 used up to send packets. How to understand the dump-flows result if using controller.java to set switch flows.
Hey David, great video.
Hey Annony thanks!
Well Explained. Thanks David
Muhammed Roshan You're welcome!
I know this was 6 years ago, but something doesn't make sense. Back in the early days of networking, we had bridges which performed frame switching via software. This was a bit slow so frame switching was performed via the ASIC (ASIC - application-specific intergraded circuit). This allows frames to be processed at wire speed. Now we're back to a software implementation of switching. Don't get me wrong I fully understand the benefits, but how has switching via software improved with respect to speed vs switching via ASIC
Emphasis on the 6 years ago, I'm not working with OpenFlow anymore - but programable ASICs - e.g. sites.google.com/view/iu-whitebox-project/home/programmable-asics-and-p4
Thanks for the Amazing Video.
Glad you liked it!
Just what I needed!!
+Leonard Nonde Great!
Very useful video for the beginners... thank you.
You're welcome!
could you please make a tutorial about interacting with ovs without the command line?(I mean like adding and removing flow entries without using ovs-ofctl)
how did you created these figures ? and on which software you designed this presentations ?
Outstanding video, thanks a lot!
You're quite welcome!
Really nice video... Very helpful for starters...
Thanks Adnan!
How can I capture traffic on wireshark, if I have done native installation of mininet?
press the button capture (should help :))
Thanks a lot Clécio!
This was extremely helpful!
Great, thanks for the comment Curtis!
This is wonderful. I thank you very much this explanation.
🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
You're most welcome
What fields does the open flow table have ? only inport and out port or anything else ?
Thanks again davis.....,
Reza Mashayekhi Thanks for the comment!
thanks. just what i was looking for.
Nice and informative video. Thanks!!!
Rinku Shah You're weolcome!
so what message does the controller actually send to the switch??
whether it is a packet out message or flow modification message??
Great video, very helpful! please, how to create diagrams like in the video ? thanks
Thanks! Visio.
hi, I want to know if the buffer ID in the video has a value, but when OVS creates the bridge, n_buffer=0, which means the buffer is turned off. I would like to ask how it is turned on here.
Hello David Mahler
Thanks alot for this video which clearly explains the basics. But my doubt is- Open Flow sits on top of TCP and controller listens on tcp port 6653 for switches which would like to connect. Now here how the switch to controller channel is established??? Controller listens on port 6653 but switch doesn't have any port ( L2 or L3 ). How is this network channel established then??? Is it like any other switch to host connection using the MAC address, in that case why would a controller listen to switch on the specified port??? Please David help me as soon as possible. I just cant go forward without this basic clarity. Thanks in advance
This post by Ivan Peplnjak will probably help: blog.ipspace.net/2013/12/control-plane-in-openflow-networks.html
Easiest way is that the control network is 'out of band' and doesn't intermingle with the network it is controlling...the link has more detail and other links to dive into
David Mahler
Thanks for a quick response. I checked the blog and went through all the related posts, but my main doubt is how a switch connects to a controller???? Switch doesn't have transport layer in it, so how a normal tcp connection is established between a switch and a controller?? Any kind of help will be appreciated, thank you
David Mahler It seems to me that the openflow switch is a multi layer switch, for the proper connection establishment between switch and the controller. Is that so???
Guduri Prathyusha OK - I THINK you may be getting hung up on the data plane versus the control plane and management plane. I'd suggest reading more about that concept. You are focusing on the data plane - how network nodes handle packets passing through them. However this packet handling behavior originates in the control plane using protocols like BGP, OSPF, MPLS and now OpenFlow. It's the control plane that handles a connection to a controller this is a separate 'plane' or construct from the data plane that I think you are focusing on. Also when you said there is no "transport layer" in a switch - how do you SSH into one - that uses TCP - when you do that you are connecting into the "management plane" I have a intro to SDN video coming up that may enlighten on this concept.
th-cam.com/video/-OGvr0bjEkU/w-d-xo.html. U will have better understanding urself at 1:00:25 I think.
Great videos, big thanks
you're welcome Alexis!
I wonder how controller know that h4 is connected to switcH ON PORT 4, since that are no packet out of h4 yet in the first place?
I also have the same question from David Mahler
It's been a little since I set this up - but IIRC, its from the ARP request and reply which came before the TCP 3 way handshake. Those are punted to the controller which records (learns) IP, MAC and port mappings that way.
Why didn't the switch had an entry if there was an ARP packet sent out?
Ratna teja I guess because the SDN Controller differinciates between Protocols. You can see in this example, that even for a new HTTP session the SDN Controller would have given out a new rule.
But I think you could generalize those rules. (I am still new to SDN)
Great video for understanding fundamental principle , i want to ask one thing , i am doing mini project in my college in domain of computer networks , i want to implement open flow network simulation using ns3.Can you advice me how to start or anything worth knowing related to this or which sites to refer , please help
Hi Pavan - sorry I don't have any information about that, although looking a bit - let me know what you come up with.
Really great tutorial. Thank you very much!!!
You're welcome Florian!
Really clear. Thanks.
You're welcome!
Thank you very much! Really great video!
you're welcome!
Hi David, I'd like to know if there's a framework to make a conection between the SDN and an IDS (Snort)?
Hi Gabriel. I know there are different Vendors with solutions. For example : h17007.www1.hp.com/us/en/networking/products/network-management/Network_Protector_SDN_Application_Series/index.aspx and www.inmon.com/products/sFlow-RT.php and www.radware.com/Solutions/SDN/ There are some in startup/stealth mode focused on this as well. I don't know what's out there for Open Source specific to integrating say an SDN controller application for IDS. Hope that's at least some good jumping off points.
Hey, maybe is stupid question but, Can you capture mininet traffic from wireshark outside the VM?
I think you could set up a SPAN port in open vswitch to mirror traffic to a port the host can see....
Best of Best lecture .thank you sir.....
sir, my FLOW modification packet does not show out port number .it is showing 0.what is the problem
hi ....can you tell me how do u capture OFP in wireshark???? in my wireshark it does not showing OFP packets?
Excellent video!! Thanks!!
You're welcome!
Thanks Mauro
Very excellent video. Thank you
+Sugan Shakya You're welcome! Thanks for the comment!
you come where the week that is to come
Thank you so much this is resourceful
Thanks!
Do you have a playlist where I can get all the videos of OVS and OpenFlow?
+Pritesh Chandaliya Not at the moment - but I only have 13 videos so far :-)
you draw very well
Honestly, it is indeed painful for not having more videos from you on SDN. So many years have passed and I am still waiting if you come up with a new video on networking 😪😪
Thanks a lot! I am thinking of starting them up again!
Is it possible to modify the timeout and the priority?? If it's yes how to do it??
Very good explanation, thank you.
worzelhund Anytime worzelhund!
David Mahler would you mind doing some segment on NFV?
worzelhund I do have that on my list of topics I'd like to cover, but honestly its behind a few others - so might not be anytime soon.
I m undergraduate student and new to sdn.
I hav a question
How to do port mirroring functionality in openflow? As you said about group table.Will it be helpful in doing port mirroring?
Try docs.openvswitch.org/en/latest/faq/configuration/ there is a section "How do I configure a port as a SPAN port, that is, enable mirroring of all traffic to that port?"
Thanks David
yw!
Excellent vid!
really excellent. Thanks a lot.
Can i create a sdn topology without using mininet (i have a reason for that) ? Perhaps there is a way to add openflow protocol to a switch or a linux machine? Can you help?
excellent video !
dmn1n Thanks!
Hello how can I use bitmask to match only the appropriate bits on eth_src?
Hi David,
I am working on an SDN project in which I use a physical router Linksys WRT54gl and burned an openWRT OS with openFlow 1.0 from the pantou project. I tried to connect two routers to some controller (openmul, floodlight) as following: r1->r2->c1 .
I am having a problem in configuring the ports to allow traffic from hosts connected to r1 to hosts connected to r2. I'm having some issues when trying capture traffic on wireshark, so I was wondering if you could supply me some information about my problem. I was wondering if when r1 gets a tcp packet and encapsulate it with openFlow, and forward it to r2, does r2 encapsulate it as well or does it recognizes that it is an openFlow packet and just forward it as is to the controller?
would appreciate any help on the matter,
Thanks
Great video!
+John Connor777 Thanks!
Question - when h1 sent a ARP BROADCAST to ff:ff:ff:ff:ff:ff there was no flow_mod packet. Why is there no flow modification for ARP broadcasts?
It's been a while so I don't remember the context - maybe I just skipped ARP process to focus on core points if I recall correctly....
Right the video is about the TCP SYN and TCP SYN ACK. This was a question about the functionality of Openflow mod packets and ARP. ARP was not shown in the video but I replicated it in my lab and just wanted to understand how Openflow handles ARP broadcasts.
Well it's not how "OpenFlow" handles broadcasts, it's what a controller decides to do with them and pushes down in the form of flow entries. For example, in OpenStack you can enable a feature so that broadcasts only go to where they are needed instead of flooding the whole l2 domain. On the switch itself this is seen as flow entries directing broadcasts only out via certain tunnels. I did this video a while ago but I assume a flow modification is pushed down here just to treat it like a normal l2 switch broadcast (everywhere out but the input port). The default on OVS is just to act like a normal switch which would mean normal broadcast (if there are no specific OpenFlow entries to override that behavior that came from a controller, etc.) Hope that helps?
I think I understand now, the default OVSSwitch doesn't need a flow entry from the controller on to handle broadcast traffic, that behavior is already built in the switch by default?
I've tried this but there were no OpenFlow packets being captured why ??
Same
Very good... thanks for video!!!
Great tutorial for a beginner like me.
Thanks Chetan!
Very informative.
+Bharathi Athinarayanan Thanks again!
CG: David, One irksome question. Sorry!
I tried to set up the environment on Windows 7 PC Using Virtual Box and the Mininet VM
supplied at mininet.org. I ran the same commands as in the video and noticed one difference in the output
of the dump command. See below....
Interestingly, on a seprate Ubuntu 14.10 machine with mininet packages installed directly from Ubuntu Software
Centre, running the same topology produced the same "OVSController" identifier as in your video, for the dump
command...
Why am I getting Controller as opposed to the expected OVSController
ON WIDOWS 7 PC Virtual Box - Mininet VM :
=====================================
sudo mn --topo=single,4
:
The usual output etc...
:
mininet> dump
sh sudo service --status-all
[ + ] apparmor
[ ? ] console-setup
[ + ] cron
[ - ] dbus
[ ? ] dns-clean
[ + ] friendly-recovery
[ - ] grub-common
[ ? ] irqbalance
[ ? ] killprocs
[ ? ] kmod
[ ? ] networking
[ + ] ntp
[ ? ] ondemand
[ - ] openvswitch-controller
Excellent.
Thanks Beto
Thanks for your share!
bing zhang You're welcome!
I tried capturing the packets with wireshark.
i am using two VMs one with cbench and other with the controller.
It captures all the packets but doesnt mark anything as OFP
wireshark v1.8.10 in use.
can anyone help
You have to use:
1. RawCap.exe -f dump.pcap to create pcap file
2. the Wireshark development release 1.13.x, available
at: www.wireshark.org/download/automated
Make the catpure with RawCap and then load the pcap by Wireshark.
Then enable openflow protocol by Wireshark menu: "Analyze - Decode As", scroll down right listbox to select openflow, then click on Apply and you will see openflow protocol be highlighted in the capture window. If your capture stores openfow packet, then you should have TCP packets using srcport 6633.
gregormax10 dstPort 6633
gregormax10
Thanks Gregor!
Hello, how can I connect a mininet host to the Internet network? that is: how can i send a wget from a virtual host of the mininet network to www.google.com?
I use ryu controller and I'm able to turn a mininet switch into a router.
Thank you
Hi Nicholas, please check here github.com/mininet/mininet/wiki/FAQ under "Why can't I ping Google from my Mininet hosts?" Also please search the mininet and ryu mailing list archives I'm sure it's come up as a question before that hopefully has the answer you need....
Great video, Thanx...
You're welcome Aravind! Thanks!