All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Method for an EPC instance to obtain the source IP address

Last updated:2021-05-26 16:59:41

CentOS

Step 1. View the system kernel version.

In the following example, the system kernel version is 3.10.0-957.1.3.el7.x86_64:

# uname -r #
# 3.10.0-957.1.3.el7.x86_64

Step 2. Download the RPM package based on the kernel version.

Download the CentOS RPM package, and find the RPM package of the corresponding kernel version.

If you fail to find the package, obtain it from the CentOS website: https://wiki.centos.org/HowTos/I_need_the_Kernel_Source

# rpm -ivh kernel-devel-3.10.0-327.el7.x86_64.rpm

Step 3. Install dependencies.

# sudo yum install rpm-build redhat-rpm-config asciidoc hmaccalc perl-ExtUtils-Embed pesign xmlto
$ sudo yum install audit-libs-devel binutils-devel elfutils-devel elfutils-libelf-devel gcc
$ sudo yum install ncurses-devel newt-devel numactl-devel pciutils-devel python-devel zlib-devel

Step 4. Compile and install the TTM module.

Download TTM source code

# tar -xvf kgwttm.tar.bz2
# cd kgwttm
# ./build.sh
# rpm -ivh *.rpm
# sh /usr/local/bin/kgwttm-insmod.sh
# lsmod |grep kgwttm
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback