SDN MTCP Experimental Finishing

Source: Internet
Author: User

The system must be installed and configured on 14 machines. Careful operation, can not delete the original system, can only use free space to install the system.

Choose the Debian 8.2 system, first because the CentOS installation failure on the machine, may be related to LVM, and secondly because the Ubuntu kernel version is too new, so choose this.

Downstairs room can only pass Tsinghua source, so to use Mirrors.tuna.tsinghua.edu.cn,ip is 59.66.131.249.

One, the installation can not be networked after completion, to the following configuration:

1. Add in/etc/resolv.conf:

NameServer 59.66.131.249

2. Add in/etc/hosts:

59.66.131.249 mirrors.tuna.tsinghua.edu.cn

This step is necessary, otherwise it will not pass

3. Write in/etc/network/interfaces:

Auto Eth0

Address 11.11.0.xxx

Netmask 255.255.0.0

Broadcast 11.11.255.255

Gateway 11.11.2.1 (?) may be 11.11.0.1,node102 How to configure the gateway is not through, why)

4. Edit/etc/apt/sourcelist:

      

5. It is also possible to execute commands

Route add default GW 11.11.2.1

Do not know why node102 have problems. Can ping, also can ssh login, is the update source did not succeed.

6, the Debian SSH connection must install the SSH service, the default is not installed, the command format does not have the other Linux:

Apt-get Install Openssh-server (direct installation OpenSSH tip without this bag, I'm really drunk.)

Second, allocation mtcp with dpdk2.1 need to do:

Debian does not install the Linux kernel header files by default and must be installed:

Apt-get install linux-headers-' uname-r '

Compile still error, unexpectedly hint no sudo~~ (debian default does not install sudo, seemingly memory is not so):

Apt-get Install sudo

The final compilation MTCP/SRC still error:

Cpu.c:8:18:fatal error:numa.h:no such file or directory

#include <numa.h>
^
Compilation terminated.
Makefile:76:recipe for Target ' CPU.O ' failed
Make: * * * [CPU.O] Error 1

    That is because the Libnuma development package is not installed, so:

Apt-get Install Libnum-dev

So mtcp compile no more error.

No, there is still a problem, run the example epserver when the error:

Cause:cannot init mbuf Pool

SDN MTCP Experimental Finishing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.