Use SLB

Last updated:2020-06-18 11:46:21

EPC uses SLB to obtain source IP addresses.

Centos

Step 1: Check the system kernel version

The following example uses the kernel version of 3.10.0-957.1.3.el7.x86_64.

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

Step 2: Download the correct kernel RPM package

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

If the RPM package is not found, you can download it from the official website of Centos at 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 the dependent environment

# 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 the 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 

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

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

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈