Reprinted from :http://blog.csdn.net/freezgw1985/article/details/16873677

I think it's very suitable for SDN An entry-level conceptual understanding of , For the time being copy once , After further research , Then slowly add your own things .

1. What is the SDN

1) Why a new network architecture is needed , such as SDN?

In the traditional architecture , Switches and routers have to be operating 6000 A distributed protocol is used to implement the intelligence of the whole network . That means , Even if only one network element adds a new protocol , It also requires all other network elements to make corresponding structural changes . in fact , It often takes years to add a new protocol to the network , To finally complete the process from standardization to actual deployment .

SDN Make the network programmable , This makes the network more flexible in meeting the needs of users .

2)SDN What's the architecture of ?

SDN Separate the control function from the network switching equipment , Move it into a logically independent control environment ------ In network control system . The system can run on a common server , Any user can , Direct control function programming . Control functions are no longer limited to routers . The control system provides a set of API, The user can go through API Monitor the control system 、 management 、 maintain .

Supplement the basic concepts :

(1) Control plane : It's the element in the data network that makes forwarding decisions , Such as routing protocol , The routing strategy and the software and hardware resources for running these protocols on the network equipment .

The decision includes forwarding to that path , Whether to enable multiple paths to forward the same data stream, etc .

(2) The data plane is part of the forwarding decision for the specified control plane , Including data encapsulation and de encapsulation technology , Tell and forward chip of network protocol, etc .

2. SDN The benefits of

1) SDN Speed up the introduction of new business . Network operators can deploy related functions through controllable software , Instead of waiting for a device provider to add a solution to a proprietary device as before ;

2)SDN It reduces the operation cost of the network . Eliminates application and network specific details ---- such as , Port and IP relation , No need to spend time and money to configure network devices ;

3)SDN Help with network virtualization . For a long time, manual configuration through the command line interface , It's been blocking the Internet from moving towards virtualization .

4) SDN Let the Internet and all IT The system is more business oriented . Add software modules to add SDN function .

5) Simplify network deployment .

3. openflow stay SDN What's the role of ?

openflow yes SDN One of the three key elements of .

SDN The first key element of this is the separation of forwarding and control , This makes it easier for network switches to forward , Efficient ; meanwhile , Control becomes a relatively centralized logic function in network operating system .

The second key is openflow agreement , It sends forwarding to the switch , The switch forwards the message accordingly . This is totally different from the traditional network . In the traditional network , Switches and routers need to decide the forwarding path of messages by themselves , The cost of taking photos increases , Performance degradation .

The third key element is consistency , System wide network operating system programmable interface , It enables networks to be truly programmable or software defined networks .

openflow Agreements are not necessary , There are other ways , Just transfer the flow meter information to the switch .

4. Network devices work in stream based mode

In order to ensure the efficiency of forwarding data , Most network devices are based on stream forwarding . With brand new FTP For example :

(1) FTP When the first data table of the service arrives at the switch, the routing protocol or layer 2 routing protocol calculates the out port of the packet , And store the results in the TCAM( Ternary content addressable memory , That is to say, it records where you can go from there ).

(2) When the data plane of the switch receives a packet , It sends the address information of the packet ( That is to say “ Where are from ” Information ) And TCAM comparison , If you can find all the table entries , According to the query results ( That is to say “ Where are you going? ” Information ) Forward .

Be careful : In the whole process , The switch control plane only needs to calculate the routing of the first packet of each flow ( What the switch control plane does ), And write the results to TCAM, Subsequent decisions are made by looking up TCAM. The advantage is that the forwarding efficiency is greatly improved .

5. SDN Controller Working mode of

SDN It's based on flow Work ,SDN Controller The main work is to set up and manage the maintenance switch flow table. So what's the difference from traditional work ?SDN There are two working modes :

(1) Active mode :

SDN Controller take Flow table The information is sent to the switch where the data plane is located at one time , If the packet received by the data plane can't find the corresponding Flow table Just throw away . Of course SDN Controller Update the data plane actively flow table Content .

The advantage of this mode is that the data plane has almost no waiting time for the controller to process packets , Greatly reduce the forwarding delay . The disadvantage is that the data plane Flow table There is a high demand for the capacity of .

(2) Passive mode :

When a new packet is received in the data plane , The control plane will be related to flowtable The information is distributed .

SDN More articles on basic understanding

  1. C# Trust zero basic understanding

    C# Trust zero basic understanding ( turn ) 1,  Why use delegation   2. What is a delegate   3. Delegate how to use Why use delegation ? Trust is c# A very important concept in , Using delegates enables programmers to encapsulate method references in delegate objects . Then the commission can be ...

  2. Sdn - Water test for basic questions

    ## sdn - The preliminary analysis is based on OpenFlow Of SDN Network control function Subject requirements : 1. Distribution flow table item implementation h1 and h2,h2 and h3 No interworking .h1 and h3 Can communicate with each other . 2. Combined with captured SDN Related agreements ...

  3. machine learning :SVM( Basic understanding )

    One . Basic understanding 1) brief introduction SVM(Support Vector Machine): Support vector machines , It can solve the problem of classification , It can also solve the problem of regression : SVM The algorithm can be divided into :Hard Margin SVM.Soft Ma ...

  4. Js function function Basic understanding

    Text : We know , stay js in , A function is actually an object , Every function is Function Instance of type , And they all have the same properties and methods as other reference types . therefore , A function name is actually a pointer to a function object , Not bound to a function . In two common ways ...

  5. 2017-2-17,c# Basics , Input and output , Defining variables , Variable assignment ,int.Parse The basic understanding of , Beginners in this book can also understand ( To be continued )

    Computers are rigid and fixed , People are active and open , Beginners c# The first day I felt like : Use people's active and open thinking to communicate with diemeng's computer , Find out your temper , It is conducive to in-depth cooperation between the two sides , And that's the lesson tonight , careful , carefully , bold c# Basics 1.Hell ...

  6. ansible Basics - Understanding

    1. Introduce Let's talk about today's deployment tools ,ansible It's a household name . ansible It's open source software , For software supply . Configuration Management . Application deployment .ansible Can pass SSH.remote PowerShell. other ...

  7. SVM( Support vector machine ) Introduction and basic understanding

    SVM( Support vector machine ) It is mainly used for classification problems , The main application scenarios are character recognition . face recognition . Pedestrian detection . Text categorization, etc . Original address :https://zhuanlan.zhihu.com/p/21932911?refer=b ...

  8. Data plane programmability and SDN Relationship understanding , And the understanding of data plane programmability

    Data plane programmability and SDN Relationship narrow sense In a broad sense Data plane programmable understanding narrow sense In a broad sense

  9. Deep Learning Basics -- understand LSTM/RNN Medium Attention Mechanism

    Reading guide At present, encoder is used - decoder (Encode-Decode) Structural models are very popular , Because it has achieved better results than other traditional modeling methods in many fields . The model of this structure usually encodes the input sequence into a fixed length vector representation , Yes ...

Random recommendation

  1. Spring Based on annotations ehCache Cache consolidation

    The use of annotations refers to :http://blog.csdn.net/wjacketcn/article/details/50945887 ( Invasion and deletion ) ehCache Is pure java Implementation of the cache component ,spring from 3.1 ...

  2. adb Error resolution

    1.adb What is it? ?ADB Full name Android Debug Bridge, yes android sdk A tool in the library , With this tool, you can directly operate and manage android Simulator or real andriod equipment . 2. Debugging Android ...

  3. servlet3.0,web.xml Of metadata-complete The role of

    metadata-complete yes servlet3.0 New attributes in the specification , This property accepts two property values ,true or false. When the value of this property is true when , The web The app will not load Annotation Configured web Group ...

  4. HttpClient Several uses of request sending :

    /// <summary> /// HttpClient Realization Post request /// </summary> static async void dooPost() { string ...

  5. A new one H5 page ( Specifically, it should be said that the percentage page )

    Main code <div class="top" id="headTab"> <div id="photo"><a ...

  6. angularJS How to write controller in

    angularJS The controller in is a function , To add additional functionality to the view scope , We use it to set the initial state of the scope object , And add custom behavior When we create a new controller on the page ,angularJS A new ...

  7. Massive data processing algorithms —Bloom Filter

    Massive data processing algorithms —Bloom Filter 1. Bloom-Filter Introduction to the algorithm Bloom-Filter, That's the bloom filter ,1970 Year by year Bloom It is proposed that . It can be used to retrieve whether an element is in a collection . Bl ...

  8. Go Reflection of language basis

    Go Reflection of language basis This paper introduces Go The meaning and basic use of language reflection . Internal mechanism of variables Go Variables in language are divided into two parts : Type information : Predefined meta information . Value information : It can be changed dynamically during the operation of the program . Reflection introduction Reflection means ...

  9. vue Arrangement

    install vue ui axios import axios from 'axios' // let curWwwPath = window.document.location.href // let p ...

  10. Android Three ways to record audio

    For recording audio ,Android The system comes with a small application , But it may not be very flexible to use . So there are two other kinds of . Let's talk about these three recording methods ; 1. adopt Intent Call the recorder function of the system , And then recording ...