Method for an EPC instance to obtain the source IP address

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


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:

# 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
# ./
# rpm -ivh *.rpm
# sh /usr/local/bin/
# lsmod |grep kgwttm

Did you find the above information helpful?

Mostly Unhelpful
A little helpful
Very helpful

What might be the problems?

Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions


Please give us your feedback.


Thank you for your feedback.