Traditional Culture Encyclopedia - Traditional virtues - The difference between SDN switch and ordinary switch

The difference between SDN switch and ordinary switch

Difference 1:

From the functional point of view:

SDN switches basically have all the functions of ordinary switches. The special function of SDN switch is to support OpenFlow protocol (some only support OpenFlow 1.0, and some strongly support 1.0 and 1.3).

Difference 2:

In terms of performance:

The SDN switch changes the required port to one that supports OpenFlow, and enters the IP address of the controller. Then you turn on the controller (I use the floodlight) and you can find this SDN switch (the ports only show those ports that you set that support OpenFlow).

Difference 3:

In terms of difficulty:

You enter the flow table on the control product and send the rules to the SDN switch. Then, packets passing through the SDN switch will be forwarded according to these flow table rules.

Traditional switches (Layer 3 or Layer 2) decide how to forward packets after receiving them. And ask the controller how to handle this data packet.

I feel that the efficiency of SDN switch is not as high as usual.

Extended data:

Configuration and application of SDN switch

Analysis of configuration and control technology of 1.SDN switch

SDN adopts the idea of centralized control, which makes SDN controller have a global perspective, which can change the forwarding behavior of SDN switch from the perspective of global optimization and improve network performance. Therefore, the configuration and control technology of SDN switch is of great significance for network traffic load balancing in data center.

Analysis of control technology of 1 and SDN switch

Openflow is the most widely used SDN switch specification. OpenFlow protocol supports three message types, namely controller to switch, asynchronous and symmetric.

Each message type has multiple sub-message types. The message from the controller to the switch is a message initiated by the controller, which is used to manage and obtain the state of the switch; Asynchronous message is a message initiated by switch, which is used to update the controller with switch state changes and network events. Symmetric messages can be initiated by controllers and switches.

2. Technical analysis of 2.SDN switch configuration.

OF-Config is the most widely used switch configuration protocol in SDN networks. OF-Config consists of configuration &; The management working group is responsible for maintenance, and10.6 released vl.0 version 20 12 65438.

The main goal of of OF-Config is to realize basic function configuration on network devices supporting OpenFlow. In addition, OF-Config has also formulated the operation and maintenance capabilities required in various scenarios and the requirements for switch management protocols according to its own needs. The following will analyze the configuration capability of the OF-Config protocol from the above aspects.

The basic functions of configuring OF-Config on network devices supporting OpenFlow include: configuring the IP address of one or more controllers; Configure resources such as queues and ports of equipment; Support remote modification of device port status.

In addition, in terms of operation and maintenance, it mainly includes the following four points: supporting configuration operations from multiple configuration points; Support a configuration point to configure and manage multiple switches; Support multiple controllers to control the same logical switch; Supports the configuration of ports and queues that have been assigned to logical switches.

In terms of management protocol, OF-Config has made more detailed provisions, such as the protocol must be secure, can guarantee integrity and privacy, and provide two-way authentication; The protocol needs to support the connection initiated by switches or configuration points and support the configuration of some switches; The protocol must have good scalability and be able to provide protocol capability reports.

3. The relationship between configuration technology and control technology of 3.SDN switch.

The relationship between OF-Config and OpenFlow is OF-Config protocol. As a companion protocol OF OpenFlow protocol, it solves the management and configuration standard of switch of which is not stipulated in OpenFlow protocol.

In OpenFlow protocol, the controller sends a flow table to the OF switches to control the forwarding behavior OF data streams, but it does not specify how to manage and configure these of switches, and OF-Config is put forward to solve this problem.

The function of of OF-Config is to provide an open interface for remote management and configuration of switches. It will not affect the flow table content and data forwarding behavior, and has low requirements for real-time.

Specifically, matters such as establishing flow table and determining data flow direction will be stipulated by OpenFlow specification, while operations such as how to configure controller IP address under OpenFlow switch and how to configure queue on switch port will be completed by OF-Config protocol.

Second, the application and configuration of SDN switch

SDN switch adopts virtual network equipment technology, which can not only extend the data link layer, but also realize a safe, flexible and adaptive cloud computing infrastructure network. So how to install the configuration of SDN switch?

Install SDN switch

1. In order to enable the SDN switch to access the external network remotely, the installation location of the SDN switch should be considered comprehensively when using the SDN switch. When installing an SDN switch, you should not only configure the IP address, but also provide an external access port, so as to install the SDN switch.

2. Configuration of 2.SDN switch

After installing the SDN switch in the system, when configuring the SDN switch, you need to restart the system, then select "SDN Switch Management" in "Start/Program" and make it run, and enter the location of the SDN switch according to the system requirements.

And select Localhost, and finally click the link, the system will enter the configuration interface at the command line, and the SDN switch can be configured according to the prompt.

3. Configuration of IP address of virtual network card

When using SDN switch to realize remote network access, it is necessary to install virtual network card software for each machine and equipment that needs to be accessed. After the installation, restart the system and enter the network configuration window for network configuration.

Step 4 establish contact

If the communication configuration is completed in the system, the "EDOAS" icon will pop up in the "Connection Management" of the system. Double-click this icon to establish the connection between the current system and SDN switch, and display the connection status between the current system and SDN switch in the right window.

5. Realize the access of remote machines to internal network resources.

To access internal resources, a remote machine must first establish a connection with the switch, and at the same time complete the connection between the service provider machine and the SDN switch, and then enter the address to be accessed in the IE address of the remote machine, so that the external network machine can access the internal network.

Computer network is mainly composed of special equipment and communication media, which can be composed of special equipment and multiple computers, or special equipment connected to each other through a single network.